plotly / react-cytoscapejs

React component for Cytoscape.js network visualisations
MIT License
470 stars 69 forks source link

Question: Styling & Layout #123

Closed ctrlaltaf closed 3 months ago

ctrlaltaf commented 11 months ago

I am trying to generate a graph, where a node is labeled as the core node, and there will always be sub paths branching out of this code node (of varying lengths). Is there a layout out there that would do this, or if someone has some direction I would highly appreciate this. Below is a toddler sketch of what I am envisioning the graph to look like. Thank you!

Screenshot 2023-09-22 at 10 18 22 AM
snakeM commented 7 months ago

Using the concentric layout would probably be your best bet. Demo: https://js.cytoscape.org/demos/concentric-layout/