Steven
996298793e
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
9 years ago
Chas Honton
dd3639f2ad
decrease whitespace in ellipses having long text
9 years ago
Steven Pearce
eb675cd7f6
Resolve issue almende/vis#1857
Perturbing the nodes was being performed on all nodes regardless of whether they were set as fixed.
9 years ago
André Martins
944511f4c7
Fixed getPoint for same node edges
Signed-off-by: André Martins <aanm90@gmail.com>
9 years ago
abxu
9af8c49193
Fixed updating arrows with the string type
9 years ago
jos
c3b9203350
Reverted support in Network for custom id fields, which was still broken
9 years ago
jos
dc70824f4b
Some more fixes regarding custom id fields. Still broken!
9 years ago
jos
a95aa84b18
Some more fixes regarding custom id fields
9 years ago
Yotam Berkowitz
885ebffbce
fix delete btn and remove console.logs
9 years ago
jos
4a720969e1
Fixed #1707 : Network not supporting data with a custom id field
9 years ago
jos
1c7d5ebe5d
Upgraded to babel v6
9 years ago
jos
311ea1eef5
Fixed #1455 : allow vertical panning of the web page on touch devices
9 years ago
Alex de Mulder
40aac52c18
not set scale to 3.3 when initializing empty
9 years ago
Alex de Mulder
822243e02a
fixed another bug in hierarchical layout
9 years ago
Alex de Mulder
43472862bc
- Fixed #1672 : Implemented stepped scaling for nice interpolation of images.
- Added interpolation option for interpolation of images, default true.
9 years ago
Alex de Mulder
386082e443
Fixed #1677 : updating groups through manipulation now works as it should.
9 years ago
Alex de Mulder
1cb16f64ee
Fixed #1575 : fixed selection events
9 years ago
Alex de Mulder
2bff294789
- Fixed #1644 , #1631 : overlapping nodes in hierarchical layout should no longer occur.
- Added parentCentralization option for hierarchical layout.
9 years ago
Alex de Mulder
53d37f1344
Fixed #1635 : edges are now referring to the correct points
9 years ago
Felix Hayashi
81510b63dd
Fixed wrong variable reference
see #1608
9 years ago
Alex de Mulder
c32aa90a91
Fixed #1597 : Allow zero borders and addressed scaling artifacts.
unified border calculation. Needs to be centralized to avoid duplication.
9 years ago
Alex de Mulder
7a830877d1
Fixed #1594 : bug in hierarchical layout.
9 years ago
Alex de Mulder
84b65fdd6c
Fixed #1596 : correct clean up of manipulation dom elements.
9 years ago
Alex de Mulder
18e1d1f2b4
Fixed 1588, destroy now releases the dataset.
9 years ago
Alex de Mulder
39ea3b43d0
- Added options to customize the hierarchical layout without the use of physics.
added example. Improved handling of options for hierarchical view.
9 years ago
Alex de Mulder
d6cb3b6cdd
= Fixed #1334 (again): Network now ignores scroll when interaction:zoomView is false.
9 years ago
Alex de Mulder
d2a3c7db7d
updated mistake in the docs
9 years ago
Alex de Mulder
2977dfd565
- Improved the hierarchical layout algorithm by adding a condensing method to remove whitespace.
9 years ago
Alex de Mulder
6e9e4cc3d5
- Altered edges for arrows and added the arrowStrikethrough option.
9 years ago
jos
8d575d977f
Released version 4.12.0
9 years ago
Alex de Mulder
2be3235210
- Fixed upscaling when the window size increases.
- Accepted pull request #1544 , thanks @felixhayashi !
- Fixed documented bug in #1544 .
9 years ago
Alex de Mulder
d7eee2275c
made database shape box a rectangle
9 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
589093d502
- Fixed #1406 , control nodes are now drawn immediately without a second redraw.
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
53cc2f62ba
Fixed #1531 , #1335 : border distances for arrow positioning
9 years ago
Alex de Mulder
486cf53055
Added a debug mode to visualize the forces on nodes (very cool :))
9 years ago
Alex de Mulder
9c2dbe5c99
cleaned up a little
9 years ago
Alex de Mulder
4d8a2598f0
reevaluated object bridging over extending. New implementations to prevent bugs.
9 years ago
Alex de Mulder
24aa86020e
updated jdocs
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
5ea731c8cf
improved layout hierarchical view. TODO: cleanup level allocation to use the crawler.
10 years ago
Alex de Mulder
f57288e35e
wip improved layout for hierarchical
10 years ago
Alex de Mulder
1330708f63
improvements on hierarchical layout
10 years ago
Alex de Mulder
349017cf85
- Fixed #1416 : Fixed error in improvedLayout.
10 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.
10 years ago
Alex de Mulder
ffa3be85db
- Fixed #1408 : Unclustering without release function respects fixed positions now.
10 years ago
Alex de Mulder
3c9b849241
- Fixed #1414 : Fixed color references for nodes and edges.
10 years ago