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[];
}