void addEdge(String from, String to, {Map<String, String>? properties}) { _items.add(_Edge(from, to, properties)); }