Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

custom shapes for nodes #4

Open
vronk opened this issue Nov 4, 2019 · 1 comment
Open

custom shapes for nodes #4

vronk opened this issue Nov 4, 2019 · 1 comment

Comments

@vronk
Copy link

vronk commented Nov 4, 2019

Allow for custom shapes for nodes (instead of default circles) based on their type/category.

See similar experimental feature in graphviewer:

screen_graphviewer_customshapes

While at that:

  • ideally, this would be SVGs that still can be scaled according to the size of the node, but if not whatever works.
  • allowing styling of the nodes in general - e.g. to define stable colours for nodes based on their category
  • nice to have (not sure if needed): binding the style to any property of the node.
@stefanprobst
Copy link
Collaborator

  • the Visualization component now accepts a nodeImage property, see here for a basic example (2d only for now).
  • node color by category is already possible. if a node has no explicit color property, we fall back to the color defined on types.nodes.color.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants