Skip to content

2.0.0-rc1

Pre-release
Pre-release
Compare
Choose a tag to compare
@brunomnsilva 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 in smartgraph.properties
      • Can be set/changed at runtime through a SmartShapeTypeProvider or SmartShapeTypeSource annotation.
    • The radius of the shape (enclosing circle) used to represent a vertex can be set/changed at runtime through a SmartRadiusProvider or SmartRadiusSource annotation.

    • Updated shapes and radii are only reflected in the visualization after calling SmartGraphPanel.update() or SmartGraphPanel.updateAndWait().

    • Improvements:

      • When dragging nodes, they will be kept within the panel's bounds.
      • The look of curved edges has been improved.