{"repo":"li3zhen1/Grape","free":true,"listed":false,"github":"https://github.com/li3zhen1/Grape","clone":"git clone https://github.com/li3zhen1/Grape.git","description":"A Swift library for graph visualization and efficient force simulation.","language":"Swift","stars":401,"topics":["force-directed-graphs","graph","simulation","swift","swiftui","visualization","physics-simulation"],"license":"MIT","category":"mobile-apps","readme_excerpt":"Grape &thinsp; A Swift library for graph visualization and efficient force simulation. Examples Force Directed Graph This is a force directed graph visualizing the network of character co-occurence in Les Misérables . Take a closer look at the animation: https://github.com/swiftgraphs/Grape/assets/45376537/d80dc797-1980-4755-85b9-18ee26e2a7ff Source code: Miserables.swift. Force Directed Graph in visionOS This is the same graph as the first example, rendered in RealityView : https://github.com/swiftgraphs/Grape/assets/45376537/4585471e-2339-4aee-8f39-0c11fdfb6901 Source code: ForceDirectedGraph3D/ContentView.swift. Mermaid Visualization Dynamical graph structure based on your input, with tap and drag gesture supports, all within 100 lines of view body. https://github.com/swiftgraphs/Grape/assets/45376537/7c75d367-d5a8-4316-813b-288b375f513b Source code: MermaidVisualization.swift Lattice Simulation A 36x36 force directed lattice. https://github.com/swiftgraphs/Grape/assets/45376537/5b76fddc-dd5c-4d35-bced-29c01269dd2b Source code: Lattice.swift Dragging Gesture An example rendering a ring with 60 vertices, with dragging gesture enabled. https://github.com/swiftgraphs/Grape/assets/45376537/73213e7f-73ee-44f3-9b3e-7e58355045d2 Source code: MyRing.swift Installation To use Grape in an Xcode project by adding it to your project as a package: To use Grape in a SwiftPM project, add this to your Package.swift : [!NOTE] The Grape module relies on the Observation framework. It’s possi","default_branch":null,"files":null,"tree":[],"storefront":"/r/li3zhen1","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/li3zhen1/Grape/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}