Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update from master #1

Merged
merged 152 commits into from Mar 6, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
152 commits
Select commit Hold shift + click to select a range
a79f26d
Create gh-pages branch via GitHub
josdejong Apr 16, 2013
15e6e3e
Initial web page
josdejong Apr 16, 2013
f2d19b9
CNAME file added
josdejong Apr 16, 2013
e97d7d2
Keywords and title updated
josdejong Apr 16, 2013
757290e
Logo created
josdejong Apr 16, 2013
4314526
Logo updated
josdejong Apr 16, 2013
807fe3b
Updated home page
josdejong May 3, 2013
1e492ac
Fixed code examples on the home page
josdejong May 3, 2013
49a00ce
Added docs and examples
josdejong Jun 7, 2013
db7cf5f
Created gallery
josdejong Jun 7, 2013
2914715
Index page updated
josdejong Jun 7, 2013
a8356eb
Replaced logo
josdejong Jun 7, 2013
a16e8e7
Minor style improvements
josdejong Jun 10, 2013
8af6c08
Added another screenshot on the dot language playground
josdejong Jun 11, 2013
af250be
Styling of the main menu updated
josdejong Jun 18, 2013
81c0c43
Released version 0.1.0
josdejong Jun 20, 2013
65e763c
Examples upated
josdejong Jun 20, 2013
fd921aa
Examples updated
josdejong Aug 13, 2013
c0b2ffe
Added an other example and some minor style improvements
josdejong Sep 16, 2013
6300445
Updated to v0.2.0
josdejong Sep 20, 2013
563a21b
Fixed css style of subtitle
josdejong Sep 20, 2013
63f0622
Fixed broken links to moment.js
josdejong Oct 21, 2013
748a5ba
Switched to 2-space indentation
josdejong Jan 3, 2014
1f6064b
Released version 0.3.0
josdejong Jan 14, 2014
c81ab91
removed this.selection in favor or this.selectionObj. This allows kee…
AlexDM0 Jan 30, 2014
181516e
added edge selection and removed this.selection from the graph
AlexDM0 Jan 30, 2014
aee5908
Released version 0.4.0
josdejong Jan 31, 2014
4e71b1a
Updated version number to 0.5.0-SNAPSHOT
josdejong Jan 31, 2014
45c54fd
Merge branch 'alex_new' into alex_dev
AlexDM0 Jan 31, 2014
e8597bc
WIP manipulate dataset for graph
AlexDM0 Feb 4, 2014
53016d5
Merge branch 'develop' into alex_dev
AlexDM0 Feb 4, 2014
544a4f3
fixed merge
AlexDM0 Feb 4, 2014
a41fb80
Merge remote-tracking branch 'origin/gh-pages' into alex_dev
AlexDM0 Feb 4, 2014
dd81e4c
Merge pull request #32 from AlexVangelov/master
josdejong Feb 5, 2014
12669bc
Added data manipulation functionality
AlexDM0 Feb 5, 2014
ac3ea3c
Integrated an emitter-component as Emitter mixin
josdejong Feb 6, 2014
9e68b81
Start with implementing an event bus to propagate events between the …
josdejong Feb 6, 2014
5801a0e
Implemented dragging items
josdejong Feb 7, 2014
2feb514
Implemented dragging items
josdejong Feb 7, 2014
3e5e1f1
Changed request-reflow and request-repaint into events
josdejong Feb 7, 2014
439ec1b
Extended Range with an Emitter mixin
josdejong Feb 7, 2014
568ac65
Consistently using Emitter instead of home-baked event emitter everyw…
josdejong Feb 7, 2014
ca54afe
Replaced mouse events with touch events for CustomTime
josdejong Feb 7, 2014
ef3a52a
Documented current time bar events
josdejong Feb 7, 2014
b0366f9
Replaced hom cooked event emitter with emitter-component module
josdejong Feb 7, 2014
57732ee
Removed redundant events.js
josdejong Feb 7, 2014
e45c750
Implemented options `selectable` and `editable`
josdejong Feb 7, 2014
6cd1e21
Replaced Item.getWidth with a normal property, and ItemRangeOverflow …
josdejong Feb 7, 2014
879385a
Fixed selected ItemRangeOverflow not displaying as selected
josdejong Feb 7, 2014
797a138
Timeline items can now be deleted
josdejong Feb 7, 2014
339d39e
Dragging left and right side of a range almost working
josdejong Feb 7, 2014
6f7091f
Merge remote-tracking branch 'origin/develop' into develop
josdejong Feb 7, 2014
984f2ef
Added Barnes-Hut force model. Main slowdown is in the drawing now..
Feb 8, 2014
2da8641
failed experiment to use branes Hut with repulsionfields. reverting.
Feb 8, 2014
45692d8
Modified code structure, fixed barnes Hut bugs
Feb 8, 2014
9c1e96a
hunting bug...
Feb 8, 2014
1e6bb10
alter git
Feb 8, 2014
c34d969
bughunt 4, going back commits
Feb 8, 2014
da444af
fixed BUG! barnes hut functional but slower than almende linear appro…
Feb 8, 2014
4a08269
mixin refactoring, added cluster normalization, tweaked forces, separ…
AlexDM0 Feb 10, 2014
4b367b5
added most of smooth curve system. Check example 16 for bug related t…
AlexDM0 Feb 10, 2014
b5085d9
Implemented snapping of items when dragging them
josdejong Feb 11, 2014
9939679
Renamed DataSet functions `subscribe` and `unsubscribe` to `on` and `…
josdejong Feb 11, 2014
02d9f2f
Stop event propagation after deleting an item
josdejong Feb 11, 2014
d712e32
Implemented adding items
josdejong Feb 11, 2014
fc95490
Finalized Barnes Hut force calculation, set it to default. Completed …
AlexDM0 Feb 11, 2014
15f0e10
minor tweaks
AlexDM0 Feb 11, 2014
48b9499
Added smooth curve support for center arrow and arrow.
AlexDM0 Feb 11, 2014
ba08189
Added smooth curve support to dashed lines (Only FIREFOX and CHROME!)
AlexDM0 Feb 11, 2014
0bd417b
finalized smooth edges and force calculation
AlexDM0 Feb 12, 2014
d3506a8
refactoring, altered data manipulation, added callbacks and triggers,…
AlexDM0 Feb 13, 2014
2c6928d
Tweaked physics system, added documentation for all new features (phy…
Feb 17, 2014
e3998b8
Implemented handlers onAdd, onUpdate, onMove, onRemove
josdejong Feb 18, 2014
285257e
neatly applying option editable everywhere
josdejong Feb 18, 2014
19458b7
Fixed broken alignment of text in range
josdejong Feb 18, 2014
dbd68d7
Fixed content overflow of ItemRange
josdejong Feb 18, 2014
819f130
Added validation for callback functions. Some css fixes for range
josdejong Feb 18, 2014
4dc9fa6
Added missing delete icon
josdejong Feb 18, 2014
d8444f3
Documented callback functions onAdd, onUpdate, onMove, onRemove
josdejong Feb 18, 2014
fd951be
Implemented ctrl+click and shift+click to select multiple items
josdejong Feb 18, 2014
a59b7f8
Implemented functions `setWindow` and `getWindow`
josdejong Feb 18, 2014
9d22554
finalized docs and zoom
AlexDM0 Feb 18, 2014
673f1aa
Updated history
josdejong Feb 18, 2014
81ac56c
Merge remote-tracking branch 'origin/alex_dev' into alex_dev
josdejong Feb 18, 2014
ad39a54
Fixed filename case errors
josdejong Feb 18, 2014
d48fd1e
Fixed filename case errors
josdejong Feb 18, 2014
a8a8519
Merge branch 'alex_dev' into develop
josdejong Feb 18, 2014
e11f0c2
Fixed some more merge conflicts
josdejong Feb 18, 2014
9f643b9
tweaks and minor bugfix
AlexDM0 Feb 18, 2014
3eaab04
Merge branch 'alex_dev' of https://github.com/almende/vis into alex_dev
AlexDM0 Feb 18, 2014
3b611ef
Merge branch 'alex_dev' into develop
josdejong Feb 19, 2014
89b225b
new docs, added fixed parameter to nodes
AlexDM0 Feb 19, 2014
2591b8a
added icons for new examples. minor tweaks (code styling)
AlexDM0 Feb 19, 2014
b2cfcc5
Fixed scrolling to zoom not working on IE in standards mode
josdejong Feb 19, 2014
429974e
Using new DataSet API consistently
josdejong Feb 19, 2014
9c8f5cb
Updated history
josdejong Feb 19, 2014
b4a77aa
Renamed example 8 to 08_edit_items.html
josdejong Feb 19, 2014
2c71164
Some updates in documentation
josdejong Feb 19, 2014
8a3c45e
added hierarchical layout
AlexDM0 Feb 20, 2014
c769569
Merge remote-tracking branch 'origin/alex_dev' into develop
josdejong Feb 20, 2014
b411747
Updated intro
josdejong Feb 20, 2014
d32a3df
small doc change.
AlexDM0 Feb 20, 2014
014a2d3
Updated history
josdejong Feb 20, 2014
82736d7
Merge branch 'alex_dev' into develop
josdejong Feb 20, 2014
0358316
Updated history
josdejong Feb 20, 2014
1760dbf
Cleanup some unused code
josdejong Feb 20, 2014
0fce792
typos
AlexDM0 Feb 20, 2014
7a5fb14
Merged all css files in vis.css, restructured image locations
josdejong Feb 20, 2014
6742cce
Removed iconPath
josdejong Feb 20, 2014
ca7cf0a
Released version 0.5.0
josdejong Feb 20, 2014
88a12e4
Fixed ./dist folder being ignored (needed for bower)
josdejong Feb 20, 2014
29a1c08
Released version 0.5.1
josdejong Feb 20, 2014
fb19813
Removed download folder (is available on gh-pages branch)
josdejong Feb 20, 2014
d252683
Updated version number to 0.6.0-SNAPSHOT
josdejong Feb 20, 2014
ba0ae09
Added minified css file
josdejong Feb 21, 2014
07f3c44
Merge branch 'master' into develop
josdejong Feb 21, 2014
db77b1e
Updated example 22 a little, normalized zoom in response to issue #39
AlexDM0 Feb 24, 2014
5262fa0
Updated zoomExtent and added to methods as per #39, removed width pro…
AlexDM0 Feb 25, 2014
c0c62bf
Added directions for hierarchical view as per #25
AlexDM0 Feb 25, 2014
a94d528
Merge remote-tracking branch 'origin/develop' into develop
josdejong Feb 25, 2014
2cc11d4
bug fix, typo fix, clarified docs
AlexDM0 Feb 25, 2014
683dad0
added click and doubleclick events and extended events documentation
AlexDM0 Feb 26, 2014
b86855f
removed superfluous events
AlexDM0 Feb 26, 2014
b9406e7
svg timeline experiment
AlexDM0 Feb 27, 2014
92bf75d
svgTimeline v0.1
AlexDM0 Feb 28, 2014
ff24674
initial working version
AlexDM0 Feb 28, 2014
9335aec
svg timeline work and refactoring.
AlexDM0 Mar 3, 2014
e12406b
renamed frameResize to resize
AlexDM0 Mar 3, 2014
cdb939c
Added physics configuration, removed svgTimeline from this branch
AlexDM0 Mar 3, 2014
cde8901
Merge remote-tracking branch 'origin/develop' into alex_dev
AlexDM0 Mar 3, 2014
72e71c5
Merge remote-tracking branch 'origin/develop' into develop
josdejong Mar 4, 2014
8f472d8
removed SVGtimeline from jake
AlexDM0 Mar 4, 2014
c8622b7
Merge remote-tracking branch 'origin/develop' into develop
josdejong Mar 4, 2014
f041203
finalized for release
AlexDM0 Mar 4, 2014
345eaf2
Merge remote-tracking branch 'origin/develop' into develop
josdejong Mar 5, 2014
4162aac
Released version 0.6.0
josdejong Mar 5, 2014
92c9cb1
Removed img folder (should only exist in the gh-pages branch)
josdejong Mar 5, 2014
de33424
Updated version number to 0.7.0-SNAPSHOT
josdejong Mar 5, 2014
0b18497
bugfix graphviz examples
AlexDM0 Mar 5, 2014
173971c
removed this.pinch.mousewheelscale
AlexDM0 Mar 5, 2014
a161d7b
Merge branch 'develop' of https://github.com/almende/vis into develop
AlexDM0 Mar 5, 2014
bfa79f5
Updated physics for graphviz examples to make it more appealing. Very…
AlexDM0 Mar 5, 2014
57b0c96
added requestanimationframe
AlexDM0 Mar 5, 2014
807b06e
Removed some more files belonging in the gh-pages branch only
josdejong Mar 5, 2014
0b4a06d
fixed label position for smooth curves as per #49
AlexDM0 Mar 5, 2014
92efda6
Merge branch 'develop' of https://github.com/almende/vis into develop
AlexDM0 Mar 5, 2014
8d5a866
Updated documentation
AlexDM0 Mar 5, 2014
62ae58e
Updated documentation on className
josdejong Mar 6, 2014
df33df9
Merge remote-tracking branch 'origin/develop' into develop
josdejong Mar 6, 2014
785096c
Fixed a bug with margin.item=0 and margin.axis=0. Clarified some opti…
josdejong Mar 6, 2014
660ab7e
Checking for existence of `window` before using it
josdejong Mar 6, 2014
b6919dc
Released version 0.6.1
josdejong Mar 6, 2014
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
62 changes: 60 additions & 2 deletions HISTORY.md
Expand Up @@ -2,13 +2,71 @@ vis.js history
http://visjs.org


## 2014-03-06, version 0.6.1

### Graph

- Bugfix graphviz examples.
- Bugfix labels position for smooth curves.
- Tweaked graphviz example physics.
- Updated physics documentation to stress importance of configurePhysics.

### Timeline

- Fixed a bug with options `margin.axis` and `margin.item` being ignored when setting them to zero.
- Some clarifications in the documentation.


## 2014-03-05, version 0.6.0

### Graph

- Added Physics Configuration option. This makes tweaking the physics system to suit your needs easier.
- Click and doubleClick events.
- Initial zoom bugfix.
- Directions for Hierarchical layout.
- Refactoring and bugfixes.


## 2014-02-20, version 0.5.1

- Fixed broken bower module.


## 2014-02-20, version 0.5.0

### Timeline

- Editable Items: drag items, add new items, update items, and remove items.
- Implemented options `selectable`, `editable`.
- Added events `timechange` and `timechanged` when dragging the custom time bar.
- Multiple items can be selected using ctrl+click or shift+click.
- Implemented functions `setWindow(start, end)` and `getWindow()`.
- Fixed scroll to zoom not working on IE in standards mode.

### Graph

- Editable nodes and edges: create, update, and remove them.
- Support for smooth, curved edges (on by default).
- Performance improvements.
- Fixed scroll to zoom not working on IE in standards mode.
- Added hierarchical layout option.
- Overhauled physics system, now using Barnes-Hut simulation by default. Great performance gains.
- Modified clustering system to give better results.
- Adaptive performance system to increase visual performance (60fps target).

### DataSet

- Renamed functions `subscribe` and `unsubscribe` to `on` and `off` respectively.


## 2014-01-31, version 0.4.0

### Timeline

- Implemented functions `on` and `off` to create event listeners for events
`rangechange`, `rangechanged`, and `select`.
- Impelmented function `select` to get and set the selected items.
- Implemented function `select` to get and set the selected items.
- Items can be selected by clicking them, muti-select by holding them.
- Fixed non working `start` and `end` options.

Expand All @@ -20,7 +78,7 @@ http://visjs.org
datasets (up to 10x!).
- Support for automatic clustering in Graph to handle large (>50000) datasets
without losing performance.
- Added automatic intial zooming to Graph, to more easily view large amounts
- Added automatic initial zooming to Graph, to more easily view large amounts
of data.
- Added local declustering to Graph, freezing the simulation of nodes outside
of the cluster.
Expand Down
37 changes: 28 additions & 9 deletions Jakefile.js
Expand Up @@ -4,6 +4,7 @@
var jake = require('jake'),
browserify = require('browserify'),
wrench = require('wrench'),
CleanCSS = require('clean-css'),
fs = require('fs');

require('jake-utils');
Expand All @@ -14,6 +15,7 @@ var VIS = DIST + '/vis.js';
var VIS_CSS = DIST + '/vis.css';
var VIS_TMP = DIST + '/vis.js.tmp';
var VIS_MIN = DIST + '/vis.min.js';
var VIS_MIN_CSS = DIST + '/vis.min.css';

/**
* default task
Expand All @@ -29,6 +31,8 @@ task('default', ['build', 'minify'], function () {
desc('Build the visualization library vis.js');
task('build', {async: true}, function () {
jake.mkdirP(DIST);
jake.mkdirP(DIST + '/img');

// concatenate and stringify the css files
concat({
src: [
Expand All @@ -39,7 +43,10 @@ task('build', {async: true}, function () {
'./src/timeline/component/css/item.css',
'./src/timeline/component/css/timeaxis.css',
'./src/timeline/component/css/currenttime.css',
'./src/timeline/component/css/customtime.css'
'./src/timeline/component/css/customtime.css',

'./src/graph/css/graph-manipulation.css',
'./src/graph/css/graph-navigation.css'
],
dest: VIS_CSS,
separator: '\n'
Expand All @@ -54,8 +61,6 @@ task('build', {async: true}, function () {

'./src/shim.js',
'./src/util.js',
'./src/events.js',
'./src/EventBus.js',
'./src/DataSet.js',
'./src/DataView.js',

Expand All @@ -82,10 +87,17 @@ task('build', {async: true}, function () {
'./src/graph/Popup.js',
'./src/graph/Groups.js',
'./src/graph/Images.js',
'./src/graph/SectorsMixin.js',
'./src/graph/ClusterMixin.js',
'./src/graph/SelectionMixin.js',
'./src/graph/NavigationMixin.js',
'./src/graph/graphMixins/physics/PhysicsMixin.js',
'./src/graph/graphMixins/physics/HierarchialRepulsion.js',
'./src/graph/graphMixins/physics/BarnesHut.js',
'./src/graph/graphMixins/physics/Repulsion.js',
'./src/graph/graphMixins/HierarchicalLayoutMixin.js',
'./src/graph/graphMixins/ManipulationMixin.js',
'./src/graph/graphMixins/SectorsMixin.js',
'./src/graph/graphMixins/ClusterMixin.js',
'./src/graph/graphMixins/SelectionMixin.js',
'./src/graph/graphMixins/NavigationMixin.js',
'./src/graph/graphMixins/MixinLoader.js',
'./src/graph/Graph.js',

'./src/module/exports.js'
Expand All @@ -95,7 +107,10 @@ task('build', {async: true}, function () {
});

// copy images
wrench.copyDirSyncRecursive('./src/graph/img', DIST+ '/img', {
wrench.copyDirSyncRecursive('./src/graph/img', DIST + '/img/graph', {
forceDelete: true
});
wrench.copyDirSyncRecursive('./src/timeline/img', DIST + '/img/timeline', {
forceDelete: true
});

Expand Down Expand Up @@ -131,7 +146,7 @@ task('build', {async: true}, function () {
* minify the visualization library vis.js
*/
desc('Minify the visualization library vis.js');
task('minify', function () {
task('minify', {async: true}, function () {
// minify javascript
minify({
src: VIS,
Expand All @@ -143,6 +158,10 @@ task('minify', function () {
replacePlaceholders(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);
});

/**
Expand Down
2 changes: 1 addition & 1 deletion bower.json
@@ -1,6 +1,6 @@
{
"name": "vis",
"version": "0.4.0",
"version": "0.6.1",
"description": "A dynamic, browser-based visualization library.",
"homepage": "http://visjs.org/",
"repository": {
Expand Down
Binary file added dist/img/graph/acceptDeleteIcon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/img/graph/addNodeIcon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/img/graph/backIcon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/img/graph/connectIcon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/img/graph/cross.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/img/graph/cross2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/img/graph/deleteIcon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added dist/img/graph/editIcon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added dist/img/timeline/delete.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.