Skip to main content

toAdjacencyList()

toAdjacencyList converts a graph to an adjacency list.

Learn more about the toAdjacencyList plugin.

graphUtils.toAdjacencyList(graph: dia.Graph): AdjacencyList;

Converts a graph to an adjacency list.

Types

AdjacencyList

interface AdjacencyList {
[elementID: string]: dia.Cell.ID[];
}

Stay in the know

Be where thousands of diagramming enthusiasts meet

Star us on GitHub