fixed GraphCollection.nodes() and .edges()