You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-21Lines changed: 7 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,9 +15,13 @@ through a [force-directed algorithm](https://en.wikipedia.org/wiki/Force-directe
15
15
16
16
- Vertices can be freely moved, if the configuration allows it;
17
17
18
+
- Can use different shapes to represent vertices;
19
+
18
20
- The appearance of vertices and edges can are determined by a *properties* and a *css stylesheet* files;
19
21
20
-
- The *styles* can be changed at *runtime*.
22
+
- Can use *annotations* and *providers* to change some properties at runtime, e.g., shape and size of vertices;
23
+
24
+
- The *styles* can be changed at *runtime* programmatically and based on click events.
21
25
22
26
## Documentation
23
27
@@ -29,33 +33,15 @@ Although one full version number higher than the previous *stable* version (1.1.
29
33
30
34
:warning: The only exception is the necessary use of `SmartStylableNode.setStyleInline(...)` instead of `SmartStylableNode.setStyle(...)` to correctly apply inline styles to nodes (vertices and edges). Css classes are set the same way as before.
31
35
32
-
- (2.0.0-rc2) Several minor improvements, including:
33
-
34
-
- Example on how to use a background image for a vertex, see issue \#34.
35
-
36
-
- Styles applied to edges are propagated to their respective arrows, see issue \#31.
37
-
38
-
- (2.0.0-rc1) Shapes, sizes, providers, annotations and minor improvements:
39
-
40
-
- Different shapes can be used to represent vertices, namely circles, stars and regular polygons (from triangles to dodecagons);
41
-
- The default shape can be specified with the `vertex.shape` property in `smartgraph.properties`
42
-
- Can be set/changed at runtime through a `SmartShapeTypeProvider` or `SmartShapeTypeSource` annotation.
43
-
44
-
- The radius of the shape (enclosing circle) used to represent a vertex can be set/changed at runtime through a `SmartRadiusProvider` or `SmartRadiusSource` annotation.
45
-
46
-
- Updated shapes and radii are only reflected in the visualization after calling `SmartGraphPanel.update()` or `SmartGraphPanel.updateAndWait()`.
47
-
48
-
- Improvements:
49
-
- When dragging nodes, they will be kept within the panel's bounds.
50
-
- The look of curved edges has been improved.
36
+
- (2.0.0) :tada: Minor fixes and **stable version** release.
51
37
52
38
See the [wiki](https://github.com/brunomnsilva/JavaFXSmartGraph/wiki) for the complete changelist.
53
39
54
40
### Using the library
55
41
56
42
Binaries and dependency information for Maven, Gradle and others can be found at [http://search.maven.org](https://central.sonatype.com/search?q=g%3Acom.brunomnsilva++a%3Asmartgraph&smo=true).
57
43
58
-
Example for Maven:
44
+
Example for Maven, where `x.y.z` is the library version, e.g., `2.0.0`:
0 commit comments