Browse Source

Merge branch 'develop' of https://github.com/almende/vis into develop

Conflicts solved:
	HISTORY.md
	dist/vis.js
css_transitions
Alex de Mulder 10 years ago
parent
commit
a161d7bb0e
51 changed files with 28 additions and 225 deletions
  1. +4
    -2
      HISTORY.md
  2. +7
    -1
      Jakefile.js
  3. +1
    -1
      bower.json
  4. +2
    -0
      dist/vis.js
  5. +1
    -0
      dist/vis.min.css
  6. +10
    -10
      dist/vis.min.js
  7. BIN
      img/external-link-icons/external-link-icon.png
  8. +0
    -40
      img/external-link-icons/license.txt
  9. BIN
      img/forkme_right_darkblue_121621.png
  10. BIN
      img/gallery/graph/01_basic_usage.png
  11. BIN
      img/gallery/graph/02_random_nodes.png
  12. BIN
      img/gallery/graph/03_images.png
  13. BIN
      img/gallery/graph/04_shapes.png
  14. BIN
      img/gallery/graph/05_social_network.png
  15. BIN
      img/gallery/graph/06_groups.png
  16. BIN
      img/gallery/graph/07_selections.png
  17. BIN
      img/gallery/graph/08_mobile_friendly.png
  18. BIN
      img/gallery/graph/09_sizing.png
  19. BIN
      img/gallery/graph/10_multiline_text.png
  20. BIN
      img/gallery/graph/11_custom_style.png
  21. BIN
      img/gallery/graph/12_scalable_images.png
  22. BIN
      img/gallery/graph/13_dashed_lines.png
  23. BIN
      img/gallery/graph/14_dot_language.png
  24. BIN
      img/gallery/graph/15_dot_language_playground.png
  25. BIN
      img/gallery/graph/15_dot_language_playground2.png
  26. BIN
      img/gallery/graph/16_dynamic_data.png
  27. BIN
      img/gallery/graph/17_network_info.png
  28. BIN
      img/gallery/graph/18_fully_random_nodes_clustering.png
  29. BIN
      img/gallery/graph/19_scale_free_graph_clustering.png
  30. BIN
      img/gallery/graph/20_navigation.png
  31. BIN
      img/gallery/graph/21_data_manipulation.png
  32. BIN
      img/gallery/graph/22_les_miserables.png
  33. BIN
      img/gallery/graph/23_hierarchical_layout.png
  34. BIN
      img/gallery/graph/24_hierarchical_layout_predefined.png
  35. BIN
      img/gallery/graph/25_physics_configuration.png
  36. BIN
      img/gallery/graph/graphviz_gallery.png
  37. BIN
      img/gallery/timeline/01_basic.png
  38. BIN
      img/gallery/timeline/02_dataset.png
  39. BIN
      img/gallery/timeline/03_much_data.png
  40. BIN
      img/gallery/timeline/04_html_data.png
  41. BIN
      img/gallery/timeline/05_groups.png
  42. +0
    -169
      img/logo/vis.svg
  43. BIN
      img/logo/vis128.png
  44. BIN
      img/logo/vis16.png
  45. BIN
      img/logo/vis256.png
  46. BIN
      img/logo/vis32.ico
  47. BIN
      img/logo/vis32.png
  48. BIN
      img/logo/vis64.png
  49. +1
    -1
      misc/how_to_publish.md
  50. +0
    -0
      package.js
  51. +2
    -1
      package.json

+ 4
- 2
HISTORY.md View File

@ -1,13 +1,14 @@
vis.js history vis.js history
http://visjs.org http://visjs.org
## 2014-03-04, version 0.6.1
## 2014-03-05, version 0.6.1
### Graph ### Graph
- Bugfix graphviz examples - Bugfix graphviz examples
## 2014-03-04, version 0.6.0
## 2014-03-05, version 0.6.0
### Graph ### Graph
@ -17,6 +18,7 @@ http://visjs.org
- Directions for Hierarchical layout. - Directions for Hierarchical layout.
- Refactoring and bugfixes. - Refactoring and bugfixes.
## 2014-02-20, version 0.5.1 ## 2014-02-20, version 0.5.1
- Fixed broken bower module. - Fixed broken bower module.

+ 7
- 1
Jakefile.js View File

