Skip to content

Commit e721527

Browse files
committed
Fix docs
1 parent c1eece3 commit e721527

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Sources/Grape/Grape.docc/Documentation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ Grape supports localization features. You can localize the labels in the graph v
6262
* ``ManyBodyForce``
6363
* ``PositionForce``
6464
* ``RadialForce``
65-
* ``SealedForceDescriptor2D``
66-
* ``SealForceDescriptor2DBuilder``
65+
* ``SealedForceDescriptor``
66+
* ``SealedForceDescriptorBuilder``
6767

6868
### Decorating marks
6969

Sources/Grape/Modifiers/GraphProxy.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public struct GraphProxy {
1212
}
1313

1414
@inlinable
15-
public init() {
15+
init() {
1616
self.storage = nil
1717
}
1818

Sources/Grape/Views/ForceDirectedGraph.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ where NodeID == Content.NodeID {
6969
/// the simulation updates, and the actual frame rate may be different.
7070
/// - graph: The graph content. The `ForceDirectedGraph` will observe the changes of the graph content
7171
/// and try to update the elements with minimal changes across the parameter updates.
72-
/// - force: The forces to be applied to the graph.
72+
/// - buildForce: The forces to be applied to the graph.
7373
/// - emittingNewNodesWithStates: Tells the simulation where to place the new nodes and provide their
7474
/// initial kinetic states. This is only applied on the new nodes that is not seen before when the
7575
/// graph is created (or updated).

0 commit comments

Comments
 (0)