Alex de Mulder
2152bd64ce
clustering now using new visibility model, ripped edges apart, arrows not yet functional
9 years ago
Alex de Mulder
b2178ffcc9
seperated all node styles from the main node object
9 years ago
Alex de Mulder
3fda5397c4
made labels seperate. Needs cleaning up and comments
9 years ago
Alex de Mulder
53795c9eba
added this.options.selfReferenceSize to edge
9 years ago
Alex de Mulder
ec6a474de5
unified pointOnLine and pointOnBezier to pointOnEdge
9 years ago
Alex de Mulder
4a1ae62796
edges are now accepting arrows back and forth using unified code
9 years ago
Alex de Mulder
baf4cd0a1e
altered edge option structure
9 years ago
Alex de Mulder
ca11929e85
put all nodes and edges into one container. keep track of indices for visible and physics activated nodes
9 years ago
Alex de Mulder
1fbdf3b58e
network works again!
9 years ago
Alex de Mulder
333ec38c3c
started creation of the edges handler and the nodes handler. currently broken.
9 years ago
Alex de Mulder
084c19400e
interaction tweaks
9 years ago
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
10 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
10 years ago
Alex de Mulder
307a4ce29e
fixed bug where opening a cluster without smoothcurves went wrong.
10 years ago
Alex de Mulder
3d744d1236
fixed alignment issue with edge labels
10 years ago
Alex de Mulder
f675c3baf6
formatted stuff
10 years ago
Alex de Mulder
74e58d668c
- Added labelAlignment option to edges. Thanks @T-rav ! merged #566
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
c07ebefdc9
small tweaks
10 years ago
Alex de Mulder
d5b6371bae
merged pull #554
10 years ago
Alex de Mulder
072d1a5d1f
- Improved drawing of arrowheads on smooth curves. #349
10 years ago
AlexDM0
52f2b7ece4
possible fix for dashed line issue
10 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