wimrijnders
c16b2a3c58
Network: Smooth type 'dynamic' adjusted for node-specific option in hierarchical ( #3130 )
Fix for #3036
Option `smooth.type: dynamic` is not allowed for hierarchical layouts.
This was handled properly for the main options, but not for the node-specific options.
Options within node instances arei now checked for `smooth.type: dynamic` and replaced
by `horizontal` or `vertical`. The implementation adds listener `_adjustEdgesForHierarchicalLayout`
in `LayoutHandler`. This listener must be activated every time noder- specific options might change.
This happens in the logical places within `EdgeHandler`.
7 years ago
wimrijnders
a746466950
Fix usage of clustering with hierarchical networks ( #3132 )
* clusters in hierarchical working for sortorder 'hubsize'
* Code cleanup
7 years ago
wimrijnders
3ce7fbecf0
Refactoring of LayoutEngine ( #3110 )
* First save after refactoring
* Fixes after testing
* Final changes
7 years ago
Pat Sissons
e25db74b4b
replacing all ES6 imports with CJS require calls ( #3063 )
* replacing all ES6 imports with CJS require calls
resolves #2934
used the following regex to apply the changes in lib:
s/import\s+(\w+)\s+from\s+(.*);\s*$/var $1 = require($2).default;/
s/import\s+(\w+)\s+from\s+(.*)\s*$/var $1 = require($2).default;/
* cleaning up inconsistencies
7 years ago
wimrijnders
b20fe1231c
Fix for exploding directed network, first working version; refactored hierarchical state in LayoutEngine. ( #3017 )
7 years ago
Ludo Stellingwerff
ec201296aa
Reduce the time-complexity of the network initial positioning. ( #2759 )
* Reduce the time-complexity of the network initial positioning. Very substantial performance gain for large graphs.
* Remove unwanted console messages, extended comment.
7 years ago
Richard van der Hoff
6acc7bdd8c
feat(network): Improve the performance of the network layout engine ( #2729 )
* Improve the performance of the network layout engine
Short-cut the execution of a number of methods in LayoutEngine to make them
handle highly-connected graphs better.
* Demonstrations of layouts of large networks
7 years ago
AoDev
e6ed962238
chore(lint): added support for eslint ( #2695 )
7 years ago
Josh Ventura
3456acffa1
Network: Fix tree collision in hierarchical layout ( #2625 )
Using the 'directed' sort method, the layout engine seemed to ignore treeSpacing (or only apply it to the first tree). This would also lead to trees colliding with one another, and having their nodes tangled in space. This complaint surfaced in a couple bugs, including #2494 . This should be a step toward fixing that. For whatever reason, this code never runs when using the "hubsize" sort method.
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
Alex de Mulder
822243e02a
fixed another bug in hierarchical layout
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.
9 years ago
Alex de Mulder
7a830877d1
Fixed #1594 : bug in hierarchical layout.
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
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
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
9c2dbe5c99
cleaned up a little
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
Alex de Mulder
1330708f63
improvements on hierarchical layout
9 years ago
Alex de Mulder
5302f74521
- Fixed #1362 : Layout of hierarchicaly systems no longer overlaps NODES.
9 years ago
Alex de Mulder
db05c2bd15
- Fixed arrows to icon, text and circularImage shapes
9 years ago
Alex de Mulder
985693e123
- Fixed stabilized event not firing if layout algorithm does very well.
9 years ago
Alex de Mulder
3f5c71eea3
- Fixed critical camera zoom bug #1273 . #1266 , #1255
- unified some methods in the networkUtil
- Fixed initial zoom issues #1252
9 years ago
jos
a328415c22
Added loop protection to `layoutNetwork`
9 years ago
Alex de Mulder
64c1995d81
added public ready versions of kamadakawai and adaptive layout, clustering bugfixes and reactive network.
9 years ago
Alex de Mulder
26a1fc588a
- Fixed bugs in clustering algorithm.
- Greatly improved performance in clustering.
9 years ago
Alex de Mulder
8eea19a756
- cleaning up
9 years ago
Alex de Mulder
36ecb2c933
- added improved timestep adaption, fixed bugs in stabilization
9 years ago
Alex de Mulder
09d3dfbb09
- made it pretty, fixed bugs in clustering
9 years ago
Alex de Mulder
0161b22160
- added kamadaKawai algorithm as prototype
9 years ago
Alex de Mulder
700e735336
added cubic bezier curves.
9 years ago
Alex de Mulder
e9fc1a0303
fixed hierarchical layout toggle issue.
9 years ago
Alex de Mulder
4ef684af2e
Fixed #1087 , updated history
9 years ago
Alex de Mulder
f699061e29
- Fixed #974 connecting static smooth and straight edges. also bug introduced in the layout
9 years ago
Alex de Mulder
f7eee473bd
fixed accidental redrawing during stabilization. Fixed infinite recursion when fixing node without coordinates
9 years ago
Alex de Mulder
ba6ba69602
tweaked function naming
9 years ago
Alex de Mulder
229c22bc9b
Removed depricated dynamic entree, allow any smooth curve style for hierarchical layout.
9 years ago
Alex de Mulder
54f99f7280
fixed little bug in layoutengine and it's brother
9 years ago
Alex de Mulder
d61dd8d887
fixed little bug in layoutengine
9 years ago
Alex de Mulder
ad2d70ed8b
fixed numerous clustering bugs, added more examples, numerous other bug fixes
9 years ago
Alex de Mulder
c3883970e4
numerous bugfixes, partial progress with examples
9 years ago
Alex de Mulder
5b3f19acb5
fixed viewable area check as per #812
9 years ago
Alex de Mulder
e02e8e986a
reverted emit
9 years ago
Alex de Mulder
b413dd5b34
render issue with hierarchical layout
9 years ago
Alex de Mulder
6b770a3158
fixed destroy!
9 years ago