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
9 anni fa
yoavdamri
eeba7fd05d
feat: add pointer position to zoom event ( #2377 )
* add pointer position to zoom event
* Update docs with zoom api
9 anni fa
David Anderson
b31ae149f0
label margins for box, circle, database, icon and text nodes. ( #2343 )
9 anni fa
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
9 anni fa
Alexander Wunschik
dc2c233b55
added arrow-type 'circle'; fixes #1993
9 anni fa
Alexander Wunschik
cd29400412
only use shape.radius if availible; fixes #1625 ( #2005 )
9 anni fa
Chas Honton
dd3639f2ad
decrease whitespace in ellipses having long text
9 anni fa
André Martins
944511f4c7
Fixed getPoint for same node edges
Signed-off-by: André Martins <aanm90@gmail.com>
9 anni fa
abxu
9af8c49193
Fixed updating arrows with the string type
9 anni fa
jos
c3b9203350
Reverted support in Network for custom id fields, which was still broken
9 anni fa
jos
dc70824f4b
Some more fixes regarding custom id fields. Still broken!
9 anni fa
jos
a95aa84b18
Some more fixes regarding custom id fields
9 anni fa
jos
4a720969e1
Fixed #1707 : Network not supporting data with a custom id field
9 anni fa
Alex de Mulder
43472862bc
- Fixed #1672 : Implemented stepped scaling for nice interpolation of images.
- Added interpolation option for interpolation of images, default true.
10 anni fa
Alex de Mulder
53d37f1344
Fixed #1635 : edges are now referring to the correct points
10 anni fa
Felix Hayashi
81510b63dd
Fixed wrong variable reference
see #1608
10 anni fa
Alex de Mulder
c32aa90a91
Fixed #1597 : Allow zero borders and addressed scaling artifacts.
unified border calculation. Needs to be centralized to avoid duplication.
10 anni fa
Alex de Mulder
2977dfd565
- Improved the hierarchical layout algorithm by adding a condensing method to remove whitespace.
10 anni fa
Alex de Mulder
6e9e4cc3d5
- Altered edges for arrows and added the arrowStrikethrough option.
10 anni fa
Alex de Mulder
d7eee2275c
made database shape box a rectangle
10 anni fa
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.
10 anni fa
Alex de Mulder
589093d502
- Fixed #1406 , control nodes are now drawn immediately without a second redraw.
10 anni fa
Alex de Mulder
53cc2f62ba
Fixed #1531 , #1335 : border distances for arrow positioning
10 anni fa
Alex de Mulder
486cf53055
Added a debug mode to visualize the forces on nodes (very cool :))
10 anni fa
Alex de Mulder
4d8a2598f0
reevaluated object bridging over extending. New implementations to prevent bugs.
10 anni fa
Alex de Mulder
349017cf85
- Fixed #1416 : Fixed error in improvedLayout.
10 anni fa
Alex de Mulder
3c9b849241
- Fixed #1414 : Fixed color references for nodes and edges.
10 anni fa
Alex de Mulder
ce4fec4da3
- Fixed #1324 : Labels now scale again.
10 anni fa
Alex de Mulder
759cff058b
- Fixed #1398 : Support nodes start with the correct positions.
10 anni fa
Alex de Mulder
11318647fe
added images with borders and updated the manipulation css
10 anni fa
Alex de Mulder
7a6246ecc2
- Fixed bug where a box shape could not be drawn outside of the viewable area.
10 anni fa
Alex de Mulder
0ec249ff5c
updated to SNAPSHOT 4.8.3
10 anni fa
Alex de Mulder
3733976b35
- Fixed deletion of options by settings them to null.
10 anni fa
Alex de Mulder
db05c2bd15
- Fixed arrows to icon, text and circularImage shapes
10 anni fa
Alex de Mulder
fd48470add
- Fixed arrows with some shapes when they are selected. #1292
10 anni fa
Alex de Mulder
1d0db57815
- Fixed setting font to null so the network won't crash anymore.
10 anni fa
Alex de Mulder
ab88ca5299
- Fixed scaling not doing anything to edges.
10 anni fa
Coleman Kane
c966a5feba
Put node-label alignment into 'align' rather than 'textAlign'
Node labels don't currently make use of the 'align' property, so this reuses
the existing property.
The label code has a number of alignment options that make sense to edges only,
so the Edge/Node now passes a boolean to the Label ctor to explain which the label
is being rendered for
10 anni fa
Coleman Kane
37fbe7f43c
Fix a typo and swap SHR for mul-by-coeff
10 anni fa
Coleman Kane
b5c59a547d
Remove the "must be a box" requirement.
Theoretically, there are multiple node shape types that this could apply to.
10 anni fa
Coleman Kane
486f89ca1b
Allow node labels to be left-justified with textAlign: 'left'
Will only apply to Network nodes with a shape: 'box' property, as most
other shapes this will not make sense for. This enables the box shape
to be used, for instance, for diagraming CFG data from source code.
10 anni fa
Alex de Mulder
09d3dfbb09
- made it pretty, fixed bugs in clustering
10 anni fa
Alex de Mulder
0161b22160
- added kamadaKawai algorithm as prototype
10 anni fa
Alex de Mulder
9b83e2ca0f
- Fixed dynamic updating of label properties.
10 anni fa
Alex de Mulder
6e01279eaa
- Fixed #1152 , updating images now works.
10 anni fa
AlexDM0
9a2bec6898
removed node cleanup
10 anni fa
Alex de Mulder
64b2c78e00
Removed move callbacks
10 anni fa
Alex de Mulder
cfadb05e3a
bugfix
10 anni fa
Alex de Mulder
42c2adf009
prepared for supernodes. Cleaned code
10 anni fa
Alex de Mulder
700e735336
added cubic bezier curves.
10 anni fa