Alex de Mulder
adacb9c0f6
migrated all of the physics to the modules
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
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
8a1286aaac
added moving pop-up, optimized the check to hide popup
9 years ago
Alex de Mulder
403b0eb438
added gradients for edges
9 years ago
Alex de Mulder
164653cdd7
made scaling function customizable
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
307a4ce29e
fixed bug where opening a cluster without smoothcurves went wrong.
9 years ago
Alex de Mulder
3d744d1236
fixed alignment issue with edge labels
9 years ago
Alex de Mulder
f675c3baf6
formatted stuff
9 years ago
Alex de Mulder
74e58d668c
- Added labelAlignment option to edges. Thanks @T-rav ! merged #566
9 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.
9 years ago
Alex de Mulder
c07ebefdc9
small tweaks
9 years ago
Alex de Mulder
d5b6371bae
merged pull #554
9 years ago
Alex de Mulder
072d1a5d1f
- Improved drawing of arrowheads on smooth curves. #349
9 years ago
AlexDM0
52f2b7ece4
possible fix for dashed line issue
9 years ago
Alex de Mulder
4b35e18c70
- Fixed recursion error with smooth edges that are connected to non-existent nodes
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
Alex de Mulder
aac382fc1c
fixed arrowheads not being colored
10 years ago
Alex de Mulder
3183aff621
Fixed dashed and arrow lines not using inheritColor. #399
10 years ago
Alex de Mulder
8e0f4733a1
added cacheing to edge labels, cannot cache node labels due to different shapes
10 years ago
Alex de Mulder
86070fb329
tweaked node label size cache
10 years ago
Alex de Mulder
613c1e398a
added edge selection on edge label
10 years ago
Alex de Mulder
1cecbb96eb
added multiline text to edges, updated multiline code for both nodes and edges #291
10 years ago
Alex de Mulder
c1bff7c986
cleaned up docs for network, added fontfill for nodes
10 years ago
Alex de Mulder
83f613beeb
changed edgewidth when zooming, scale normally with min width of 0.3 px
10 years ago
Alex de Mulder
a4b9352150
fixed small bug in network, refactored graph2d. Added handleOverlap for barcharts
10 years ago
Alex de Mulder
ad99664742
fixed #235
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
Alex de Mulder
854142a06b
fixed width from value when selected (edge) #225
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
9b3477bccc
improved edge selection function
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
jos
f0a5b12593
Moved source code from `/src/` to `/lib/`
10 years ago
jos
a5dd92d349
Refactored more code from `graph` to `network`
10 years ago
Alex de Mulder
d65fbafcd7
refactor: graph --> network
10 years ago
Jeroen Coumans
6176facdca
Allow per-edge hover colors
10 years ago
Alex de Mulder
aa94e4a7ec
ordering tweak
10 years ago
Unto Kuuranne
1b11aae7fb
Make scaling factor of selected edges configurable via widthSelectionMultiplier
10 years ago
Alex de Mulder
1224a3cf0a
added editing of edges with the data manipulation, as suggested by #169
10 years ago
Alex de Mulder
7378bbc867
fixed self referencing node edge selection bug per #168
10 years ago
Alex de Mulder
23239912f7
added hover events
10 years ago
Alex de Mulder
6ef3cdb582
added hover styles and options
10 years ago
Alex de Mulder
5e6718b164
updated history, added function documentation
10 years ago
Alex de Mulder
69fceb3931
added arrowScaleFactor per #99
10 years ago
Javier Rey
9587e9a79c
Edges fontFill customization
10 years ago
Tim Pettersen
a3b1997df1
Allow Node and Edge title values to be the result of a function.
10 years ago