2.0.0-rc1
Pre-release
Pre-release
brunomnsilva
released this
19 Mar 17:31
·
40 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.shape
property insmartgraph.properties
- Can be set/changed at runtime through a
SmartShapeTypeProvider
orSmartShapeTypeSource
annotation.
- 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
SmartRadiusProvider
orSmartRadiusSource
annotation. -
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.
-