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

updating shapes after the flow chart rendering complete #424

Closed
smurugu opened this issue Dec 2, 2016 · 2 comments
Closed

updating shapes after the flow chart rendering complete #424

smurugu opened this issue Dec 2, 2016 · 2 comments

Comments

@smurugu
Copy link

smurugu commented Dec 2, 2016

Hi,

First of all thanks for putting together mermaid; i would like to see whether mermaid can support any interactivity on the shapes. Lets say we have a square box which represents a task; based on the task completion i would like update the shape with a border (green for success and red for failure). Is there a way i can do this in mermaid ?

@erdalkaraca
Copy link

You can assign a class or ID to your shapes (nodes) and style them using css.

@tylerlong
Copy link
Collaborator

Yes please read https://mermaidjs.github.io/flowchart.html and check "
Styling and classes" section.

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

3 participants