小编Dan*_*iel的帖子

Graphviz,dot,ortho plot不尊重端口

我正在使用graphviz,并希望使用splines = ortho.问题是边缘不尊重端口,因此无法分析图形.

digraph G{
splines= ortho;

A [shape = box, label =<
                <TABLE BORDER="0" CELLBORDER="0" CELLSPACING="1"
CELLPADDING="2">
                <TR> <TD COLSPAN = "3"> A </TD></TR>

                <TR><TD PORT="1" BORDER = "1"> 1 </TD>
                        <TD ></TD>
                        <TD PORT="2" BORDER = "1"> 2 </TD>
                    </TR>
                </TABLE>>];

B [shape = box, label =<
                <TABLE BORDER="0" CELLBORDER="0" CELLSPACING="1"
CELLPADDING="2">
                <TR> <TD COLSPAN = "3"> B </TD></TR>

                <TR><TD PORT="1" BORDER = "1"> 1 </TD>
                        <TD ></TD>
                        <TD PORT="2" BORDER = "1"> 2 </TD>
                    </TR> …
Run Code Online (Sandbox Code Playgroud)

html dot graphviz orthogonal edges

11
推荐指数
1
解决办法
643
查看次数

标签 统计

dot ×1

edges ×1

graphviz ×1

html ×1

orthogonal ×1