Skip to content

Opacity for nodes and link with 2D graph #533

Discussion options

You must be logged in to vote

@JacobHamelMottiez you can use the nodeColor/linkColor props to set the opacities via the alpha channel.

For example:

linkColor={() => "rgba(255, 0, 0, 0.35)"}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JacobHamelMottiez
Comment options

Answer selected by JacobHamelMottiez
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants