switchyard
Home
Guide
GitHub
Preparing search index...
@switchyard-ts/graph
viewer
mountDiagram
Function mountDiagram
mountDiagram
(
host
:
Element
,
machine
:
Machine
<
unknown
>
)
:
Promise
<
()
=>
void
>
Draws
machine
into
host
and keeps it live. Resolves to a function that stops updating.
Parameters
host
:
Element
machine
:
Machine
<
unknown
>
Returns
Promise
<
()
=>
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Home
Guide
GitHub
switchyard
Loading...
Draws
machineintohostand keeps it live. Resolves to a function that stops updating.