Skip to content

Get SVG as text so I can use it on the server, without a DOM #162

Open
@akinnee-gl

Description

@akinnee-gl

This is an awesome tool, but I'd like to be able to use it on the server without a DOM. I don't see anything stopping this from working outside the browser, and SVGs are just text. It would be nice to just be able to do:

var svg = Diagram.parse("A->B: Does something").getSVG( { theme: "hand" } );

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions