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
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
easleydp
3b27f47995
Fix YUI Compressor incompatibilities and in so doing improve general JavaScript correctness ( #2452 )
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
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
9b83e2ca0f
- Fixed dynamic updating of label properties.
9 years ago
Alex de Mulder
78c5f38568
- Added labelHighlightBold option to edges and nodes.
9 years ago
Alex de Mulder
d1b0c59357
fixed #899 , self referencing edges do not use orientation other than horizontal
9 years ago
Alex de Mulder
c3883970e4
numerous bugfixes, partial progress with examples
9 years ago
Alex de Mulder
5b3f19acb5
fixed viewable area check as per #812
9 years ago
Alex de Mulder
c9a1a88f41
fixed all trello issues and added snazzy option lookup to validator
9 years ago
Alex de Mulder
de5a9a76e6
fixed physics bug
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
867f033078
changed the dashes options, fixed bug
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
jos
6c61e7b418
Renamed Network modules to capital first letter
9 years ago
Alex de Mulder
54c5498e4f
improved (circular) images size handling and label positions
9 years ago
Alex de Mulder
b3580874d1
moved the entire network to triple ===. Bugs arise in scaling
9 years ago
Alex de Mulder
75f5d48b57
bridged label object options, fixed bug with self referencing circles
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
Alex de Mulder
b2178ffcc9
seperated all node styles from the main node object
9 years ago
Alex de Mulder
3fda5397c4
made labels seperate. Needs cleaning up and comments
9 years ago