Alex de Mulder
714f4affb3
physics detached from nodes and network.
9 years ago
Alex de Mulder
adacb9c0f6
migrated all of the physics to the modules
9 years ago
Alex de Mulder
2edd8b82ce
removed sectors, physics is almost stand-alone. Edges need better options for physics.
9 years ago
Alex de Mulder
093cb73de5
first modularizing experiment. Made body object containing data nodes, emitter, support functions. ClusterEngine is the first module.
9 years ago
Alex de Mulder
8b5921c0e5
- Fixed manipulation bar for mobile.
9 years ago
Alex de Mulder
0521284a4f
setup for modularization, move to v4 branch
9 years ago
Alex de Mulder
2689fd3b54
added comments
9 years ago
Alex de Mulder
fd9323632f
asynchrome stabilization
9 years ago
Alex de Mulder
a9b7485b86
fantastic clustering in network woohoo, added point labels for bargraphs in graph2d
9 years ago
Alex de Mulder
805ef8d43e
- Fixed bug where a network that has frozen physics would resume redrawing after setData, setOptions etc.
- Added option to bypass default groups. If more groups are specified in the nodes than there are in the groups, loop over supplied groups instead of default.
- Added two new static smooth curves modes: curveCW and curve CCW.
- Added request redraw for certain internal processes to reduce number of draw calls.
9 years ago
Alex de Mulder
3814ff18c4
added documentation
9 years ago
Alex de Mulder
2c28c42371
- Added getConnectedNodes method.
- Added fontSizeMin, fontSizeMax, fontSizeMaxVisible, scaleFontWithValue, fontDrawThreshold to Nodes.
- Added fade in of labels (on nodes) near the fontDrawThreshold.
- Added nodes option to zoomExtent to zoom in on specific set of nodes.
- Added stabilizationIterationsDone event which fires at the end of the internal stabilization run. Does not imply that the network is stabilized.
- Added setFreezeSimulation method.
- Added clusterByZoom option and increaseClusterLevel and decreaseClusterLevel methods.
Still clustering bug and need more documentation on new features
9 years ago
Alex de Mulder
4cb8f20679
fixed few (but not all clustering issues)
9 years ago
AlexDM0
b3e7d60bfb
avoided onHold event during addEdge
9 years ago
Alex de Mulder
b75a8ec09e
- Close active sessions in dataManipulation when calling setData().
10 years ago
Alex de Mulder
f5fce4efc8
cleaned up hierarchical code
10 years ago
Alex de Mulder
4d7bcd4504
- Added condition to Repulsion similar to BarnesHut to ensure nodes do not overlap.
10 years ago
Alex de Mulder
a82c74f6c6
- Improved edit edge control nodes positions, altered style a little.
- Fixed issue #564 by resetting state to initial when no callback is performed in the return function.
10 years ago
Alex de Mulder
f37b86a412
fixed bug introduced by modifying the destroyer, making it impossible to return from add edge mode. #563
10 years ago
Alex de Mulder
88669ae03b
started implementation new hierarchical layout algorithm
10 years ago
Alex de Mulder
0e045a5705
- Altered the Manipulation Mixin to be succesfully destroyed from memory when calling destroy();
10 years ago
Alex de Mulder
23cf32638d
- Fixed error in repulsion physics model.
- Improved physics handling for smoother network simulation.
10 years ago
Alex de Mulder
8e80076825
- Improved cleaning up of the physics configuration on destroy and in options.
10 years ago
Alex de Mulder
31aa7fe676
made the physics calculations a bit more stable (decreasing BarnesHut theta to 0.5 from 0.6), gave nodes a boundingBox that is used for zoomExtent to ensure everything fits.
10 years ago
AlexDM0
aee4d5848a
Fixed flipping of hierachical network on update when using RL and DU.
10 years ago
Felix Hayashi
710eababa4
Update ManipulationMixin.js
see https://github.com/almende/vis/issues/511
10 years ago
Alex de Mulder
83a6cf889e
redraw on back on manipulation
10 years ago
Alex de Mulder
d4cc65df64
- Sidestepped double touch event from hammer (ugly.. but functional) causing strange behaviour in manipulation mode
- Better cleanup after reconnecting edges in manipulation mode
10 years ago
jos
090383d462
Fixes for ES5 strict mode
10 years ago
Alex de Mulder
1f6dd0bbf7
removed div ids from manipulation
10 years ago
Alex de Mulder
1043ef0887
removed div id from navigation
10 years ago
Alex de Mulder
1dafff1108
- Removed IDs from navigation so multiple networks can be shown on the same page. ( #438 )
10 years ago
Alex de Mulder
37c80b1931
- Added pointer properties to the click and the doubleClick events containing the XY coordinates in DOM and canvas space.
10 years ago
Alex de Mulder
97b2ca51a3
fully depricated setSelection. Improved selectable to respect dragging.
10 years ago
Alex de Mulder
6ca1700087
fixed selectable for network #371
10 years ago
jos
f7f032df0c
Replaced all `arr instanceof Array` with `Array.isArray(arr)`
10 years ago
Alex de Mulder
3ae5cda499
fixed node label becoming undefined
fixed cluster sector scaling
fixed cluster font scaling
10 years ago
Alex de Mulder
939f8f85da
- Renamed storePosition to storePositions. Added deprication message and old name still works.
- Worked around hammer.js bug with multiple release listeners.
- Improved cleaning up after manipulation toolbar.
- Added getPositions() method to get the position of all nodes.
- Added getCenterCoordinates() method to get the x and y position in canvas space of the center of the view.
10 years ago
Alex de Mulder
b994f42e37
- tweaked add edge manipulation
10 years ago
Alex de Mulder
832a0aa2fa
- fixed cleanup of manipulation mixin
10 years ago
Alex de Mulder
1c1250ff74
- fixed possible cause for freezing graph when animating
10 years ago
Alex de Mulder
70df0c7c61
- Fix for introduced bug on zoomExtent navigation button.
- Added animation to zoomExtent navigation button.
- Improved cleaning of Hammer.js bindings.
10 years ago
Alex de Mulder
eec53d0470
- Added animation and camera controls by the method .moveTo()
- Added new event that fires when the animation is finished.
- Added new example showing the new features of animation.
10 years ago
Gregor Weber
0285d3139f
Refactored data manipulation connect handling
10 years ago
Alex de Mulder
4751cd5258
Introduced a new layout algorithm for the hierarchical system based on the direction of the edges.
10 years ago
Alex de Mulder
66c788b9b4
changed movement parameter to only say stabilized if the support nodes are stabilized as well, though retaining the demand that both nodes and support nodes are stabilized before emitting event and stopping simulation.
10 years ago
jos
9360434678
Renamed "Link" to "Edge" in manipulation menu
10 years ago
jos
5d4044f988
Fixed page scroll event not being blocked when moving around in Network using arrow keys
10 years ago
jos
1820228b6e
Some simplifications in html/css of manipulation mixin
10 years ago
jos
904b9e7b56
Some css improvements
10 years ago