-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
sequence diagram config issue #385
Comments
Seconded... I've got a sequence diagram that's not registering the config: mermaid.initialize({
startOnLoad:true,
sequenceDiagram:{
mirrorActors:false
}
})
|
Very odd. I just tried this with the following example file withtout beeing able to reproduce the issue: What version of mermaid are you trying this with? |
I'm loading https://cdn.rawgit.com/knsv/mermaid/0.5.8/dist/mermaid.min.js at the end of the page. |
Ok, I've just tried and it looks like the initialize call works fine if the script tag is in the head tag instead of the body, though that's somewhat inconvenient for my current use. |
Latest syntax is mermaid.initialize({
sequence:{
...
}
}) |
Still not working here, could you please disambiguate: |
By default |
sequence diagrams aren't always picking up the config:
example config:
mermaid.sequenceConfig = {
diagramMarginX:50,
diagramMarginY:10,
boxTextMargin:5,
noteMargin:10,
messageMargin:35,
mirrorActors:true
};
more details on issue: tylerlong/markdown-plus#73
The text was updated successfully, but these errors were encountered: