add command to list vertex/graph/edges.