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
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