regular

如果為 true,強制多邊形為正多邊形。

類型:bool,預設值:false

如果為 true,多邊形的頂點將位於以節點中心為中心的圓上。

digraph {
    "pentagon1" [shape="pentagon"];
    "pentagon2" [shape="pentagon" regular=true]
    "hexagon1" [shape="hexagon"];
    "hexagon2" [shape="hexagon" regular=true];
}
適用於
  • 節點

在 Graphviz 程式碼庫中搜尋 "regular"

上次修改時間:2023 年 3 月 20 日:修正 'regular' 屬性描述的版面配置 (362d1ac)