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
jos
57374b33aa
Implemented localization for Network
10 years ago
jos
db4c138810
Replaced most alert(...) with throw new Error(...). Added two more entries to labels
10 years ago
Alex de Mulder
462995a3cd
switched navigation to Hammer --> fixed #233
10 years ago
Alex de Mulder
06bf7c265b
- Fixed mass = 0 for nodes.
- Revamped the options system. You can globally set options (network.setOptions) to update
settings of nodes and edges that have not been specifically defined by the individual nodes and edges.
- Disabled inheritColor when color information is set on an edge.
- Tweaked examples.
- Removed the global length property for edges. The edgelength is part of the physics system. Therefore, you have to change
the springLength of the physics system to change the edge length. Individual edge lengths can still be defined.
- Removed global edge length definition form examples.
10 years ago
jos
2da139a4e8
Moved some util functions to util.js
10 years ago
Alex de Mulder
9377a6d2c9
new hierarchical solver
10 years ago
Alex de Mulder
5fd89bd083
Fixed hierarchical layouts with nodes that start at a level > 0 #220
10 years ago
Alex de Mulder
5e3c2fea60
fixed springs not calculating. added example, set inherit color to default ON
10 years ago
Alex de Mulder
eaef289544
Added multiple smoothCurve methods, added hideNodesOnDrag and hideEdgesOnDrag options. Added two examples. Added inheritColor option.
10 years ago
jos
30d3d4c1a5
Fixed some missing dependencies in network
10 years ago
jos
72dfc0c45f
Reworked all code to commonjs modules. Replaced the build script with Gulp
10 years ago