macleodbroad-wf
6dfb468974
Enables "ClassDeclaration" for require-jsdoc lint rule, and adds all missing class-level jsdoc ( #3373 )
7 years ago
macleodbroad-wf
d4e4e9fa07
Removes redundant .eslintrc from graph3d, lints the rest of the code … ( #3363 )
* Removes redundant .eslintrc from graph3d, lints the rest of the code base, and enables valid-jsdoc lint rule
* Corrects lint violations
7 years ago
macleodbroad-wf
0df59c8f41
Makes Network, DataSet and DataView eslint compliant ( #3304 )
* Makes network eslint compliant
Unused variables in private functions, who were never called internally with those arguments were removed.
lint rule was disabled for public functions, and in private functions which were called internally with those unused arguments
* Disables linting for unused args passed into DataSet and DataView
7 years ago
wimrijnders
418b42bb64
Refactored line drawing for Bezier edges ( #3122 )
Code in the `_line()` of the sibling Bezier edge types was either extremely similar or identical.
The Bezier drawing code has been consolidated in a single method in the parent class.
7 years ago
wimrijnders
33a4c28ec6
Refactoring of `BezierEdgeStatic._getViaCoordinates()` ( #3121 )
This method is needlessly complicated. Code has been adjusted to better show the intent.
In addition:
- reuse of variables already present, notably `dx` and `dy`
- put recurring code fragments into local variables
- removed second conditions in constructs of the form `if (condition) ... else if (!conditioni) ...`
The refactoring can be taken further, but it would change the conditional flow, which would complicate reviewing.
The current changes highlight the similarities between the code blocks.
7 years ago
David Anderson
100f47a9b7
fix(network): #2591 self reference edge should now appear in all cases ( #2595 )
* self reference edge should now appear in all cases
* add checks for shape width being NaN to get correct circle data
* reorder resize arguments in Diamond, Dot and Star
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
8 years ago
Alexander Wunschik
dc2c233b55
added arrow-type 'circle'; fixes #1993
8 years ago
André Martins
944511f4c7
Fixed getPoint for same node edges
Signed-off-by: André Martins <aanm90@gmail.com>
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
Felix Hayashi
81510b63dd
Fixed wrong variable reference
see #1608
8 years ago
Alex de Mulder
6e9e4cc3d5
- Altered edges for arrows and added the arrowStrikethrough option.
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
759cff058b
- Fixed #1398 : Support nodes start with the correct positions.
9 years ago
Alex de Mulder
09d3dfbb09
- made it pretty, fixed bugs in clustering
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
AlexDM0
5beeca1236
- Fixed #1112 , network now works in firefox on unix again.
9 years ago
Alex de Mulder
b75ccbaf06
Fixed static smooth edges not being handled correctly in all angles
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
e96d228ab8
Added releaseFunction to openCluster.
9 years ago
Alex de Mulder
547fb05176
fixed dynamic edges not correctly handling non-existent nodes.
9 years ago
killerDJO
a53bcd8efa
fixed colors for selected and hover states
9 years ago
Alex de Mulder
14ed1bb907
bugfixes, added examples
9 years ago
Alex de Mulder
5b3f19acb5
fixed viewable area check as per #812
9 years ago
Alex de Mulder
e0a59ba01f
fixed dashes
9 years ago
Alex de Mulder
7e30d2f009
added manipulation documentation and numerous bugfixes
9 years ago
Alex de Mulder
7919d58c84
added clustering documentation, updated clustering to 4.0, bug fixing
9 years ago
Alex de Mulder
a150b7cb27
fixed a number of bugs in manipulation
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
e881a78462
replaced `6to5` with `babel`, letting webpack output errors, minor fix
9 years ago
Alex de Mulder
517263a27e
minor changes, adhere to ES6 in bezier edge dynamic
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
c68f6d7a12
fixed more bugs in options, we now have a generate options button!
9 years ago
Alex de Mulder
75f5d48b57
bridged label object options, fixed bug with self referencing circles
9 years ago
Alex de Mulder
b954d9c9eb
start of configuration system
9 years ago
Alex de Mulder
39eb2e5079
most of the manipulation is now in 4.0
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
cf057e7ecc
simplified fixed for nodes, removed duplicate datachanged events with support nodes in edges
9 years ago
Alex de Mulder
a903ec454d
moved arrows to baseEdge, gave the straight edge a + 50% length in the physics.
9 years ago
Alex de Mulder
14de6f2cac
arrows working!
9 years ago