Skip to content

Commit 9fb1f88

Browse files
committed
Bump to stable version 2.0.0
1 parent df9d273 commit 9fb1f88

File tree

3 files changed

+9
-23
lines changed

3 files changed

+9
-23
lines changed

README.md

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,13 @@ through a [force-directed algorithm](https://en.wikipedia.org/wiki/Force-directe
1515

1616
- Vertices can be freely moved, if the configuration allows it;
1717

18+
- Can use different shapes to represent vertices;
19+
1820
- The appearance of vertices and edges can are determined by a *properties* and a *css stylesheet* files;
1921

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.
2125

2226
## Documentation
2327

@@ -29,33 +33,15 @@ Although one full version number higher than the previous *stable* version (1.1.
2933

3034
: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.
3135

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.
5137

5238
See the [wiki](https://github.com/brunomnsilva/JavaFXSmartGraph/wiki) for the complete changelist.
5339

5440
### Using the library
5541

5642
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).
5743

58-
Example for Maven:
44+
Example for Maven, where `x.y.z` is the library version, e.g., `2.0.0`:
5945

6046
```xml
6147
<dependency>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
<groupId>com.brunomnsilva</groupId>
3232
<artifactId>smartgraph</artifactId>
33-
<version>2.0.0-rc2</version>
33+
<version>2.0.0</version>
3434
<packaging>jar</packaging>
3535

3636
<name>${project.groupId}:${project.artifactId}</name>

version.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222
# THE SOFTWARE.
2323
#
2424

25-
project.version=2.0.0-rc2
25+
project.version=2.0.0

0 commit comments

Comments
 (0)