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
easleydp
3b27f47995
Fix YUI Compressor incompatibilities and in so doing improve general JavaScript correctness ( #2452 )
8 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
yoavdamri
eeba7fd05d
feat: add pointer position to zoom event ( #2377 )
* add pointer position to zoom event
* Update docs with zoom api
8 years ago
David Anderson
b31ae149f0
label margins for box, circle, database, icon and text nodes. ( #2343 )
8 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
Alexander Wunschik
dc2c233b55
added arrow-type 'circle'; fixes #1993
8 years ago
Alexander Wunschik
cd29400412
only use shape.radius if availible; fixes #1625 ( #2005 )
8 years ago
Chas Honton
dd3639f2ad
decrease whitespace in ellipses having long text
8 years ago
André Martins
944511f4c7
Fixed getPoint for same node edges
Signed-off-by: André Martins <aanm90@gmail.com>
8 years ago
abxu
9af8c49193
Fixed updating arrows with the string type
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
a95aa84b18
Some more fixes regarding custom id fields
8 years ago
jos
4a720969e1
Fixed #1707 : Network not supporting data with a custom id field
8 years ago
Alex de Mulder
43472862bc
- Fixed #1672 : Implemented stepped scaling for nice interpolation of images.
- Added interpolation option for interpolation of images, default true.
8 years ago
Alex de Mulder
53d37f1344
Fixed #1635 : edges are now referring to the correct points
9 years ago
Felix Hayashi
81510b63dd
Fixed wrong variable reference
see #1608
9 years ago
Alex de Mulder
c32aa90a91
Fixed #1597 : Allow zero borders and addressed scaling artifacts.
unified border calculation. Needs to be centralized to avoid duplication.
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
d7eee2275c
made database shape box a rectangle
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
589093d502
- Fixed #1406 , control nodes are now drawn immediately without a second redraw.
9 years ago
Alex de Mulder
53cc2f62ba
Fixed #1531 , #1335 : border distances for arrow positioning
9 years ago
Alex de Mulder
486cf53055
Added a debug mode to visualize the forces on nodes (very cool :))
9 years ago
Alex de Mulder
4d8a2598f0
reevaluated object bridging over extending. New implementations to prevent bugs.
9 years ago
Alex de Mulder
349017cf85
- Fixed #1416 : Fixed error in improvedLayout.
9 years ago
Alex de Mulder
3c9b849241
- Fixed #1414 : Fixed color references for nodes and edges.
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
0ec249ff5c
updated to SNAPSHOT 4.8.3
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
fd48470add
- Fixed arrows with some shapes when they are selected. #1292
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
ab88ca5299
- Fixed scaling not doing anything to edges.
9 years ago
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
9 years ago
Coleman Kane
37fbe7f43c
Fix a typo and swap SHR for mul-by-coeff
9 years ago
Coleman Kane
b5c59a547d
Remove the "must be a box" requirement.
Theoretically, there are multiple node shape types that this could apply to.
9 years ago
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.
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
9b83e2ca0f
- Fixed dynamic updating of label properties.
9 years ago
Alex de Mulder
6e01279eaa
- Fixed #1152 , updating images now works.
9 years ago
AlexDM0
9a2bec6898
removed node cleanup
9 years ago
Alex de Mulder
64b2c78e00
Removed move callbacks
9 years ago
Alex de Mulder
cfadb05e3a
bugfix
9 years ago