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
8 years ago
Jader Dias
bcca755a6c
correct spelling for 'deprecated' and 'deprecation' s/depricat/deprecat/g
8 years ago
Chas Honton
dd3639f2ad
decrease whitespace in ellipses having long text
8 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.
8 years ago
André Martins
944511f4c7
Fixed getPoint for same node edges
Signed-off-by: André Martins <aanm90@gmail.com>
8 years ago
SonIcco
2cc2c4e65d
BugFix - Network.options.nodes
As the documentation on vis.js nodes can be styled with align: left|center
allOptions does not include this option and throw an error on option validation.
8 years ago
abxu
9af8c49193
Fixed updating arrows with the string type
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
Yotam Berkowitz
885ebffbce
fix delete btn and remove console.logs
8 years ago
jos
4a720969e1
Fixed #1707 : Network not supporting data with a custom id field
8 years ago
jos
1c7d5ebe5d
Upgraded to babel v6
8 years ago
jos
311ea1eef5
Fixed #1455 : allow vertical panning of the web page on touch devices
8 years ago
Alex de Mulder
40aac52c18
not set scale to 3.3 when initializing empty
8 years ago
Alex de Mulder
822243e02a
fixed another bug in hierarchical layout
8 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.
8 years ago
Alex de Mulder
386082e443
Fixed #1677 : updating groups through manipulation now works as it should.
8 years ago
Alex de Mulder
1cb16f64ee
Fixed #1575 : fixed selection events
8 years ago
Alex de Mulder
2bff294789
- Fixed #1644 , #1631 : overlapping nodes in hierarchical layout should no longer occur.
- Added parentCentralization option for hierarchical layout.
8 years ago
Alex de Mulder
53d37f1344
Fixed #1635 : edges are now referring to the correct points
8 years ago
jos
8e180da2a2
Fixed #1634 : several minor HTML/CSS bugs
8 years ago
Felix Hayashi
81510b63dd
Fixed wrong variable reference
see #1608
8 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.
8 years ago
Alex de Mulder
7a830877d1
Fixed #1594 : bug in hierarchical layout.
8 years ago
Alex de Mulder
84b65fdd6c
Fixed #1596 : correct clean up of manipulation dom elements.
8 years ago
Alex de Mulder
18e1d1f2b4
Fixed 1588, destroy now releases the dataset.
8 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.
8 years ago
Alex de Mulder
d6cb3b6cdd
= Fixed #1334 (again): Network now ignores scroll when interaction:zoomView is false.
8 years ago
Alex de Mulder
d2a3c7db7d
updated mistake in the docs
8 years ago
Alex de Mulder
2977dfd565
- Improved the hierarchical layout algorithm by adding a condensing method to remove whitespace.
8 years ago
Alex de Mulder
6e9e4cc3d5
- Altered edges for arrows and added the arrowStrikethrough option.
8 years ago
jos
8d575d977f
Released version 4.12.0
8 years ago
Alex de Mulder
2be3235210
- Fixed upscaling when the window size increases.
- Accepted pull request #1544 , thanks @felixhayashi !
- Fixed documented bug in #1544 .
8 years ago
Felix Hayashi
3828e07959
fixes positioning of colorpicker BUT ALSO HAS A BUG
not sure but for some reason, once the colorpicker is open, the buttons won't work correctly and the huecircle jumps back.
8 years ago
Alex de Mulder
d7eee2275c
made database shape box a rectangle
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.
8 years ago
Alex de Mulder
573d355827
- Fixed #1404 , made the array returned by findNode match the docs.
8 years ago
Alex de Mulder
589093d502
- Fixed #1406 , control nodes are now drawn immediately without a second redraw.
8 years ago
Alex de Mulder
ceac4bf6a4
- Fixed #1529 , clustering and declustering now respects the original settings of the edges for physics and hidden.
8 years ago
Alex de Mulder
34bd031888
- Fixed findNode method. It now does not return internal objects anymore.
8 years ago
Alex de Mulder
53cc2f62ba
Fixed #1531 , #1335 : border distances for arrow positioning
8 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
Maxime Douailin
4a18f8999e
Expose publicly setSelection method
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.
9 years ago
Alex de Mulder
f57288e35e
wip improved layout for hierarchical
9 years ago