Steven
b752755a36
Added getBaseEdge, getClusteredEdges updateEdge and updateClusteredNo… ( #2055 )
* Added getBaseEdge, getClusteredEdges updateEdge and updateClusteredNode to allow option changes of the clustered edges as they are no longer the original base Edge
changing edge color is a good example.
i.e network.clustering.updateEdge(originalEdge.id, {color : '#aa0000'});
will now update all edges including the ones that were created when clustering.
Also when clicking on a clustered edge the event returns the clustered Edge id, which doesn't mean a lot.
This can be now converted back into the original edge with
network.clustering.getBaseEdge(clusteredEdge.id)
Similar with updateClusteredNode
This new method allows the options to be changed on a clustered Node.
i.e clicking on a clustered node gives its clustered node id.
Want to change the clustered image to a star then do this
network.clustering.updateClusteredNode(clusteredNodeId, {shape : 'star'});
* Updated docs with getClusteredEdge, getBaseEdge, updateEdge and updateClusteredNode
Also added method subsections into contents
* Added better error handling to updateEdge and updateClusteredNodes
corrected errors spotted by @mojoaxel
* Added example html demonstrating getBaseEdge, getClusteredEdges updateEdge and updateClusteredNode
8 years ago
jos
c3b9203350
Reverted support in Network for custom id fields, which was still broken
8 years ago
jos
dc70824f4b
Some more fixes regarding custom id fields. Still broken!
8 years ago
jos
a95aa84b18
Some more fixes regarding custom id fields
8 years ago
Alex de Mulder
11888f255d
- Added #1138 , enable the user to define the color of the shadows for nodes and edges.
- Fixed #1528 , #1278 , avoided ID's being cast to string for methods that return ID's as well as storePositions casting to string.
9 years ago
Alex de Mulder
573d355827
- Fixed #1404 , made the array returned by findNode match the docs.
9 years ago
Alex de Mulder
ceac4bf6a4
- Fixed #1529 , clustering and declustering now respects the original settings of the edges for physics and hidden.
9 years ago
Alex de Mulder
34bd031888
- Fixed findNode method. It now does not return internal objects anymore.
9 years ago
Alex de Mulder
d856af1e55
Cleaned up code, possibilities for future custom sorting of levels. Whitespace cleaning, options for layout, documentation and examples are still required.
9 years ago
Alex de Mulder
410f83aa38
- Fixed #1358 : Fixed example for clustering on zoom. Also removed private keyword from public methods. Let physics listen to data updates instead of being called from network.
9 years ago
Alex de Mulder
ffa3be85db
- Fixed #1408 : Unclustering without release function respects fixed positions now.
9 years ago
Alex de Mulder
bb0104bacf
fixed self referencing edges during clustering
9 years ago
Alex de Mulder
68c117280f
Fixed phantom edges during clustering #1281
9 years ago
Alex de Mulder
26a1fc588a
- Fixed bugs in clustering algorithm.
- Greatly improved performance in clustering.
9 years ago
Alex de Mulder
09d3dfbb09
- made it pretty, fixed bugs in clustering
9 years ago
AlexDM0
9a2bec6898
removed node cleanup
9 years ago
Alex de Mulder
42c2adf009
prepared for supernodes. Cleaned code
9 years ago
Alex de Mulder
700e735336
added cubic bezier curves.
9 years ago
Alex de Mulder
e228ba9482
different fix for clustering, this one should work :) (sounds familiar)
9 years ago
Alex de Mulder
5f486ee56b
fixed clustering phantom edge problem
9 years ago
Alex de Mulder
1bc9ea443c
fixed clustering bug #1083
9 years ago
Alex de Mulder
296a457d31
fixed clustering issue #1050
9 years ago
Alex de Mulder
a2fd26e2f6
fixed small bug
9 years ago
Alex de Mulder
e96d228ab8
Added releaseFunction to openCluster.
9 years ago
Milt Reder
2c7473e05c
fixed typo in clusterByHubsize
9 years ago
Alex de Mulder
b2eaf589a7
- Fixed clustering bug
9 years ago
Alex de Mulder
50f6dbc0e7
fixed bug in clustering! woohoo! added event on off once to docs. more examples
9 years ago
Alex de Mulder
b8502f2130
fixed cluster bug
9 years ago
Alex de Mulder
ad2d70ed8b
fixed numerous clustering bugs, added more examples, numerous other bug fixes
9 years ago
Alex de Mulder
5b3f19acb5
fixed viewable area check as per #812
9 years ago
Alex de Mulder
7919d58c84
added clustering documentation, updated clustering to 4.0, bug fixing
9 years ago
Alex de Mulder
c48a48a30f
added docs to branch
9 years ago
jos
7248587d67
Removed spam
9 years ago
jos
6c61e7b418
Renamed Network modules to capital first letter
9 years ago
Alex de Mulder
b3580874d1
moved the entire network to triple ===. Bugs arise in scaling
9 years ago
Alex de Mulder
b954d9c9eb
start of configuration system
9 years ago
Alex de Mulder
cf057e7ecc
simplified fixed for nodes, removed duplicate datachanged events with support nodes in edges
9 years ago
Alex de Mulder
2152bd64ce
clustering now using new visibility model, ripped edges apart, arrows not yet functional
9 years ago
Alex de Mulder
1fbdf3b58e
network works again!
10 years ago
Alex de Mulder
333ec38c3c
started creation of the edges handler and the nodes handler. currently broken.
10 years ago
Alex de Mulder
adacb9c0f6
migrated all of the physics to the modules
10 years ago
Alex de Mulder
2edd8b82ce
removed sectors, physics is almost stand-alone. Edges need better options for physics.
10 years ago
Alex de Mulder
b91757fabf
first step to modularize the physics engine
10 years ago
Alex de Mulder
093cb73de5
first modularizing experiment. Made body object containing data nodes, emitter, support functions. ClusterEngine is the first module.
10 years ago