plotly / react-cytoscapejs

React component for Cytoscape.js network visualisations
MIT License
483 stars 68 forks source link

Question: Styling & Layout #123

Closed ctrlaltaf closed 6 months ago

ctrlaltaf commented 1 year 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 10 months ago

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