cytoscape / cytoscape.js

Graph theory (network) library for visualisation and analysis

Home Page:https://js.cytoscape.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Requestion: shape of node

yealicjswo opened this issue · comments

Description of new feature

What should the new feature do? For visual features, include an image/mockup of the expected output.
I want to shape a node like a tornado, where multiple edges are added at once to form the shape.(inside red square)
Screen Shot 2024-04-18 at 9 43 08 AM

Motivation for new feature

Describe your use case for this new feature.
I've done the graph visualization guideline for applying into our company's prodicts(graph moedling, analysis/ ETL) or sharing the guide with parterns.

For reviewers

Reviewers should ensure that the following tasks are carried out for incorporated issues:

  • [o] Ensure that the reporter has adequately described their idea. If not, elicit more information about the use case. You should iteratively build a spec together.
  • [o] Ensure that the issue is a good fit for the core library. Some things are best done in extensions (e.g. UI-related features that aren't style-related). Some things are best done by app authors themselves -- instead of in Cytoscape libraries.
  • [o] The issue has been associated with a corresponding milestone.
  • [o] The commits have been incorporated into the unstable branch via pull request. The corresponding pull request is cross-referenced.

You can create your own polygon node shapes using the "shape":"polygon" and "shape-polygon-points":[...] style properties. More details are in the docs here: https://js.cytoscape.org/#style/node-body

@mikekucera thanks! will try it.