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

Setting the colour of specific processes #44

Open
jaygut opened this issue Aug 5, 2019 · 1 comment
Open

Setting the colour of specific processes #44

jaygut opened this issue Aug 5, 2019 · 1 comment

Comments

@jaygut
Copy link

jaygut commented Aug 5, 2019

I can’t seem to find a way to color differentially the nodes and make them wider than the default setting. I tried to set this up using a dictionary as follows: {'id': 'Anc', 'title': 'Anc', 'style': 'process', 'color': 'blue', 'stroke-width': '20px’}. But unfortunately nothing seems to work. Is there a way to go around this without altering the CSS style?

@ricklupton
Copy link
Owner

Hey, sorry for the slow reply -- there is some basic alternate styling intended to show "process" nodes differently from nodes that are just grouping flows together (see here) -- so if you are setting 'style': 'process' it should have made the line thicker and grey rather than thin and black.

But beyond that, there is no built-in way to customise this further without using CSS at the moment.

Style customisation options would be a reasonable addition if anyone wants to have a go at adding it!

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

No branches or pull requests

2 participants