-
Notifications
You must be signed in to change notification settings - Fork 10
/
README
82 lines (55 loc) · 3.02 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
Demo available at: http://164.132.58.138:1723/
------------
(10/06/2015)
Installation on Ubuntu
1- install Tulip from pip:
(apt-get install python-pip if you need pip)
pip install tulip
pip install tulip-python
or install the current Tulip from sources
http://sourceforge.net/projects/auber/files/tulip/
Tulip dependencies
- install cmake
- install cmake-gui (cmake-qt-gui)
- install zlib (zlib1g-dev)
- install glut (freeglut3-dev)
- install glew (libglew-dev)
- install ljpeg (ibjpeg-dev)
- install png (libpng-dev)
- install freetype (libfreetype6-dev)
- install qt (libqt4-dev)
- install qmake (qt4-qmake)
- install blas (libopenblas-dev)
- install lapack (liblapack-dev & liblapacke-dev)
- install fortran (gfortran)
- install python (libpython2.7-dev)
cmake-gui (we are now preparing the compilation of Tulip), a few settings first
- place the source code where you've uncompressed the tar.gz (hereafter "tlproot/")
- place the builds where you want (tlproot/build is advised)
- place CMAKE-INSTALL-PREFIX where you want (advised tlproot/install)
- if the build fails, you may need to place CMAKE-BUILD-TYPE as Debug
go to your BUILD folder (tlproot/build/)
make && make install
Detangler's dependencies:
- install tornado (pip install tornado)
- install scipy (pip install scipy)
- install numpy (pip install numpy)
- install scikit-learn (pip install scikit-learn)
Advised, work from the demo branch (the master branch includes many unstable features)
git clone -b demo --single-branch https://github.com/renoust/Detangler.git
- edit the config file in Detangler/server, to put the location of libtulip(-python ...).so
in out example it's:
tulip_lib_path="tlproot/install/lib/"
tulip_python_path="tlproot/install/lib/python/"
execute the server in
Detangler/server/
tulip-server.sh
Currently the prototype only works well with "Chrome"
to launch the prototype, in chrome:
http://localhost:31497
------
Licensed under the X11 license sometimes reffered as MIT license.
Copyright (c) 2012---2017 Benjamin Renoust, Guy Melançon
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.