将边长设为标签

时间:2018-06-05 08:53:06

标签: graphviz dot

我尝试通过graphviz 2.38绘制FSM。

以下是一些问题:

  1. 如何设置边长与其'相同?标签?
  2. 如何将边缘设置为矩形边?
  3. 如何设置标签不会与边缘重叠?

    digraph test {
        rankdir=LR;
        n1 -> n2 
        n2 -> n2 [label="00000000000000"]
        n2 -> n2 [label="11111111111111"]
        n2 -> n2 [label="22222222222222"]
        n2 -> n2 [label="33333333333333"]
    }
    
  4. 我现在得到了什么:

    enter image description here

    我需要什么:

    enter image description here

0 个答案:

没有答案
相关问题