Qurak

CycleGraph

ใช้งานได้

Cycle graph on n vertices

CycleGraph[n]
Table[CycleGraph[i, PlotLabel -> Subscript[C, i]], {i, 3, 5}] → {Graph[<3>, <3>], Graph[<4>, <4>], Graph[<5>, <5>]}Table[CycleGraph[i, DirectedEdges -> True, EdgeStyle -> Arrowheads[Medium], PlotLabel -> Subscript[C, i]], {i, 3, 5}] → {Graph[<3>, <3>], Graph[<4>, <4>], Graph[<5>, <5>]}g = CycleGraph[8, VertexLabels -> "Name"] → Graph[<8>, <8>]

หัวข้อ

ที่เกี่ยวข้อง

ฟังก์ชันทั้งหมด 6300 รายการ · ใช้สิ่งนี้จากไคลเอนต์ MCP