Skip to content

Commit c711bf7

Browse files
Tests
1 parent 58e34d4 commit c711bf7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/modules/ROOT/pages/alpha-algorithms/k-minimum-weight-spanning-tree.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ By setting the `k=3`, we define that we want to find a 3-minimum spanning tree t
129129
--
130130
[source, cypher, role=noplay]
131131
----
132-
MATCH (n:Place{id: 'D'})
132+
MATCH (n:Place{id: 'A'})
133133
CALL gds.alpha.kSpanningTree.write('graph', {
134134
k: 3,
135135
sourceNode: id(n),
@@ -159,12 +159,12 @@ RETURN n.id As Place, p as Partition
159159
[opts="header",cols="1,1"]
160160
|===
161161
| Place | Partition
162-
| "A" | 1
163-
| "B" | 1
164-
| "C" | 1
162+
| "A" | 0
163+
| "B" | 0
164+
| "C" | 0
165165
|===
166166
--
167-
Nodes A, B, and C are the result 3-minimum spanning tree of our graph.
167+
Nodes A, B, and C form the discovered 3-minimum spanning tree of our graph.
168168

169169
=== Maximum K-Spanning Tree example
170170

0 commit comments

Comments
 (0)