Graph.fromStatements constructor
Graph.fromStatements({})
Create a graph from a list of statements.
Implementation
factory Graph.fromStatements({
String? id,
GraphType type = GraphType.graph,
bool strict = false,
required List<Statement> statements,
}) =>
Graph(
id: id,
stmtList: StmtList(statements),
strict: strict,
type: type,
);