ltail

边的逻辑尾部

类型: string, 默认值: ""

compound=true 时,如果 ltail 被定义并且是包含真实尾部的簇的名称,则边将被剪裁到簇的边界。

digraph {
  compound=true;

  subgraph cluster_a {
    label="Cluster A";
    node1; node3; node5; node7;
  }
  subgraph cluster_b {
    label="Cluster B";
    node2; node4; node6; node8;
  }

  node1 -> node2 [label="1"];
  node3 -> node4 [label="2" ltail="cluster_a"];
  
  node5 -> node6 [label="3" lhead="cluster_b"];
  node7 -> node8 [label="4" ltail="cluster_a" lhead="cluster_b"];
}

参见 限制

有效于

注意: 仅限于 dot

在 Graphviz 代码库中搜索 "ltail"

最后修改于 2024 年 7 月 28 日: 将所有 Hugo 'ref' 替换为 'relref' (bbef86a)