Skip to content

Add a class with the name of the Diagram type on EACH SVG, whichever diagram type it is #7353

@rod2ik

Description

@rod2ik

Proposal

Hi, Thanks for your awesome project !

Currently , SOME but NOT ALL diagram types include a class of the diagram type on the SVG wrapper element.

Just an example, as for now:

  • the FLOWCHART diagram SVG element, DOES include a class="flowchart", wheras
  • the TIMELINE diagram SVG DOES NOT include a class on the SVG

For consistency reasons, as well as for INTEGRATION purposes (I am working on an MKDOCS customizable integration), it would greatly help me, and probably others, if you could add SYSTEMATICALLY a class with the name of the diagram on the SVG (or any other kind of unique identifier as for the type of diagram is concerned)

Thanks for considering this :)

Example

No response

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions