Prevent overlapping records using graphviz and neato

后端 未结 2 1716
野的像风
野的像风 2020-12-30 19:16

I am building a dot file to represent computer hardware and the physical connections to a network switch and displays. I have it looking ok when processed by the dot progra

2条回答
  •  渐次进展
    2020-12-30 19:38

    Well, as with most questions...soon after I posted the I figured out the answer. I needed to add graph [overlap=false]; at the top of the file.

    Do it like this:

    graph g {
        overlap = false;
    
        node [shape=record,height=.1];
        /* ... */
    }
    

提交回复
热议问题