Bugfix and preperation for derivates of DiGraph.