Skip to content

Commit

Permalink
Bump 2.3.0 and update README.md (#256)
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Dupuy <[email protected]>
  • Loading branch information
flo-dup committed Jul 16, 2021
1 parent 6dace08 commit e0e15b0
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 15 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,17 @@ and additionally for this example three other ones: two for the `Network` test c
<dependency>
<groupId>com.powsybl</groupId>
<artifactId>powsybl-iidm-impl</artifactId>
<version>4.2.0</version>
<version>4.3.1</version>
</dependency>
<dependency>
<groupId>com.powsybl</groupId>
<artifactId>powsybl-iidm-test</artifactId>
<version>4.2.0</version>
<version>4.3.1</version>
</dependency>
<dependency>
<groupId>com.powsybl</groupId>
<artifactId>powsybl-config-test</artifactId>
<version>4.2.0</version>
<version>4.3.1</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
Expand All @@ -76,14 +76,14 @@ After adding the single line diagram core module dependency:
<dependency>
<groupId>com.powsybl</groupId>
<artifactId>powsybl-single-line-diagram-core</artifactId>
<version>2.2.0</version>
<version>2.3.0</version>
</dependency>
```

We can generate a SVG for the voltage level `N`:
```java
// "Convergence" style component library
ComponentLibrary componentLibrary = new ResourcesComponentLibrary("/ConvergenceLibrary");
ComponentLibrary componentLibrary = new ConvergenceComponentLibrary();

// fully automatic layout
VoltageLevelLayoutFactory voltageLevelLayoutFactory = new PositionVoltageLevelLayoutFactory(new PositionByClustering());
Expand All @@ -96,7 +96,7 @@ VoltageLevelDiagram voltageLevelDiagram = VoltageLevelDiagram.build(new NetworkG
LayoutParameters layoutParameters = new LayoutParameters()
.setAdaptCellHeightToContent(true)
.setTooltipEnabled(true)
.setCssInternal(true);
.setCssLocation(LayoutParameters.CssLocation.INSERTED_IN_SVG);

// generate SVG
voltageLevelDiagram.writeSvg("",
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<relativePath/>
</parent>
<artifactId>powsybl-single-line-diagram</artifactId>
<version>2.3.0-SNAPSHOT</version>
<version>2.3.0</version>
<packaging>pom</packaging>

<name>Single line diagram</name>
Expand Down
2 changes: 1 addition & 1 deletion single-line-diagram-cgmes/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<parent>
<artifactId>powsybl-single-line-diagram</artifactId>
<groupId>com.powsybl</groupId>
<version>2.3.0-SNAPSHOT</version>
<version>2.3.0</version>
</parent>

<artifactId>powsybl-single-line-diagram-cgmes</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<parent>
<groupId>com.powsybl</groupId>
<artifactId>powsybl-single-line-diagram-cgmes</artifactId>
<version>2.3.0-SNAPSHOT</version>
<version>2.3.0</version>
</parent>

<artifactId>powsybl-single-line-diagram-cgmes-dl-conversion</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<parent>
<groupId>com.powsybl</groupId>
<artifactId>powsybl-single-line-diagram-cgmes</artifactId>
<version>2.3.0-SNAPSHOT</version>
<version>2.3.0</version>
</parent>

<artifactId>powsybl-single-line-diagram-cgmes-iidm-extensions</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<parent>
<groupId>com.powsybl</groupId>
<artifactId>powsybl-single-line-diagram-cgmes</artifactId>
<version>2.3.0-SNAPSHOT</version>
<version>2.3.0</version>
</parent>

<artifactId>powsybl-single-line-diagram-cgmes-layout</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion single-line-diagram-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<parent>
<groupId>com.powsybl</groupId>
<artifactId>powsybl-single-line-diagram</artifactId>
<version>2.3.0-SNAPSHOT</version>
<version>2.3.0</version>
</parent>

<artifactId>powsybl-single-line-diagram-core</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion single-line-diagram-distribution/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<parent>
<artifactId>powsybl-single-line-diagram</artifactId>
<groupId>com.powsybl</groupId>
<version>2.3.0-SNAPSHOT</version>
<version>2.3.0</version>
</parent>

<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion single-line-diagram-force-layout/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<parent>
<artifactId>powsybl-single-line-diagram</artifactId>
<groupId>com.powsybl</groupId>
<version>2.3.0-SNAPSHOT</version>
<version>2.3.0</version>
</parent>

<artifactId>powsybl-single-line-diagram-force-layout</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion single-line-diagram-iidm-extensions/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<parent>
<groupId>com.powsybl</groupId>
<artifactId>powsybl-single-line-diagram</artifactId>
<version>2.3.0-SNAPSHOT</version>
<version>2.3.0</version>
</parent>

<artifactId>powsybl-single-line-diagram-iidm-extensions</artifactId>
Expand Down

0 comments on commit e0e15b0

Please sign in to comment.