Skip to content

Commit 4fd6e6a

Browse files
authored
Merge pull request #49 from rabestro/develop
update dependencies for 'Algorithm' module
2 parents 7abbeb6 + 365c1ae commit 4fd6e6a

File tree

4 files changed

+28
-9
lines changed

4 files changed

+28
-9
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,7 @@ flowchart LR
9999
C -->|1| A
100100
C -->|3| B
101101
```
102-
103-
![Small Graph](docs/assets/small.gif)
102+
![Small Graph PlantUML](http://www.plantuml.com/plantuml/svg/bT2n3e8m483XcJv5mmo36EDWQWGMTqV2SD03cXmjQQk9CRwx4CN0fhVTbpyttCbvi5uQpwHgBGmTl_H0n1yiQ8ps6deKuHdfXbxL4ALM0KKEj8iTMjM4BD168Yz-YaiMe6p_gD-tQqF62b9jvokwOX9nv--4eb54ACUjWm55hMnDM1vOaFBuo3DU45H8Ol-bVAPaecoYTARjI7oSR1NkFfglsirIi-M59pkXbkCtNm00)
104103

105104

106105
### Medium Graph Sample
@@ -136,4 +135,7 @@ flowchart LR
136135
H --> |3 | G
137136
```
138137

139-
![Complex Graph](docs/assets/complex.gif)
138+
![Complex Graph](docs/assets/complex.gif)
139+
140+
![Complex Graph PlantUML](http://www.plantuml.com/plantuml/proxy?cache=no&src=https://raw.githubusercontent.com/rabestro/graph-pathfinding-algorithms/master/graph-shell/docs/complex.puml)
141+

algorithm/build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,19 +55,19 @@ publishing {
5555

5656
dependencies {
5757
// Spock Framework
58-
testImplementation 'org.spockframework:spock-core:2.2-groovy-3.0'
59-
testImplementation 'org.codehaus.groovy:groovy-all:3.0.12'
58+
testImplementation 'org.spockframework:spock-core:2.3-groovy-3.0'
59+
testImplementation 'org.codehaus.groovy:groovy-all:3.0.16'
6060

6161
// Spock Reports
62-
testRuntimeClasspath('com.athaydes:spock-reports:2.3.1-groovy-3.0') {
62+
testCompileOnly('com.athaydes:spock-reports:2.4.0-groovy-4.0') {
6363
transitive = false // this avoids affecting your version of Groovy/Spock
6464
}
6565
// Required for spock-reports
66-
testImplementation 'org.slf4j:slf4j-api:2.0.1'
67-
testRuntimeClasspath 'org.slf4j:slf4j-simple:2.0.1'
66+
testImplementation 'org.slf4j:slf4j-api:2.0.5'
67+
testCompileOnly 'org.slf4j:slf4j-simple:2.0.5'
6868

6969
// JUnit 5 Parameterized Tests
70-
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.8.1'
70+
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.9.2'
7171
}
7272

7373
test {

docs/simple.puml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
@startdot
2+
digraph Small {
3+
fontname="Helvetica,Arial,sans-serif"
4+
node [fontname="Helvetica,Arial,sans-serif"]
5+
edge [fontname="Helvetica,Arial,sans-serif"]
6+
node [color=lightblue2, style=filled, shape=circle];
7+
A
8+
A -> B [label=7];
9+
A -> C [label=2];
10+
B -> A [label=3];
11+
B -> C [label=5];
12+
C -> A [label=1];
13+
C -> B [label=3];
14+
}
15+
@enddot

graph-shell/src/script/graph2puml.awk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
#!/usr/bin/env gawk --exec
23
#
34
# Copyright (c) 2023 Jegors Čemisovs
@@ -17,6 +18,7 @@ BEGIN {
1718
}
1819
{
1920
print $1
21+
2022
for (i = 2; i < NF; i += 2)
2123
print $1, "->", $i, "[label=" $(i + 1) "];"
2224
}

0 commit comments

Comments
 (0)