Open
Description
Description
Changing the curve type for a flowchart doesn't apply, no matter if it's changed in the config tab of the live editor, in the init directive or via linkStyle
.
In the "next" live editor (which runs on an older version: v11.0.0-alpha.6+7fec51f
) it still works as expected, in current and "develop" it doesn't.
Steps to reproduce
- open any mermaid flowchart
- add any of the following (using
stepBefore
as example):%%{ init: { 'flowchart': { 'curve': 'stepBefore' } } }%%
at start of the mermaid blocklinkStyle default interpolate stepBefore;
inside the flowchart-definition"flowchart": { "curve": "stepBefore" }
in the config tab of the live editor
- observe the flowchart not changing
Screenshots
Develop Live Editor
with init directive:
with linkStyle
:
via config:
"Next" Live Editor
with init directive:
with linkStyle
:
via config:
Code Sample
https://develop.git.mermaid.live/edit#pako:eNpVUM1ugzAMfhUrp02CF-AwacDWS6tNWk8DDhYYErXEkQmrKuDdF8rUbT75-3McT6rmhlSi2jNfao3i4ZiXFkI9F5kWM_gehwri-GnekYeeLV1nSB92DINm54ztHjd_upogm_arjcBrY0_LJmW3_JulGfJij86zq_4qxwvP8FKYdx3G_1e0UEi9Fi0mLcY1CmQolYpUT9KjacLq0xooldfUU6mS0DYop1JFG3__2apNgahH-foxDp5cSi1LwBCWXcJgHD1_XG2tEi8jRUp47LQKr5-HgEbXoKfcYCfY31mH9pP5F1NjPMthO-3twss32LN1xQ
Setup
- Mermaid version: tested in v11.4.0 and the develop branch at v11.4.1+1d9c2aa
- Browser and Version: tested in Edge Version 131.0.2903.70 and Firefox Version 128.6.0esr
Suggested Solutions
No response
Additional Context
No response