I think it would be a good idea if the plot function used the ID-Index mapping stored in Graph.mapping as node labels by default (if such a mapping is defined). If no such mapping is defined, the plot function should use the node indices as labels by default.
This would allow users to omit passing the plot argument node_label=g.mapping.node_id.
I think it would be a good idea if the plot function used the ID-Index mapping stored in
Graph.mappingas node labels by default (if such a mapping is defined). If no such mapping is defined, the plot function should use the node indices as labels by default.This would allow users to omit passing the plot argument
node_label=g.mapping.node_id.