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