├── .github └── workflows │ └── swift.yml ├── .gitignore ├── .spi.yml ├── .swift-format ├── Assets ├── ForceDirectedGraphLight.png ├── Grape.blend ├── SimulationDiagram.svg ├── grape_icon.png └── grape_icon_256.png ├── DocPostprocess.swift ├── Examples ├── ForceDirectedGraph3D │ ├── ForceDirectedGraph3D.xcodeproj │ │ ├── project.pbxproj │ │ └── project.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcshareddata │ │ │ └── IDEWorkspaceChecks.plist │ ├── ForceDirectedGraph3D │ │ ├── Assets.xcassets │ │ │ ├── AppIcon.solidimagestack │ │ │ │ ├── Back.solidimagestacklayer │ │ │ │ │ ├── Content.imageset │ │ │ │ │ │ └── Contents.json │ │ │ │ │ └── Contents.json │ │ │ │ ├── Contents.json │ │ │ │ ├── Front.solidimagestacklayer │ │ │ │ │ ├── Content.imageset │ │ │ │ │ │ └── Contents.json │ │ │ │ │ └── Contents.json │ │ │ │ └── Middle.solidimagestacklayer │ │ │ │ │ ├── Content.imageset │ │ │ │ │ └── Contents.json │ │ │ │ │ └── Contents.json │ │ │ └── Contents.json │ │ ├── ContentView.swift │ │ ├── Data.swift │ │ ├── ForceDirectedGraph3DApp.swift │ │ ├── Info.plist │ │ └── Preview Content │ │ │ └── Preview Assets.xcassets │ │ │ └── Contents.json │ └── Packages │ │ └── RealityKitContent │ │ ├── .build │ │ └── workspace-state.json │ │ ├── Package.realitycomposerpro │ │ ├── ProjectData │ │ │ └── main.json │ │ └── WorkspaceData │ │ │ ├── SceneMetadataList.json │ │ │ └── Settings.rcprojectdata │ │ ├── Package.swift │ │ ├── README.md │ │ └── Sources │ │ └── RealityKitContent │ │ ├── RealityKitContent.rkassets │ │ ├── Materials │ │ │ └── GridMaterial.usda │ │ └── Scene.usda │ │ └── RealityKitContent.swift └── ForceDirectedGraphExample │ ├── ForceDirectedGraphExample.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ └── IDEWorkspaceChecks.plist │ └── xcshareddata │ │ └── xcschemes │ │ └── ForceDirectedGraphExample.xcscheme │ └── ForceDirectedGraphExample │ ├── Assets.xcassets │ ├── AccentColor.colorset │ │ └── Contents.json │ ├── AppIcon.appiconset │ │ └── Contents.json │ └── Contents.json │ ├── ContentView.swift │ ├── Data.swift │ ├── ForceDirectedGraphExample.entitlements │ ├── ForceDirectedGraphExampleApp.swift │ ├── GraphStateToolbar.swift │ ├── Lattice.swift │ ├── MermaidVisualization.swift │ ├── Miserables.swift │ ├── MyRing.swift │ └── Preview Content │ └── Preview Assets.xcassets │ └── Contents.json ├── LICENSE ├── Package.swift ├── README.md ├── Sources ├── ForceSimulation │ ├── ForceProtocol.swift │ ├── ForceSimulation.docc │ │ ├── CreatingASimulationWithBuiltinForces.md │ │ ├── Documentation.md │ │ ├── Resources │ │ │ ├── ForceDirectedGraph.png │ │ │ └── SimulationDiagram.svg │ │ └── theme-settings.json │ ├── Forces │ │ ├── CenterForce.swift │ │ ├── CollideForce.swift │ │ ├── CompositedForce.swift │ │ ├── EmptyForce.swift │ │ ├── KDTreeForce.swift │ │ ├── LinkForce.swift │ │ ├── ManyBodyForce.swift │ │ ├── PackedForce.swift │ │ ├── PositionForce.swift │ │ ├── RadialForce.swift │ │ ├── SealedForce2D.swift │ │ └── SealedForce3D.swift │ ├── KDTree │ │ ├── BufferedKDTree.swift │ │ ├── KDBox.swift │ │ ├── KDTree.swift │ │ ├── KDTreeDelegate.swift │ │ └── KDTreeNode.swift │ ├── Kinetics.swift │ ├── Simulation.swift │ └── Utils │ │ ├── AttributeDescriptor.swift │ │ ├── Disposable.swift │ │ ├── EdgeID.swift │ │ ├── LinearCongruentialGenerator.swift │ │ ├── SimulatableVector.swift │ │ └── UnsafeArray.swift └── Grape │ ├── Contents │ ├── AnyGraphContent.swift │ ├── GraphContent.swift │ ├── GraphContentBuilder.swift │ ├── LinkMark.swift │ ├── ModifiedGraphContent.swift │ ├── NodeMark.swift │ ├── Series.swift │ ├── _ArrayGraphContent.swift │ ├── _ConditionalGraphContent.swift │ ├── _EmptyGraphContent.swift │ ├── _IdentifiableNever.swift │ ├── _OptionalGraphContent.swift │ └── _PairedGraphContent.swift │ ├── Descriptors │ └── ForceDescriptor.swift │ ├── Gestures │ ├── GraphDragGesture.swift │ ├── GraphMagnifyGesture.swift │ └── GraphTapGesture.swift │ ├── Grape.docc │ ├── CreatingAForceDirectedGraph.md │ ├── Documentation.md │ ├── Images │ │ └── article.svg │ ├── Resources │ │ ├── BasicExample.png │ │ ├── ForceDirectedGraph.png │ │ ├── GrapeOverview.png │ │ ├── GrapeOverview~dark.png │ │ └── SimulationDiagram.svg │ ├── StateManagementAndEliminatingRedundantRerenders.md │ └── theme-settings.json │ ├── Modifiers │ ├── AnyGraphContentModifier.swift │ ├── Effects │ │ ├── GrapeEffect.ForegroundStyle.swift │ │ ├── GrapeEffect.Label.swift │ │ ├── GrapeEffect.Opacity.swift │ │ ├── GrapeEffect.Stroke.swift │ │ ├── GrapeEffect.Symbol.swift │ │ ├── GrapeEffect.SymbolSize.swift │ │ ├── GrapeEffect._LinkShape.swift │ │ └── GrapeEffect.swift │ ├── GraphContent+GraphContentModifiers.swift │ ├── GraphContentModifier.swift │ ├── GraphForegroundScale.swift │ └── GraphProxy.swift │ ├── Utils │ ├── CoreGraphics+SIMD.swift │ ├── GraphProtocol.swift │ ├── KeyFrame.swift │ ├── LinkShape.swift │ ├── RasterizedViewStore.swift │ ├── Transform.swift │ └── View+CGImage.swift │ └── Views │ ├── ForceDirectedGraph+View.swift │ ├── ForceDirectedGraph.swift │ ├── ForceDirectedGraphModel+Observation.swift │ ├── ForceDirectedGraphModel.findNode.swift │ ├── ForceDirectedGraphModel.swift │ ├── ForceDirectedGraphState.swift │ ├── GraphLayoutInputs.swift │ ├── GraphRenderingContext.swift │ ├── GraphRenderingStates.swift │ ├── RenderOperation.swift │ └── SimulationContext.swift └── Tests ├── ForceSimulationTests ├── ForceTests.swift ├── GKTreeCompareTest.swift ├── MiserableData.swift └── MiserableGraphTest.swift ├── GrapeTests ├── ContentBuilderTests.swift └── GraphContentBuilderTests.swift └── KDTreeTests ├── BufferedKDTreeTests.swift └── KDTreeTests.swift /.github/workflows/swift.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/.github/workflows/swift.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/.gitignore -------------------------------------------------------------------------------- /.spi.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/.spi.yml -------------------------------------------------------------------------------- /.swift-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/.swift-format -------------------------------------------------------------------------------- /Assets/ForceDirectedGraphLight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Assets/ForceDirectedGraphLight.png -------------------------------------------------------------------------------- /Assets/Grape.blend: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Assets/Grape.blend -------------------------------------------------------------------------------- /Assets/SimulationDiagram.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Assets/SimulationDiagram.svg -------------------------------------------------------------------------------- /Assets/grape_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Assets/grape_icon.png -------------------------------------------------------------------------------- /Assets/grape_icon_256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Assets/grape_icon_256.png -------------------------------------------------------------------------------- /DocPostprocess.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/DocPostprocess.swift -------------------------------------------------------------------------------- /Examples/ForceDirectedGraph3D/ForceDirectedGraph3D.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraph3D/ForceDirectedGraph3D.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /Examples/ForceDirectedGraph3D/ForceDirectedGraph3D.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraph3D/ForceDirectedGraph3D.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /Examples/ForceDirectedGraph3D/ForceDirectedGraph3D.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraph3D/ForceDirectedGraph3D.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /Examples/ForceDirectedGraph3D/ForceDirectedGraph3D/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraph3D/ForceDirectedGraph3D/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset/Contents.json -------------------------------------------------------------------------------- /Examples/ForceDirectedGraph3D/ForceDirectedGraph3D/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraph3D/ForceDirectedGraph3D/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Contents.json -------------------------------------------------------------------------------- /Examples/ForceDirectedGraph3D/ForceDirectedGraph3D/Assets.xcassets/AppIcon.solidimagestack/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraph3D/ForceDirectedGraph3D/Assets.xcassets/AppIcon.solidimagestack/Contents.json -------------------------------------------------------------------------------- /Examples/ForceDirectedGraph3D/ForceDirectedGraph3D/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Content.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraph3D/ForceDirectedGraph3D/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Content.imageset/Contents.json -------------------------------------------------------------------------------- /Examples/ForceDirectedGraph3D/ForceDirectedGraph3D/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraph3D/ForceDirectedGraph3D/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Contents.json -------------------------------------------------------------------------------- /Examples/ForceDirectedGraph3D/ForceDirectedGraph3D/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraph3D/ForceDirectedGraph3D/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset/Contents.json -------------------------------------------------------------------------------- /Examples/ForceDirectedGraph3D/ForceDirectedGraph3D/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraph3D/ForceDirectedGraph3D/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Contents.json -------------------------------------------------------------------------------- /Examples/ForceDirectedGraph3D/ForceDirectedGraph3D/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraph3D/ForceDirectedGraph3D/Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /Examples/ForceDirectedGraph3D/ForceDirectedGraph3D/ContentView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraph3D/ForceDirectedGraph3D/ContentView.swift -------------------------------------------------------------------------------- /Examples/ForceDirectedGraph3D/ForceDirectedGraph3D/Data.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraph3D/ForceDirectedGraph3D/Data.swift -------------------------------------------------------------------------------- /Examples/ForceDirectedGraph3D/ForceDirectedGraph3D/ForceDirectedGraph3DApp.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraph3D/ForceDirectedGraph3D/ForceDirectedGraph3DApp.swift -------------------------------------------------------------------------------- /Examples/ForceDirectedGraph3D/ForceDirectedGraph3D/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraph3D/ForceDirectedGraph3D/Info.plist -------------------------------------------------------------------------------- /Examples/ForceDirectedGraph3D/ForceDirectedGraph3D/Preview Content/Preview Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraph3D/ForceDirectedGraph3D/Preview Content/Preview Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /Examples/ForceDirectedGraph3D/Packages/RealityKitContent/.build/workspace-state.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraph3D/Packages/RealityKitContent/.build/workspace-state.json -------------------------------------------------------------------------------- /Examples/ForceDirectedGraph3D/Packages/RealityKitContent/Package.realitycomposerpro/ProjectData/main.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraph3D/Packages/RealityKitContent/Package.realitycomposerpro/ProjectData/main.json -------------------------------------------------------------------------------- /Examples/ForceDirectedGraph3D/Packages/RealityKitContent/Package.realitycomposerpro/WorkspaceData/SceneMetadataList.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraph3D/Packages/RealityKitContent/Package.realitycomposerpro/WorkspaceData/SceneMetadataList.json -------------------------------------------------------------------------------- /Examples/ForceDirectedGraph3D/Packages/RealityKitContent/Package.realitycomposerpro/WorkspaceData/Settings.rcprojectdata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraph3D/Packages/RealityKitContent/Package.realitycomposerpro/WorkspaceData/Settings.rcprojectdata -------------------------------------------------------------------------------- /Examples/ForceDirectedGraph3D/Packages/RealityKitContent/Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraph3D/Packages/RealityKitContent/Package.swift -------------------------------------------------------------------------------- /Examples/ForceDirectedGraph3D/Packages/RealityKitContent/README.md: -------------------------------------------------------------------------------- 1 | # RealityKitContent 2 | 3 | A description of this package. -------------------------------------------------------------------------------- /Examples/ForceDirectedGraph3D/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Materials/GridMaterial.usda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraph3D/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Materials/GridMaterial.usda -------------------------------------------------------------------------------- /Examples/ForceDirectedGraph3D/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Scene.usda: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraph3D/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Scene.usda -------------------------------------------------------------------------------- /Examples/ForceDirectedGraph3D/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraph3D/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.swift -------------------------------------------------------------------------------- /Examples/ForceDirectedGraphExample/ForceDirectedGraphExample.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraphExample/ForceDirectedGraphExample.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /Examples/ForceDirectedGraphExample/ForceDirectedGraphExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraphExample/ForceDirectedGraphExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /Examples/ForceDirectedGraphExample/ForceDirectedGraphExample.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraphExample/ForceDirectedGraphExample.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /Examples/ForceDirectedGraphExample/ForceDirectedGraphExample.xcodeproj/xcshareddata/xcschemes/ForceDirectedGraphExample.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraphExample/ForceDirectedGraphExample.xcodeproj/xcshareddata/xcschemes/ForceDirectedGraphExample.xcscheme -------------------------------------------------------------------------------- /Examples/ForceDirectedGraphExample/ForceDirectedGraphExample/Assets.xcassets/AccentColor.colorset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraphExample/ForceDirectedGraphExample/Assets.xcassets/AccentColor.colorset/Contents.json -------------------------------------------------------------------------------- /Examples/ForceDirectedGraphExample/ForceDirectedGraphExample/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraphExample/ForceDirectedGraphExample/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /Examples/ForceDirectedGraphExample/ForceDirectedGraphExample/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraphExample/ForceDirectedGraphExample/Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /Examples/ForceDirectedGraphExample/ForceDirectedGraphExample/ContentView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraphExample/ForceDirectedGraphExample/ContentView.swift -------------------------------------------------------------------------------- /Examples/ForceDirectedGraphExample/ForceDirectedGraphExample/Data.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraphExample/ForceDirectedGraphExample/Data.swift -------------------------------------------------------------------------------- /Examples/ForceDirectedGraphExample/ForceDirectedGraphExample/ForceDirectedGraphExample.entitlements: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraphExample/ForceDirectedGraphExample/ForceDirectedGraphExample.entitlements -------------------------------------------------------------------------------- /Examples/ForceDirectedGraphExample/ForceDirectedGraphExample/ForceDirectedGraphExampleApp.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraphExample/ForceDirectedGraphExample/ForceDirectedGraphExampleApp.swift -------------------------------------------------------------------------------- /Examples/ForceDirectedGraphExample/ForceDirectedGraphExample/GraphStateToolbar.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraphExample/ForceDirectedGraphExample/GraphStateToolbar.swift -------------------------------------------------------------------------------- /Examples/ForceDirectedGraphExample/ForceDirectedGraphExample/Lattice.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraphExample/ForceDirectedGraphExample/Lattice.swift -------------------------------------------------------------------------------- /Examples/ForceDirectedGraphExample/ForceDirectedGraphExample/MermaidVisualization.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraphExample/ForceDirectedGraphExample/MermaidVisualization.swift -------------------------------------------------------------------------------- /Examples/ForceDirectedGraphExample/ForceDirectedGraphExample/Miserables.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraphExample/ForceDirectedGraphExample/Miserables.swift -------------------------------------------------------------------------------- /Examples/ForceDirectedGraphExample/ForceDirectedGraphExample/MyRing.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraphExample/ForceDirectedGraphExample/MyRing.swift -------------------------------------------------------------------------------- /Examples/ForceDirectedGraphExample/ForceDirectedGraphExample/Preview Content/Preview Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Examples/ForceDirectedGraphExample/ForceDirectedGraphExample/Preview Content/Preview Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/LICENSE -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Package.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/README.md -------------------------------------------------------------------------------- /Sources/ForceSimulation/ForceProtocol.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/ForceSimulation/ForceProtocol.swift -------------------------------------------------------------------------------- /Sources/ForceSimulation/ForceSimulation.docc/CreatingASimulationWithBuiltinForces.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/ForceSimulation/ForceSimulation.docc/CreatingASimulationWithBuiltinForces.md -------------------------------------------------------------------------------- /Sources/ForceSimulation/ForceSimulation.docc/Documentation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/ForceSimulation/ForceSimulation.docc/Documentation.md -------------------------------------------------------------------------------- /Sources/ForceSimulation/ForceSimulation.docc/Resources/ForceDirectedGraph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/ForceSimulation/ForceSimulation.docc/Resources/ForceDirectedGraph.png -------------------------------------------------------------------------------- /Sources/ForceSimulation/ForceSimulation.docc/Resources/SimulationDiagram.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/ForceSimulation/ForceSimulation.docc/Resources/SimulationDiagram.svg -------------------------------------------------------------------------------- /Sources/ForceSimulation/ForceSimulation.docc/theme-settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/ForceSimulation/ForceSimulation.docc/theme-settings.json -------------------------------------------------------------------------------- /Sources/ForceSimulation/Forces/CenterForce.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/ForceSimulation/Forces/CenterForce.swift -------------------------------------------------------------------------------- /Sources/ForceSimulation/Forces/CollideForce.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/ForceSimulation/Forces/CollideForce.swift -------------------------------------------------------------------------------- /Sources/ForceSimulation/Forces/CompositedForce.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/ForceSimulation/Forces/CompositedForce.swift -------------------------------------------------------------------------------- /Sources/ForceSimulation/Forces/EmptyForce.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/ForceSimulation/Forces/EmptyForce.swift -------------------------------------------------------------------------------- /Sources/ForceSimulation/Forces/KDTreeForce.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/ForceSimulation/Forces/KDTreeForce.swift -------------------------------------------------------------------------------- /Sources/ForceSimulation/Forces/LinkForce.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/ForceSimulation/Forces/LinkForce.swift -------------------------------------------------------------------------------- /Sources/ForceSimulation/Forces/ManyBodyForce.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/ForceSimulation/Forces/ManyBodyForce.swift -------------------------------------------------------------------------------- /Sources/ForceSimulation/Forces/PackedForce.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/ForceSimulation/Forces/PackedForce.swift -------------------------------------------------------------------------------- /Sources/ForceSimulation/Forces/PositionForce.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/ForceSimulation/Forces/PositionForce.swift -------------------------------------------------------------------------------- /Sources/ForceSimulation/Forces/RadialForce.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/ForceSimulation/Forces/RadialForce.swift -------------------------------------------------------------------------------- /Sources/ForceSimulation/Forces/SealedForce2D.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/ForceSimulation/Forces/SealedForce2D.swift -------------------------------------------------------------------------------- /Sources/ForceSimulation/Forces/SealedForce3D.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/ForceSimulation/Forces/SealedForce3D.swift -------------------------------------------------------------------------------- /Sources/ForceSimulation/KDTree/BufferedKDTree.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/ForceSimulation/KDTree/BufferedKDTree.swift -------------------------------------------------------------------------------- /Sources/ForceSimulation/KDTree/KDBox.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/ForceSimulation/KDTree/KDBox.swift -------------------------------------------------------------------------------- /Sources/ForceSimulation/KDTree/KDTree.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/ForceSimulation/KDTree/KDTree.swift -------------------------------------------------------------------------------- /Sources/ForceSimulation/KDTree/KDTreeDelegate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/ForceSimulation/KDTree/KDTreeDelegate.swift -------------------------------------------------------------------------------- /Sources/ForceSimulation/KDTree/KDTreeNode.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/ForceSimulation/KDTree/KDTreeNode.swift -------------------------------------------------------------------------------- /Sources/ForceSimulation/Kinetics.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/ForceSimulation/Kinetics.swift -------------------------------------------------------------------------------- /Sources/ForceSimulation/Simulation.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/ForceSimulation/Simulation.swift -------------------------------------------------------------------------------- /Sources/ForceSimulation/Utils/AttributeDescriptor.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/ForceSimulation/Utils/AttributeDescriptor.swift -------------------------------------------------------------------------------- /Sources/ForceSimulation/Utils/Disposable.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/ForceSimulation/Utils/Disposable.swift -------------------------------------------------------------------------------- /Sources/ForceSimulation/Utils/EdgeID.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/ForceSimulation/Utils/EdgeID.swift -------------------------------------------------------------------------------- /Sources/ForceSimulation/Utils/LinearCongruentialGenerator.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/ForceSimulation/Utils/LinearCongruentialGenerator.swift -------------------------------------------------------------------------------- /Sources/ForceSimulation/Utils/SimulatableVector.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/ForceSimulation/Utils/SimulatableVector.swift -------------------------------------------------------------------------------- /Sources/ForceSimulation/Utils/UnsafeArray.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/ForceSimulation/Utils/UnsafeArray.swift -------------------------------------------------------------------------------- /Sources/Grape/Contents/AnyGraphContent.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Contents/AnyGraphContent.swift -------------------------------------------------------------------------------- /Sources/Grape/Contents/GraphContent.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Contents/GraphContent.swift -------------------------------------------------------------------------------- /Sources/Grape/Contents/GraphContentBuilder.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Contents/GraphContentBuilder.swift -------------------------------------------------------------------------------- /Sources/Grape/Contents/LinkMark.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Contents/LinkMark.swift -------------------------------------------------------------------------------- /Sources/Grape/Contents/ModifiedGraphContent.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Contents/ModifiedGraphContent.swift -------------------------------------------------------------------------------- /Sources/Grape/Contents/NodeMark.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Contents/NodeMark.swift -------------------------------------------------------------------------------- /Sources/Grape/Contents/Series.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Contents/Series.swift -------------------------------------------------------------------------------- /Sources/Grape/Contents/_ArrayGraphContent.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Contents/_ArrayGraphContent.swift -------------------------------------------------------------------------------- /Sources/Grape/Contents/_ConditionalGraphContent.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Contents/_ConditionalGraphContent.swift -------------------------------------------------------------------------------- /Sources/Grape/Contents/_EmptyGraphContent.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Contents/_EmptyGraphContent.swift -------------------------------------------------------------------------------- /Sources/Grape/Contents/_IdentifiableNever.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Contents/_IdentifiableNever.swift -------------------------------------------------------------------------------- /Sources/Grape/Contents/_OptionalGraphContent.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Contents/_OptionalGraphContent.swift -------------------------------------------------------------------------------- /Sources/Grape/Contents/_PairedGraphContent.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Contents/_PairedGraphContent.swift -------------------------------------------------------------------------------- /Sources/Grape/Descriptors/ForceDescriptor.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Descriptors/ForceDescriptor.swift -------------------------------------------------------------------------------- /Sources/Grape/Gestures/GraphDragGesture.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Gestures/GraphDragGesture.swift -------------------------------------------------------------------------------- /Sources/Grape/Gestures/GraphMagnifyGesture.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Gestures/GraphMagnifyGesture.swift -------------------------------------------------------------------------------- /Sources/Grape/Gestures/GraphTapGesture.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Gestures/GraphTapGesture.swift -------------------------------------------------------------------------------- /Sources/Grape/Grape.docc/CreatingAForceDirectedGraph.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Grape.docc/CreatingAForceDirectedGraph.md -------------------------------------------------------------------------------- /Sources/Grape/Grape.docc/Documentation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Grape.docc/Documentation.md -------------------------------------------------------------------------------- /Sources/Grape/Grape.docc/Images/article.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Grape.docc/Images/article.svg -------------------------------------------------------------------------------- /Sources/Grape/Grape.docc/Resources/BasicExample.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Grape.docc/Resources/BasicExample.png -------------------------------------------------------------------------------- /Sources/Grape/Grape.docc/Resources/ForceDirectedGraph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Grape.docc/Resources/ForceDirectedGraph.png -------------------------------------------------------------------------------- /Sources/Grape/Grape.docc/Resources/GrapeOverview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Grape.docc/Resources/GrapeOverview.png -------------------------------------------------------------------------------- /Sources/Grape/Grape.docc/Resources/GrapeOverview~dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Grape.docc/Resources/GrapeOverview~dark.png -------------------------------------------------------------------------------- /Sources/Grape/Grape.docc/Resources/SimulationDiagram.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Grape.docc/Resources/SimulationDiagram.svg -------------------------------------------------------------------------------- /Sources/Grape/Grape.docc/StateManagementAndEliminatingRedundantRerenders.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Grape.docc/StateManagementAndEliminatingRedundantRerenders.md -------------------------------------------------------------------------------- /Sources/Grape/Grape.docc/theme-settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Grape.docc/theme-settings.json -------------------------------------------------------------------------------- /Sources/Grape/Modifiers/AnyGraphContentModifier.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Modifiers/AnyGraphContentModifier.swift -------------------------------------------------------------------------------- /Sources/Grape/Modifiers/Effects/GrapeEffect.ForegroundStyle.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Modifiers/Effects/GrapeEffect.ForegroundStyle.swift -------------------------------------------------------------------------------- /Sources/Grape/Modifiers/Effects/GrapeEffect.Label.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Modifiers/Effects/GrapeEffect.Label.swift -------------------------------------------------------------------------------- /Sources/Grape/Modifiers/Effects/GrapeEffect.Opacity.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Modifiers/Effects/GrapeEffect.Opacity.swift -------------------------------------------------------------------------------- /Sources/Grape/Modifiers/Effects/GrapeEffect.Stroke.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Modifiers/Effects/GrapeEffect.Stroke.swift -------------------------------------------------------------------------------- /Sources/Grape/Modifiers/Effects/GrapeEffect.Symbol.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Modifiers/Effects/GrapeEffect.Symbol.swift -------------------------------------------------------------------------------- /Sources/Grape/Modifiers/Effects/GrapeEffect.SymbolSize.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Modifiers/Effects/GrapeEffect.SymbolSize.swift -------------------------------------------------------------------------------- /Sources/Grape/Modifiers/Effects/GrapeEffect._LinkShape.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Modifiers/Effects/GrapeEffect._LinkShape.swift -------------------------------------------------------------------------------- /Sources/Grape/Modifiers/Effects/GrapeEffect.swift: -------------------------------------------------------------------------------- 1 | @usableFromInline 2 | enum GraphContentEffect {} 3 | -------------------------------------------------------------------------------- /Sources/Grape/Modifiers/GraphContent+GraphContentModifiers.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Modifiers/GraphContent+GraphContentModifiers.swift -------------------------------------------------------------------------------- /Sources/Grape/Modifiers/GraphContentModifier.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Modifiers/GraphContentModifier.swift -------------------------------------------------------------------------------- /Sources/Grape/Modifiers/GraphForegroundScale.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Modifiers/GraphForegroundScale.swift -------------------------------------------------------------------------------- /Sources/Grape/Modifiers/GraphProxy.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Modifiers/GraphProxy.swift -------------------------------------------------------------------------------- /Sources/Grape/Utils/CoreGraphics+SIMD.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Utils/CoreGraphics+SIMD.swift -------------------------------------------------------------------------------- /Sources/Grape/Utils/GraphProtocol.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Utils/GraphProtocol.swift -------------------------------------------------------------------------------- /Sources/Grape/Utils/KeyFrame.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Utils/KeyFrame.swift -------------------------------------------------------------------------------- /Sources/Grape/Utils/LinkShape.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Utils/LinkShape.swift -------------------------------------------------------------------------------- /Sources/Grape/Utils/RasterizedViewStore.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Utils/RasterizedViewStore.swift -------------------------------------------------------------------------------- /Sources/Grape/Utils/Transform.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Utils/Transform.swift -------------------------------------------------------------------------------- /Sources/Grape/Utils/View+CGImage.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Utils/View+CGImage.swift -------------------------------------------------------------------------------- /Sources/Grape/Views/ForceDirectedGraph+View.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Views/ForceDirectedGraph+View.swift -------------------------------------------------------------------------------- /Sources/Grape/Views/ForceDirectedGraph.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Views/ForceDirectedGraph.swift -------------------------------------------------------------------------------- /Sources/Grape/Views/ForceDirectedGraphModel+Observation.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Views/ForceDirectedGraphModel+Observation.swift -------------------------------------------------------------------------------- /Sources/Grape/Views/ForceDirectedGraphModel.findNode.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Views/ForceDirectedGraphModel.findNode.swift -------------------------------------------------------------------------------- /Sources/Grape/Views/ForceDirectedGraphModel.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Views/ForceDirectedGraphModel.swift -------------------------------------------------------------------------------- /Sources/Grape/Views/ForceDirectedGraphState.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Views/ForceDirectedGraphState.swift -------------------------------------------------------------------------------- /Sources/Grape/Views/GraphLayoutInputs.swift: -------------------------------------------------------------------------------- 1 | struct GraphLayoutInputs { 2 | 3 | } -------------------------------------------------------------------------------- /Sources/Grape/Views/GraphRenderingContext.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Views/GraphRenderingContext.swift -------------------------------------------------------------------------------- /Sources/Grape/Views/GraphRenderingStates.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Views/GraphRenderingStates.swift -------------------------------------------------------------------------------- /Sources/Grape/Views/RenderOperation.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Views/RenderOperation.swift -------------------------------------------------------------------------------- /Sources/Grape/Views/SimulationContext.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Sources/Grape/Views/SimulationContext.swift -------------------------------------------------------------------------------- /Tests/ForceSimulationTests/ForceTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Tests/ForceSimulationTests/ForceTests.swift -------------------------------------------------------------------------------- /Tests/ForceSimulationTests/GKTreeCompareTest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Tests/ForceSimulationTests/GKTreeCompareTest.swift -------------------------------------------------------------------------------- /Tests/ForceSimulationTests/MiserableData.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Tests/ForceSimulationTests/MiserableData.swift -------------------------------------------------------------------------------- /Tests/ForceSimulationTests/MiserableGraphTest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Tests/ForceSimulationTests/MiserableGraphTest.swift -------------------------------------------------------------------------------- /Tests/GrapeTests/ContentBuilderTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Tests/GrapeTests/ContentBuilderTests.swift -------------------------------------------------------------------------------- /Tests/GrapeTests/GraphContentBuilderTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Tests/GrapeTests/GraphContentBuilderTests.swift -------------------------------------------------------------------------------- /Tests/KDTreeTests/BufferedKDTreeTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Tests/KDTreeTests/BufferedKDTreeTests.swift -------------------------------------------------------------------------------- /Tests/KDTreeTests/KDTreeTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SwiftGraphs/Grape/HEAD/Tests/KDTreeTests/KDTreeTests.swift --------------------------------------------------------------------------------