2.0.0-rc1
Pre-release
Pre-release
·
92 commits
to master
since this release
-
(2.0.0-rc1) Shapes, sizes, providers, annotations and minor improvements:
-
Different shapes can be used to represent vertices, namely circles, stars and regular polygons (from triangles to dodecagons);
- The default shape can be specified with the
vertex.shapeproperty insmartgraph.properties - Can be set/changed at runtime through a
SmartShapeTypeProviderorSmartShapeTypeSourceannotation.
- The default shape can be specified with the
-
The radius of the shape (enclosing circle) used to represent a vertex can be set/changed at runtime through a
SmartRadiusProviderorSmartRadiusSourceannotation. -
Updated shapes and radii are only reflected in the visualization after calling
SmartGraphPanel.update()orSmartGraphPanel.updateAndWait(). -
Improvements:
- When dragging nodes, they will be kept within the panel's bounds.
- The look of curved edges has been improved.
-