https://github.com/saravanabalagi/react_d3_graph_sample
React D3 Library full screen minimal example
https://github.com/saravanabalagi/react_d3_graph_sample
react-d3-graph
Last synced: 7 months ago
JSON representation
React D3 Library full screen minimal example
- Host: GitHub
- URL: https://github.com/saravanabalagi/react_d3_graph_sample
- Owner: saravanabalagi
- License: mit
- Created: 2023-01-13T23:48:56.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-14T00:27:29.000Z (over 3 years ago)
- Last Synced: 2024-12-25T20:40:56.488Z (over 1 year ago)
- Topics: react-d3-graph
- Language: JavaScript
- Homepage: https://saravanabalagi.github.io/react_d3_graph_sample/
- Size: 530 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# React D3 Graph Sample
This is a minimal example using react-d3-graph library. Demo [here](https://saravanabalagi.github.io/react_d3_graph_sample).
## Properties
- Graph SVG spans the entire width and height of the container div (by default, the library adds a static height 400px and width 800px ATTOW)
- Nodes and links are initiated, centered in graph, and distributed without overlaps
## Bugs:
- Starting position of nodes are not deterministic
- Does NOT work with React 18 due to `UNSAFE_componentWillReceiveProps` error