SemanticMediaWiki / Mermaid

Provides a parser function to generate diagrams and flowcharts with the help of the mermaid script language
https://www.mediawiki.org/wiki/Extension:Mermaid
Other
36 stars 23 forks source link

"linkStyle" not working as expected #16

Closed QL568A6 closed 5 years ago

QL568A6 commented 6 years ago

Setup and configuration

Issue

Defining default linkStyle produces wedges, not defining stroke-width for default linkStyle negates all style information for graph

linkStyle default stroke:#333,stroke-width:1px; produces wedges in place of all non-vertical links.

image

linkStyle default stroke:#333; negates all style information for entire graph. (including nodes)

image

kghbln commented 6 years ago

Thanks for reporting. Hmm, ... not sure if this is perhaps even an upstream issue. I guess @mwjames will know. :)

QL568A6 commented 6 years ago

It seems to be shading the area between the link and the shortest path.

mwjames commented 6 years ago

Thanks for reporting. Hmm, ... not sure if this is perhaps even an upstream issue. I guess @mwjames will know. :)

This isn't an issue of the MW Mermaid extension itself since we only transfer the content to the JS [0] component.

Question related to mermaid specific issues like styling, graph elements, or syntax should be raised with [0].

linkStyle default stroke:#333,stroke-width:1px; produces wedges in place of all non-vertical links.

See also [1].

[0] https://github.com/knsv/mermaid/ [1] https://www.google.com/search?q=mermaid+linkStyle

Cheers

On 5/5/18, Karsten Hoffmeyer notifications@github.com wrote:

Thanks for reporting. Hmm, ... not sure if this is perhaps even an upstream issue. I guess @mwjames will know. :)

-- You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: https://github.com/SemanticMediaWiki/Mermaid/issues/16#issuecomment-386725093

kghbln commented 5 years ago

Extension Mermaid 2.0.0 has just been released which ships with mermaid 8.0.0. Perhaps this issue is now resolved. Anyways since it is an upsteam issue the Mermaid extensions cannot do anything about it.