@ -4,6 +4,7 @@
var jake = require('jake'), var jake = require('jake'),
browserify = require('browserify'), browserify = require('browserify'),
wrench = require('wrench'), wrench = require('wrench'),
CleanCSS = require('clean-css'),
fs = require('fs'); fs = require('fs');
require('jake-utils'); require('jake-utils');
@ -14,6 +15,7 @@ var VIS = DIST + '/vis.js';
var VIS_CSS = DIST + '/vis.css'; var VIS_CSS = DIST + '/vis.css';
var VIS_TMP = DIST + '/vis.js.tmp'; var VIS_TMP = DIST + '/vis.js.tmp';
var VIS_MIN = DIST + '/vis.min.js'; var VIS_MIN = DIST + '/vis.min.js';
var VIS_MIN_CSS = DIST + '/vis.min.css';
/** /**
* default task * default task
@ -144,7 +146,7 @@ task('build', {async: true}, function () {
* minify the visualization library vis.js * minify the visualization library vis.js
*/ */
desc('Minify the visualization library vis.js'); desc('Minify the visualization library vis.js');
task('minify', function () {
task('minify', {async: true}, function () {
// minify javascript // minify javascript
minify({ minify({
src: VIS, src: VIS,
@ -156,6 +158,10 @@ task('minify', function () {
replacePlaceholders(VIS_MIN); replacePlaceholders(VIS_MIN);
console.log('created minified ' + VIS_MIN); console.log('created minified ' + VIS_MIN);
var minified = new CleanCSS().minify(read(VIS_CSS));
write(VIS_MIN_CSS, minified);
console.log('created minified ' + VIS_MIN_CSS);
}); });
/** /**

+ 1
- 1
bower.json View File

@ -1,6 +1,6 @@
{ {
"name": "vis", "name": "vis",
"version": "0.6.0-SNAPSHOT",
"version": "0.7.0-SNAPSHOT",
"description": "A dynamic, browser-based visualization library.", "description": "A dynamic, browser-based visualization library.",
"homepage": "http://visjs.org/", "homepage": "http://visjs.org/",
"repository": { "repository": {

+ 2
- 0
dist/vis.js View File

@ -4,7 +4,9 @@
* *
* A dynamic, browser-based visualization library. * A dynamic, browser-based visualization library.
* *
* @version 0.6.0-SNAPSHOT * @version 0.6.0-SNAPSHOT
* @date 2014-03-05 * @date 2014-03-05
* *
* @license * @license

+ 1
- 0
dist/vis.min.css
File diff suppressed because it is too large
View File


+ 10
- 10
dist/vis.min.js
File diff suppressed because it is too large
View File


BIN
img/external-link-icons/external-link-icon.png View File

Before After
Width: 9  |  Height: 9  |  Size: 194 B

+ 0
- 40
img/external-link-icons/license.txt View File

@ -1,40 +0,0 @@
/**************************************\
Shapes4FREE License
http://www.shapes4free.com/ - visit us to get free photoshop shapes, read our easy-to-understand shapes tutorials and tips, and view beautiful examples of using shapes in all kinds of design
More about the license: http://www.shapes4free.com/license/
\**************************************/
This resource was created by Oksana Khristenko
This resource has been downloaded from Shapes4FREE.com and is free for personal or commercial projects. You may use it for web and print design.
No attribution or backlinks are required, but we would certainly appreciate it if you bookmarked www.shapes4free.com and shared the link to it with your friends:
www.shapes4free.com - free photoshop shapes
You may not resell or distribute this resource. Uploading it to another website
or offering them for download on another website is not allowed. If you would like to feature this resource on
your website or share them with friends, do not link directly to the resource files,
please link to the appropriate page on Shapes4FREE.com where it is possible to download the freebie.
/**************************************\
Shapes4FREE Ëèöåíçèÿ
http://www.shapes4free.com/ - áåñïëàòíûå ôèãóðû äëÿ Ôîòîøîïà, óðîêè è ïîäñêàçêè, à òàêæå êðàñèâûå ïðèìåðû èñïîëüçîâàíèÿ ôèãóð âî âñåõ âèäàõ äèçàéíà
Ëèöåíçèÿ: http://www.shapes4free.com/license-ru/
\**************************************/
Àâòîð: Îêñàíà Õðèñòåíêî
Âñå áåñïëàòíûå ðåñóðñû êîòîðûå ìîæíî ñêà÷àòü íà Shapes4FREE.com, âêëþ÷àÿ ïðîèçâîëüíûå ôèãóðû äëÿ Ôîòîøîïà
(photoshop custom shapes) áåñïëàòíû äëÿ èñïîëüçîâàíèÿ â ëè÷íûõ è êîììåð÷åñêèõ ïðîåêòàõ. Ðàçðåøåíî èñïîëüçîâàòü
áåñïëàòíûå ðåñóðñû Shapes4FREE â âåá äèçàéíå è ïå÷àòíûõ ìàòåðèàëàõ.
Ññûëêà íà ñàéò Shapes4FREE.com íå òðåáóåòñÿ íî ïðèâåòñòâóåòñÿ. Ìû áóäåì ðàäû åñëè âû ðàññêàæåòå î íàñ äðóçüÿì:
www.shapes4free.com - áåñïëàòíûå ôèãóðû äëÿ Ôîòîøîïà
Çàïðåùåíî ïðîäàâàòü èëè ðàñïðîñòðàíÿòü áåñïëàòíûå ðåñóðñû ñîçäàííûå Shapes4FREE.
Çàïðåùåíî çàãðóæàòü èõ íà äðóãèå ñàéòû è ïîçâîëÿòü ïîëüçîâàòåëÿì èõ ñêà÷èâàòü. Åñëè âû õîòèòå ðàññêàçàòü î íàøåì
áåñïëàòíîì ðåñóðñå íà ñàéòå èëè ïîäåëèòüñÿ ñ äðóçüÿìè, íå ñîçäàâàéòå ïðÿìûõ ññûëîê íà ôàéë, ñîçäàéòå ññûëêó íà
ñîîòâåòñòâóþùóþ ñòðàíèöó ñàéòà Shapes4FREE.com ãäå ìîæíî áóäåò ñêà÷àòü ýòîò ðåñóðñ.

BIN
img/forkme_right_darkblue_121621.png View File

Before After
Width: 149  |  Height: 149  |  Size: 7.6 KiB

BIN
img/gallery/graph/01_basic_usage.png View File

Before After
Width: 400  |  Height: 400  |  Size: 21 KiB

BIN
img/gallery/graph/02_random_nodes.png View File

Before After
Width: 600  |  Height: 600  |  Size: 58 KiB

BIN
img/gallery/graph/03_images.png View File

Before After
Width: 600  |  Height: 600  |  Size: 88 KiB

BIN
img/gallery/graph/04_shapes.png View File

Before After
Width: 797  |  Height: 600  |  Size: 50 KiB

BIN
img/gallery/graph/05_social_network.png View File

Before After
Width: 600  |  Height: 600  |  Size: 76 KiB

BIN
img/gallery/graph/06_groups.png View File

Before After
Width: 600  |  Height: 600  |  Size: 40 KiB

BIN
img/gallery/graph/07_selections.png View File

Before After
Width: 400  |  Height: 400  |  Size: 14 KiB

BIN
img/gallery/graph/08_mobile_friendly.png View File

Before After
Width: 605  |  Height: 551  |  Size: 45 KiB

BIN
img/gallery/graph/09_sizing.png View File

Before After
Width: 600  |  Height: 600  |  Size: 27 KiB

BIN
img/gallery/graph/10_multiline_text.png View File

Before After
Width: 600  |  Height: 600  |  Size: 40 KiB

BIN
img/gallery/graph/11_custom_style.png View File

Before After
Width: 600  |  Height: 600  |  Size: 59 KiB

BIN
img/gallery/graph/12_scalable_images.png View File

Before After
Width: 600  |  Height: 600  |  Size: 104 KiB

BIN
img/gallery/graph/13_dashed_lines.png View File

Before After
Width: 600  |  Height: 600  |  Size: 26 KiB

BIN
img/gallery/graph/14_dot_language.png View File

Before After
Width: 381  |  Height: 330  |  Size: 13 KiB

BIN
img/gallery/graph/15_dot_language_playground.png View File

Before After
Width: 429  |  Height: 384  |  Size: 31 KiB

BIN
img/gallery/graph/15_dot_language_playground2.png View File

Before After
Width: 842  |  Height: 595  |  Size: 41 KiB

BIN
img/gallery/graph/16_dynamic_data.png View File

Before After
Width: 504  |  Height: 370  |  Size: 17 KiB

BIN
img/gallery/graph/17_network_info.png View File

Before After
Width: 871  |  Height: 648  |  Size: 60 KiB

BIN
img/gallery/graph/18_fully_random_nodes_clustering.png View File

Before After
Width: 92  |  Height: 92  |  Size: 19 KiB

BIN
img/gallery/graph/19_scale_free_graph_clustering.png View File

Before After
Width: 92  |  Height: 92  |  Size: 19 KiB

BIN
img/gallery/graph/20_navigation.png View File

Before After
Width: 92  |  Height: 92  |  Size: 19 KiB

BIN
img/gallery/graph/21_data_manipulation.png View File

Before After
Width: 92  |  Height: 92  |  Size: 20 KiB

BIN
img/gallery/graph/22_les_miserables.png View File

Before After
Width: 92  |  Height: 92  |  Size: 25 KiB

BIN
img/gallery/graph/23_hierarchical_layout.png View File

Before After
Width: 92  |  Height: 92  |  Size: 20 KiB

BIN
img/gallery/graph/24_hierarchical_layout_predefined.png View File

Before After
Width: 92  |  Height: 92  |  Size: 18 KiB

BIN
img/gallery/graph/25_physics_configuration.png View File

Before After
Width: 92  |  Height: 92  |  Size: 5.9 KiB

BIN
img/gallery/graph/graphviz_gallery.png View File

Before After
Width: 1237  |  Height: 729  |  Size: 262 KiB

BIN
img/gallery/timeline/01_basic.png View File

Before After
Width: 544  |  Height: 195  |  Size: 9.0 KiB

BIN
img/gallery/timeline/02_dataset.png View File

Before After
Width: 544  |  Height: 195  |  Size: 9.0 KiB

BIN
img/gallery/timeline/03_much_data.png View File

Before After
Width: 544  |  Height: 263  |  Size: 14 KiB

BIN
img/gallery/timeline/04_html_data.png View File

Before After
Width: 544  |  Height: 248  |  Size: 16 KiB

BIN
img/gallery/timeline/05_groups.png View File

Before After
Width: 711  |  Height: 459  |  Size: 24 KiB

+ 0
- 169
img/logo/vis.svg View File

@ -1,169 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="128"
height="128"
id="svg2"
version="1.1"
inkscape:version="0.48.3.1 r9886"
sodipodi:docname="vis.svg"
inkscape:export-filename="/home/jos/projects/vis-pages/img/logo/vis256.png"
inkscape:export-xdpi="180"
inkscape:export-ydpi="180">
<defs
id="defs4">
<filter
inkscape:collect="always"
id="filter3765">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="0.098994946"
id="feGaussianBlur3767" />
</filter>
<filter
color-interpolation-filters="sRGB"
inkscape:collect="always"
id="filter3765-8">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="0.098994946"
id="feGaussianBlur3767-2" />
</filter>
<filter
color-interpolation-filters="sRGB"
inkscape:collect="always"
id="filter3765-8-3">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="0.098994946"
id="feGaussianBlur3767-2-9" />
</filter>
<filter
color-interpolation-filters="sRGB"
inkscape:collect="always"
id="filter3765-3">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="0.098994946"
id="feGaussianBlur3767-3" />
</filter>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="2.8284271"
inkscape:cx="13.788283"
inkscape:cy="60.335199"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:snap-global="true"
inkscape:window-width="1600"
inkscape:window-height="850"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:showpageshadow="false"
borderlayer="false"
showborder="true">
<inkscape:grid
type="xygrid"
id="grid2987"
empspacing="5"
visible="true"
enabled="true"
snapvisiblegridlinesonly="true" />
</sodipodi:namedview>
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-924.36217)">
<path
sodipodi:type="arc"
style="fill:#109618;fill-opacity:1;stroke:none;opacity:0.01587302"
id="path4104"
sodipodi:cx="64.25"
sodipodi:cy="64.5"
sodipodi:rx="63.75"
sodipodi:ry="64"
d="m 128,64.5 a 63.75,64 0 1 1 -127.5,0 63.75,64 0 1 1 127.5,0 z"
transform="matrix(0.93139646,0,0,0.83984375,-189.81956,958.94835)" />
<path
style="fill:#ffcf00;fill-opacity:1;stroke:#ffcf00;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
d="M 3.3795626,993.2579 C 22.563164,969.55671 64.941101,938.83212 101.8906,932.98778 c 15.01437,32.97153 15.80482,65.24066 11.89745,97.27812 -53.04371,-1.7716 -84.489701,-14.912 -110.4084874,-37.008 z"
id="path2991"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccc" />
<path
style="fill:#109618;fill-opacity:1;stroke:#109618;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
d="m 4.586161,1010.1966 c 29.519439,19.0948 61.669847,32.8593 114.396079,29.9232 6.98138,-4.9614 5.91066,-11.2031 3.61936,-17.6388 -37.656342,4.9772 -79.514689,1.6063 -118.015439,-12.2844 z"
id="path3761"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccc" />
<path
sodipodi:type="arc"
style="fill:#ff9900;fill-opacity:1;stroke:none;filter:url(#filter3765-8)"
id="path3763-6"
sodipodi:cx="66.998367"
sodipodi:cy="63.476505"
sodipodi:rx="10.429825"
sodipodi:ry="9.3691645"
d="m 77.428192,63.476505 a 10.429825,9.3691645 0 1 1 -20.85965,0 10.429825,9.3691645 0 1 1 20.85965,0 z"
transform="matrix(3.7791753,0,0,4.159068,-180.52628,715.8869)" />
<path
sodipodi:type="arc"
style="fill:#dc3912;fill-opacity:1;stroke:none;filter:url(#filter3765-8-3)"
id="path3763-6-3"
sodipodi:cx="66.998367"
sodipodi:cy="63.476505"
sodipodi:rx="10.429825"
sodipodi:ry="9.3691645"
d="m 77.428192,63.476505 a 10.429825,9.3691645 0 1 1 -20.85965,0 10.429825,9.3691645 0 1 1 20.85965,0 z"
transform="matrix(2.1560756,0,0,2.3930971,-65.92105,839.4416)" />
<path
sodipodi:type="arc"
style="fill:#ffffff;fill-opacity:1;stroke:none;filter:url(#filter3765)"
id="path3763"
sodipodi:cx="66.998367"
sodipodi:cy="63.476505"
sodipodi:rx="10.429825"
sodipodi:ry="9.3691645"
d="m 77.428192,63.476505 a 10.429825,9.3691645 0 1 1 -20.85965,0 10.429825,9.3691645 0 1 1 20.85965,0 z"
transform="matrix(1.369772,0,0,1.5215787,-11.897888,900.22297)" />
<path
sodipodi:type="arc"
style="fill:#4d4d4d;fill-opacity:1;stroke:none;filter:url(#filter3765-3)"
id="path3763-9"
sodipodi:cx="66.998367"
sodipodi:cy="63.476505"
sodipodi:rx="10.429825"
sodipodi:ry="9.3691645"
d="m 77.428192,63.476505 a 10.429825,9.3691645 0 1 1 -20.85965,0 10.429825,9.3691645 0 1 1 20.85965,0 z"
transform="matrix(0.68506744,0,0,0.76063592,38.273417,952.729)" />
</g>
</svg>

BIN
img/logo/vis128.png View File

Before After
Width: 128  |  Height: 128  |  Size: 5.5 KiB

BIN
img/logo/vis16.png View File

Before After
Width: 16  |  Height: 16  |  Size: 660 B

BIN
img/logo/vis256.png View File

Before After
Width: 256  |  Height: 256  |  Size: 13 KiB

BIN
img/logo/vis32.ico View File

Before After

BIN
img/logo/vis32.png View File

Before After
Width: 32  |  Height: 32  |  Size: 1.4 KiB

BIN
img/logo/vis64.png View File

Before After
Width: 64  |  Height: 64  |  Size: 2.9 KiB

+ 1
- 1
misc/how_to_publish.md View File

@ -28,7 +28,7 @@ This generates the vis.js library in the folder `./dist`.
- Commit the changes to the `develop` branch. - Commit the changes to the `develop` branch.
- Merge the `develop` branch into the `master` branch. - Merge the `develop` branch into the `master` branch.
- Push the brances to github
- Push the branches to github
- Create a version tag (with the new version number) and push it to github: - Create a version tag (with the new version number) and push it to github:
git tag v0.3.0 git tag v0.3.0

+ 0
- 0
package.js View File


+ 2
- 1
package.json View File

@ -1,6 +1,6 @@
{ {
"name": "vis", "name": "vis",
"version": "0.6.0-SNAPSHOT",
"version": "0.7.0-SNAPSHOT",
"description": "A dynamic, browser-based visualization library.", "description": "A dynamic, browser-based visualization library.",
"homepage": "http://visjs.org/", "homepage": "http://visjs.org/",
"repository": { "repository": {
@ -28,6 +28,7 @@
"devDependencies": { "devDependencies": {
"jake": "latest", "jake": "latest",
"jake-utils": "latest", "jake-utils": "latest",
"clean-css": "latest",
"browserify": "3.22", "browserify": "3.22",
"wrench": "latest", "wrench": "latest",
"moment": "latest", "moment": "latest",

Loading…
Cancel
Save