VertexCoordinates
ใช้งานได้ แตกต่างจากเอกสารอ้างอิง .wl
Option for vertex coordinates in graphs
แตกต่างจากเอกสารอ้างอิง .wl: `VertexCoordinates` annotations
VertexCoordinates
{WheelGraph[6, VertexCoordinates -> Table[{i, i}, {i, 6}]], GridGraph[{2, 3}, VertexCoordinates -> Table[{i, i}, {i, 6}]]}
→ {WheelGraph[6, VertexCoordinates -> {{1, 1}, {2, 2}, {3, 3}, {4, 4}, {5, 5}, {6, 6}}], GridGraph[{2, 3}, VertexCoordinates -> {{1, 1}, {2, 2}, {3, 3}, {4, 4}, {5, 5}, {6, 6}}]}CycleGraph[50, VertexCoordinates -> spiral[49]]
→ Graph[<50>, <50>]PathGraph[Range[50], VertexCoordinates -> gridLayout[50]]
→ PathGraph[{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50}, VertexCoordinates -> gridLayout[50]] ฟังก์ชันทั้งหมด 6300 รายการ ·
ใช้สิ่งนี้จากไคลเอนต์ MCP