Skip to content

Commit 37233b7

Browse files
committed
Update force document
1 parent db89ed1 commit 37233b7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,9 @@ struct MyGraph: View {
167167
}
168168

169169
} force: {
170-
LinkForce()
171-
CenterForce()
172-
ManyBodyForce()
170+
.link()
171+
.center()
172+
.manyBody()
173173
}
174174
}
175175
}

Sources/Grape/Grape.docc/CreatingAForceDirectedGraph.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ struct MyGraph: View {
8383
LinkMark(from: from, to: to)
8484
}
8585
} force: {
86-
ManyBodyForce()
87-
LinkForce()
88-
CenterForce()
86+
.manyBody()
87+
.link()
88+
.center()
8989
}
9090
}
9191
}

0 commit comments

Comments
 (0)