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

continuous scale node color #656

Open
hannaschmueck opened this issue Nov 23, 2023 · 0 comments
Open

continuous scale node color #656

hannaschmueck opened this issue Nov 23, 2023 · 0 comments

Comments

@hannaschmueck
Copy link

Hi!
I would like to use a normalised continuous colour scale to map node colour i.e. to degree or betweenness centrality. I have access to these values as node attributes, but I could not find an easy way to make this work.
Is there a systematic way to implement d3.scale or chroma.js solutions for achieving this?

See example from Cytoscape (Coninuous Mapping on BetweennessCentrality)

image

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

1 participant