Skip to main content

Home > @jsplumbtoolkit/core > Vertex > getGraph

Vertex.getGraph() method#

Retrieves a sub-graph by id.

Signature:

getGraph(id: string): Graph;

Parameters#

ParameterTypeDescription
idstring

Returns:

Graph

Sub-graph with the given id, null if not found.