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

override normal flowchart arrowhead to allow css styling #376

Merged
merged 1 commit into from
Jul 20, 2016

Conversation

dodoinblue
Copy link
Contributor

The arrowhead style in flowchart is hard-coded and cannot be changed. The default color #333 can be hardly visible against dark backgrounds. See issue #362.

Since the normal arrowhead used in flowchart is defined in dagre-d3 package and cannot be modified, I overrided it and added a class to the path, and removed the default style.

I also modified the css files so that the default arrowhead color is the same with line color.

@knsv
Copy link
Collaborator

knsv commented Jul 20, 2016

Great! A good improvement. Thanks

@knsv knsv merged commit f9491ef into mermaid-js:master Jul 20, 2016
mgenereu pushed a commit to mgenereu/mermaid that referenced this pull request Jun 25, 2022
…yarn/develop/js-base64-3.7.1

chore(deps): bump js-base64 from 3.7.0 to 3.7.1
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

Successfully merging this pull request may close these issues.

None yet

2 participants