GMLImporter.read_data# GMLImporter.read_data(source, *, context=None)[source] Read a NetworkX graph from a GML file. Parameters: source (str | Path) – The source GML path. context (IOContext | None) – Optional import/export customisation. Returns: The decoded graph. Return type: nx.DiGraph