We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Mermaid should support user control of color in Sankey diagrams. Current syntax is
sankey-beta %% source,target,value foo,a,10 foo,b,10
It would be nice to support,
sankey-beta %% source,target,value,source_color,target_color foo,a,10,red,blue foo,b,10,red,green # or #hex values
No response
The text was updated successfully, but these errors were encountered:
Another approach could be to mention the color of the nodes in the config section:
--- config: sankey: showValues: false colors: source: "#ff0000" target1: "#0000ff" target2: "#00ff00" --- sankey-beta source,target1,40 source,target2,60
I will make a pull request for this, and will work on the tests and documentation later if there was traction.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Proposal
Mermaid should support user control of color in Sankey diagrams. Current syntax is
Example
It would be nice to support,
Screenshots
No response
The text was updated successfully, but these errors were encountered: