Skip to content

Commit ce73158

Browse files
committed
Bump versions to 1.1.0
1 parent 36fec0e commit ce73158

4 files changed

Lines changed: 9 additions & 4 deletions

File tree

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,12 @@ through a [force-directed algorithm](https://en.wikipedia.org/wiki/Force-directe
2121

2222
## Documentation
2323

24-
### What's **new**?
24+
### What's new?
25+
26+
- (1.1.0) Automatic layout is now performed through an instantiated *strategy*. There are two available (but the pattern allows for the user to devise others):
27+
28+
- `ForceDirectedSpringSystemLayoutStrategy`: this is the original implementation for the automatic placement, through a spring system;
29+
- `ForceDirectedSpringGravityLayoutStrategy`: (**new**) this is a variant of the spring system implementation, but with a gravity pull towards the center of the panel. This is now the default strategy and has the advantage of not repelling isolated vertices and/or bipartite graphs to the edges of the panel.
2530

2631
- (1.0.0) Package now available through [Maven Central](https://central.sonatype.com/namespace/com.brunomnsilva). The library seems stable, after dozens of college projects of my students have used it. Hence, the version was bumped to 1.0.0.
2732

pom.xml

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

77
<groupId>com.brunomnsilva</groupId>
88
<artifactId>smartgraph</artifactId>
9-
<version>1.0.0</version>
9+
<version>1.1.0</version>
1010
<packaging>jar</packaging>
1111

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

smartgraph.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ edge.arrowsize = 5
2424

2525
# Force-directed layout related configurations
2626
#
27-
# Notice: deprecated since version 2. Force directed layout strategies are now
27+
# Notice: deprecated since version 1.1. Force directed layout strategies are now
2828
# instantiated and can be swapped at runtime, per the Strategy design pattern.
2929
# The parameters are passed as arguments or one can use the default ones described
3030
# in the javadoc documentation.

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=1.0.0
25+
project.version=1.1.0

0 commit comments

Comments
 (0)