Skip to content

Commit

Permalink
add examples
Browse files Browse the repository at this point in the history
  • Loading branch information
li3zhen1 committed Oct 9, 2023
1 parent d57eff2 commit cf53fa9
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
Binary file added Assets/ForceDirectedGraph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions Examples/GrapeView
Submodule GrapeView added at e5e66f
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,22 @@
![swift workflow](https://github.com/li3zhen1/Grape/actions/workflows/swift.yml/badge.svg)


A visualization-purposed force simulation library that behaves like d3-force.
A visualization-purposed force simulation library that behaves like d3-force.


### Examples

This is a force directed graph visualizing the data from [Force Directed Graph Component](https://observablehq.com/@d3/force-directed-graph-component), running at 120FPS on a SwiftUI Canvas.

![Force Directed Graph](./Assets/ForceDirectedGraph.png)

### Features

| Feature | Status |
| --- | --- |
| LinkForce ||
| ManyBodyForce ||
| CenterForce ||
| CollisionForce | |
| PositionForce | |
| RadialForce | |

0 comments on commit cf53fa9

Please sign in to comment.