Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Allow .node>circle to receive css styles #449

Merged
merged 1 commit into from
Jan 9, 2017

Conversation

bfriedz
Copy link
Contributor

@bfriedz bfriedz commented Jan 6, 2017

Updates the utils.js and utils.spec.js files to support styles for .node>circle.
Addresses issue #443

screen shot 2017-01-05 at 10 10 26 pm

Using this code in circleColorByClassDef.html

    graph LR;
    A((start))-->B(step1);
    B-->C[step2];
    C-->D{step3};
    D-->D2(-step3.5-);
    D2-->E[end];
    classDef yellow fill:#ffff00,stroke:#333,stroke-width:3px;
    class A,B,C,D,D2,E yellow;

@knsv knsv merged commit 4c04001 into mermaid-js:master Jan 9, 2017
@knsv
Copy link
Collaborator

knsv commented Jan 9, 2017

Great! Thanks.

mgenereu pushed a commit to mgenereu/mermaid that referenced this pull request Jun 25, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants