Convert a subgraph into a mapping of node to connected nodes.
Map<String, List<String>> toData({bool inlineSubgraphs = true}) => statementsToData( stmtList.statements, inlineSubgraphs, );