wimrijnders
6aba9b22d6
Fix infinite loop on drawing of large labels ( #3228 )
* Code cleanup, for better understanding
* Further refactoring; text processing to blocks in separate method
* Added unit test for labels - tests standard text and html tags
* Labels added unit tests for markdown
* Further refactoring; made multi and regular handling more congruent
* Interim save, not there yet
* Unit tests done, first working version
* Added test case with two big words
* Code cleanup
* Break up huge words into lines.
* Restore unrelated code change
7 years ago
wimrijnders
9795e907aa
Refactoring and unit testing of Validator module ( #3106 )
* Added unit test for Validator, minimum viable version.
* Added test-console to package list
* Completed minimum viable unit test for Validator
* Added Validator unit test for explicit 'undefined'
7 years ago
wimrijnders
ca6beb029d
Add unit tests for Graph3D issue ( #3260 )
* Add unit tests for Graph3D issue
This adds a unit test for PR #3255 which fixes #3251 .
The unit test will fail without the PR merged.
**NOTE:** This also adds module `canvas`, required for the unit test. This module
proved to be quite fickly to install properly. During reviewing, please pay special
attention to the proper installation of this modul. I.e. do following to test:
```
> npm install # If no errors, continue
> npm test /tests/Graph3D.test.js # Run unit test isolated
```
* Fix for travis-cl
* Add giflib to travis test definition
* Add libgif to travis test definition - take 2
* Proper setup and teardown for jsdom-global
* Minor fixes and cleanup
7 years ago
David Sutherland
48a1d3a82a
Adjusting timeline TimeStep.roundToMinor - fixes #3105 ( #3175 )
* Fix for timeline TimeStep.roundToMinor - resolving issue #3105
* Adding some tests for TimeStep
7 years ago
wimrijnders
b882b3873c
Properly handle newline escape sequences in strings for DOT ( #3112 )
* Properly handle newline escape sequences in strings for DOT
* Adjust comments in code
7 years ago
Brad Hards
3ecc98fffc
[Timeline fix #2814 ] Do not corrupt class names at high zoom levels. ( #2909 )
This takes a more robust approach to produce the list of class names.
7 years ago
Brad Hards
3df8107467
Fix regression introduced in #2743 . ( #2796 )
7 years ago
Brad Hards
c83492e23f
Initial tests for timeline ItemSet. ( #2750 )
Somewhat more complicated setup, associated with the need for a real window.
7 years ago
Brad Hards
ceb698626a
fix(timeline): #2720 Problems with option editable ( #2743 )
Clean up and centralise edit status for Timeline Items.
7 years ago
Brad Hards
b0b4d54400
Add initial tests for Timeline PointItem ( #2716 )
7 years ago
Alexander Wunschik
cb20857c2d
Fix(network): handle label composition for long words ( #2650 )
* maximum width constraints must be violated by long words. Fixes #2604 .
* chore: moved examples/network/_tests/maximumWidthEdgeCase.html to test/network/
7 years ago
Brad Hards
6c22663b3d
Minor cleanups in Timeline Range. ( #2633 )
Fixes default end, and reduces duplicated code. Adds tests.
7 years ago
CapitanMorgan
91c96ba38c
fixes #2100 and issues with edges when clustering ( #2229 )
* Should fix issue #2100 and fix another issue we discovered around clusterByConnection leaving phantom edges.
* fixed a wrong variable name
* fixed DataView.test.js assert
* Update Canvas.js
* remove whitespace; remove end of file newline on Canvas.js
* strip end of file newlines
* fixed styling. spacing, semicolons, line length
8 years ago
jos
3d4b1dc538
Added a comment
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
jos
448734ceb9
Fixed #1683 : implemented `currentTimeTick` event
8 years ago
Alex de Mulder
386082e443
Fixed #1677 : updating groups through manipulation now works as it should.
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
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
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
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
589093d502
- Fixed #1406 , control nodes are now drawn immediately without a second redraw.
9 years ago
Ludo Stellingwerff
6e9228c2ce
Remove unnecessary field reduction again.
9 years ago
Ludo Stellingwerff
22a964daea
Fix DataView for Graph2d, cleanup group initialisation.
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
jos
1dff079d4a
Fixed broken unit test
9 years ago
jos
5f0755a373
Fixed #1437 : Restored `data` property of the update event of DataSet.
9 years ago
jos
6453cd0d62
Fixed #1449 , #1393 : text of minor grids sometimes not being drawn. Implemented option `maxMinorChars` to customize the width of the grids.
9 years ago
Alex de Mulder
1330708f63
improvements on hierarchical layout
9 years ago
Alex de Mulder
349017cf85
- Fixed #1416 : Fixed error in improvedLayout.
9 years ago
Alex de Mulder
ffa3be85db
- Fixed #1408 : Unclustering without release function respects fixed positions now.
9 years ago
Alex de Mulder
3c9b849241
- Fixed #1414 : Fixed color references for nodes and edges.
9 years ago
Alex de Mulder
5302f74521
- Fixed #1362 : Layout of hierarchicaly systems no longer overlaps NODES.
9 years ago
Alex de Mulder
ce4fec4da3
- Fixed #1324 : Labels now scale again.
9 years ago
Alex de Mulder
759cff058b
- Fixed #1398 : Support nodes start with the correct positions.
9 years ago
Alex de Mulder
11318647fe
added images with borders and updated the manipulation css
9 years ago
Alex de Mulder
7a6246ecc2
- Fixed bug where a box shape could not be drawn outside of the viewable area.
9 years ago
Alex de Mulder
bb0104bacf
fixed self referencing edges during clustering
9 years ago
Alex de Mulder
db25fa6483
Release 4.8.2
9 years ago
Alex de Mulder
3733976b35
- Fixed deletion of options by settings them to null.
9 years ago
Alex de Mulder
db05c2bd15
- Fixed arrows to icon, text and circularImage shapes
9 years ago
Alex de Mulder
1d0db57815
- Fixed setting font to null so the network won't crash anymore.
9 years ago
Alex de Mulder
68c117280f
Fixed phantom edges during clustering #1281
9 years ago
Alex de Mulder
6581f56c63
- Fixed bug that broke the network if drawn in a hidden div #1254
9 years ago