Strip the bracketed label re-declaration from style <id>[โฆ] lines in flowchart / graph diagrams. Mermaid 11's style directive accepts only style <ID> <prop>:<value>[, <prop>:<value>]* โ a bracketed label suffix (style C["Centerpartiet"] fill:#006600) is a parse error. The bracketed payload is redundant with the node's original declaration, so dropping it is loss-less.
Applies only to flowchart / graph. Handles [โฆ], (โฆ), {โฆ}, and the compound shapes [(โฆ)], ((โฆ)), {{โฆ}}.
Strip the bracketed label re-declaration from
style <id>[โฆ]lines in flowchart / graph diagrams. Mermaid 11'sstyledirective accepts onlystyle <ID> <prop>:<value>[, <prop>:<value>]*โ a bracketed label suffix (style C["Centerpartiet"] fill:#006600) is a parse error. The bracketed payload is redundant with the node's original declaration, so dropping it is loss-less.Applies only to
flowchart/graph. Handles[โฆ],(โฆ),{โฆ}, and the compound shapes[(โฆ)],((โฆ)),{{โฆ}}.