Hello everyone; As the function of GraphData[3] executes, outputs the results shown below
GraphData[3] {{"Empty", 3}, "P2+K1", {"Path", 3}, "TriangleGraph"}}
How to present these graphs of list of above? Just like following graphs:
Thanks in advance for your help !
It looks like 3 is a class of graphs in GraphData, and so GraphData[3] returns the list of entities in that class. "P2+K1" is an actual graph entity, and GraphData["P2+K1"] gives its graph:
3
GraphData
GraphData[3]
"P2+K1"
GraphData["P2+K1"]
To get all of the graphs in the class you can use Map,
Map
Map[GraphData, GraphData[3]]
Thank you for your generous help.