Re: [graphviz-interest] fdp layout vs dot layout
Jose Juan Tapia <[email protected]>
| Newsgroups | gmane.comp.video.graphviz |
|---|---|
| Message-ID | <CAPQEofb9xKiDd7N9_6zOjDrXbm=yoD-Yo7yZU-LappJD-0fe5g@mail.gmail.com> |
So, answering myself, I found the following solution that kind of addressed the problem http://stackoverflow.com/questions/2012036/graphviz-how-to-connect-subgraphs On Fri, Aug 9, 2013 at 7:29 PM, Jose Juan Tapia <[email protected]> wrote: > So when rendering the attached dot graph ( > https://dl.dropboxusercontent.com/u/7096948/simple.dot) to an image using > the dot command > > dot -Tpng bipartite_map_rcp.dot -osimple.png > > I get a semi nice layout for all my nodes, with the exception of many of > the edges coming out wrong since dot doesn't support subgraph to subgraph > or subgraph to node edges (and instead creates new nodes with the names of > the subgraphs it was supposed to connect as shown by the image simple.png ( > http://i.imgur.com/vnMKhZk.jpg) > > If you instead use fdp > fdp -Tpng bipartite_map_rcp.dot -osimple2.png (http://imgur.com/4JKgag5) > > > You get some pretty messy layout, although the edges come out fine as > shown by simple2.png. > > The question would be if there's a way to get fdp to use dot's default > layout while getting the edges right. Thank you. > > > > -- > José Juan Tapia Valenzuela > Research Associate > University of Pittsburgh > 3076.1 Biological Sciences Tower 3 > Pittsburgh, Pa 15260 > -- José Juan Tapia Valenzuela Research Associate University of Pittsburgh 3076.1 Biological Sciences Tower 3 Pittsburgh, Pa 15260 _______________________________________________ [email protected] http://lists.research.att.com/mailman/listinfo/graphviz-interest