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
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
420f8a3bbf
Fix check for nodes not present in EdgesHandler ( #2963 )
7 years ago
David Anderson
becf18e6eb
feat: change styles if element is selected ( #2446 )
* element characteristic changes
* assume edge color inheritance is correct before choosing
* Adjust nodes’ chosen’s boolean -> bool
* Need to get user-reset size
* make example edges thicker for more noticeable shadow
* preemptive ES6 fix (see #2500/#2501)
* documentation for the feature that was previously overwritten
7 years ago
David Anderson
8a9edbbf87
fix: Font styles and width and height of nodes ( #2385 )
* Multifont node and edge labels
* adjust documentation
* rework mod-font property inheritance
* Node max/min widths, min heights; Edge max widths
* Accumulate sizes correctly for unconstrained multipoint labels
* handle font.multi when groupOptions.font is not declared
* propagate label fonts on changes, not just creation
* Allow top-level constraint numbers
* accumulate width and empty lines appropriately
8 years ago
Alexander Wunschik
dc2c233b55
added arrow-type 'circle'; fixes #1993
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
4a720969e1
Fixed #1707 : Network not supporting data with a custom id field
8 years ago
Alex de Mulder
18e1d1f2b4
Fixed 1588, destroy now releases the dataset.
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
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
700e735336
added cubic bezier curves.
9 years ago
Alex de Mulder
b75fe65dd0
- Fixed #1111 , check if edges exist was not correct on update.
9 years ago
Alex de Mulder
78c5f38568
- Added labelHighlightBold option to edges and nodes.
9 years ago
Alex de Mulder
e7bfa9ccd6
- Fixed #987 proper cleaning of support nodes.
9 years ago
Alex de Mulder
8732beefa0
- Fixed #904 , correctly parsing global font options now.
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
7099dd13f7
renamed getEdges to getConnectedEdges, made getConnectedNodes also work for edges
9 years ago
Alex de Mulder
d404798174
fixed alot of bugs, expanded configurator, added more examples, updated docs, updated update interval
9 years ago
Alex de Mulder
0b0785fbf9
more examples, more tweaks, small expansion of the validator to check locally for matches.
9 years ago
Alex de Mulder
40c11a9e10
more buxfixes n doc updates and default value tweaks and example tweaks
9 years ago
Alex de Mulder
14ed1bb907
bugfixes, added examples
9 years ago
Alex de Mulder
f81b41c16b
fixed docs (added tabs) fixed gephiparser, fixed edges, labels on selfreferenced edges, fixed dotlanguage
9 years ago
Alex de Mulder
c9a1a88f41
fixed all trello issues and added snazzy option lookup to validator
9 years ago
Alex de Mulder
e0a59ba01f
fixed dashes
9 years ago
Alex de Mulder
357853e2ce
allowed deleting values with null and undefined. Fix for global variables, fix for edge color strings
9 years ago
Alex de Mulder
6b770a3158
fixed destroy!
9 years ago
Alex de Mulder
efd876dba8
debugging a bit
9 years ago
Alex de Mulder
3fbab7cd9d
updated docs partially
9 years ago
Alex de Mulder
7e30d2f009
added manipulation documentation and numerous bugfixes
9 years ago
Alex de Mulder
867f033078
changed the dashes options, fixed bug
9 years ago
Alex de Mulder
28e48828c3
tweaked options, simplified edge:color:inherit option
9 years ago
Alex de Mulder
6393f3eda1
added shadow option to nodes and edges
9 years ago
jos
cdaf6682b2
Renamed `unified` to `shared`
9 years ago
Alex de Mulder
0469a7c6a2
reworked some of the options
9 years ago
Alex de Mulder
b12044333d
updated option stucture to use static methods to avoid duplicate definitions
9 years ago
jos
7248587d67
Removed spam
9 years ago
Alex de Mulder
b3580874d1
moved the entire network to triple ===. Bugs arise in scaling
9 years ago
Alex de Mulder
c68f6d7a12
fixed more bugs in options, we now have a generate options button!
9 years ago
Alex de Mulder
eec31b0d86
more bugfixes, setOptions now propagates shapes, smooth and font options when set globally.
9 years ago
Alex de Mulder
9c324697dd
added color picker
9 years ago
Alex de Mulder
b9c97e18d8
moved groups to v4.0, fixed some bugs in edges
9 years ago
Alex de Mulder
dc5564a21e
moved the popup system to 4.0. Fixed #731 .
9 years ago
Alex de Mulder
5c54f27f12
renamed all node and edge files, added diamond shape, tweaked shapes to always align and center all shapes. this improves the labelling
9 years ago
Alex de Mulder
5b7c3018d3
added edge arrow shorthand
9 years ago
Alex de Mulder
b28af6faa5
hierarchical system is now working and original x or y values are retained
9 years ago
Alex de Mulder
9cd6c4ae06
fixed images, groups, circular images, repeating events
9 years ago
Alex de Mulder
cf057e7ecc
simplified fixed for nodes, removed duplicate datachanged events with support nodes in edges
9 years ago