graphviz - how to create a 'roundtrip' flow

前端 未结 1 1385
暖寄归人
暖寄归人 2021-01-26 12:37

I\'m trying to create a \'round trip\' graph using the graphviz. Given the result below, my objective is to have the PINK squares between the NET and the COM (note from the pict

相关标签:
1条回答
  • 2021-01-26 13:06

    If you simply reverse the direction of the edges going back (dir=back) by changing the line

    NET -> fn2 -> rbd2 -> ddate2 -> fare2 -> COM;
    

    into

    edge[dir=back];
    COM -> fare2 -> ddate2 -> rbd2 -> fn2 -> NET;
    

    you should get:

    dir back graphviz example

    0 讨论(0)
提交回复
热议问题