toData method

Map<String, List<String>> toData({
  1. bool inlineSubgraphs = true,
})

Convert a subgraph into a mapping of node to connected nodes.

Implementation

Map<String, List<String>> toData({bool inlineSubgraphs = true}) => statementsToData(
      stmtList.statements,
      inlineSubgraphs,
    );