File tree Expand file tree Collapse file tree 2 files changed +5
-16
lines changed Expand file tree Collapse file tree 2 files changed +5
-16
lines changed Original file line number Diff line number Diff line change @@ -39,12 +39,12 @@ Grape supports localization features. You can localize the labels in the graph v
39
39
* `` GraphComponent ``
40
40
41
41
### Adding interactivity
42
- * `` View/graphOverlay(_:content:) ``
43
- * `` View/graphBackground(_:content:) ``
44
42
* `` GraphProxy ``
45
- * `` View/withGraphTapGesture(_:action:) ``
46
- * `` View/withGraphDragGesture(_:action:) ``
47
- * `` View/withGraphMagnifyGesture(_:action:) ``
43
+ * `` SwiftUICore/View/graphOverlay(alignment:content:) ``
44
+ * `` SwiftUICore/View/graphBackground(alignment:content:) ``
45
+ * `` SwiftUICore/View/withGraphTapGesture(_:action:) ``
46
+ * `` SwiftUICore/View/withGraphDragGesture(_:action:) ``
47
+ * `` SwiftUICore/View/withGraphMagnifyGesture(_:action:) ``
48
48
49
49
### Managing the view state
50
50
Original file line number Diff line number Diff line change @@ -182,14 +182,6 @@ public final class ForceDirectedGraphModel<NodeID: Hashable> {
182
182
@usableFromInline
183
183
var _onTicked : ( ( UInt ) -> Void ) ? = nil
184
184
185
- @usableFromInline
186
- var _onNodeDragChanged : ( ( NodeID , CGPoint ) -> Void ) ? = nil
187
-
188
- @usableFromInline
189
- var _onNodeDragEnded : ( ( NodeID , CGPoint ) -> Bool ) ? = nil
190
-
191
- // @usableFromInline
192
- // var _onNodeTapped: ((NodeID?) -> Void)? = nil
193
185
194
186
@usableFromInline
195
187
var _onViewportTransformChanged : ( ( ViewportTransform , Bool ) -> Void ) ? = nil
@@ -200,9 +192,6 @@ public final class ForceDirectedGraphModel<NodeID: Hashable> {
200
192
@usableFromInline
201
193
var _emittingNewNodesWith : ( NodeID ) -> KineticState
202
194
203
- @usableFromInline
204
- var _onGraphMagnified : ( ( ) -> Void ) ? = nil
205
-
206
195
// records the transform right before a magnification gesture starts
207
196
public var obsoleteState = ObsoleteState ( cgSize: . zero)
208
197
You can’t perform that action at this time.
0 commit comments