diff --git a/Sources/Grape/Grape.docc/CreatingAForceDirectedGraph.md b/Sources/Grape/Grape.docc/CreatingAForceDirectedGraph.md index 571270c..28c308e 100644 --- a/Sources/Grape/Grape.docc/CreatingAForceDirectedGraph.md +++ b/Sources/Grape/Grape.docc/CreatingAForceDirectedGraph.md @@ -92,7 +92,7 @@ struct MyGraph: View { ForceDirectedGraph { Series(myNodes) { id in NodeMark(id: id) - .foregroundColor(.blue) + .foregroundStyle(.blue) } Series(myLinks) { from, to in LinkMark(from: from, to: to)