prorm API Reference
← Documentation
GitLab
Preparing search index...
index
saveDiagram
Function saveDiagram
saveDiagram
<
T
extends
DiagramType
>
(
type
:
T
,
options
:
DiagramOptionsMap
[
T
]
,
outPath
:
string
,
)
:
string
Render a diagram straight to a file, returning the SVG source.
Type Parameters
T
extends
DiagramType
Parameters
type
:
T
options
:
DiagramOptionsMap
[
T
]
outPath
:
string
Returns
string
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
← Documentation
GitLab
prorm API Reference
Loading...
Render a diagram straight to a file, returning the SVG source.