Rendering hangs due to 1 edge

 Hi all,

When I add one single edge to my graph I seem to be able to make the rendering hang indefinitely.  The graph is small, and I render it using:

$ dot -Tpdf Desktop/graph.gv -o Desktop/graph.pdf

If you remove the final edge in the following graph everything is fine, but keeping it in, it all dies.  Are there combinations of edges you simply can't have?

Thanks for any help!  Graph follows:

 

 

digraph G {

  compound=true;

  edge[fontsize=10];

 

  {

    rank=same;

    "8618c64a-93e0-4300-b546-7249e5148ed2" [label="USA"];

  }

 

  {

    rank=same;

      "baa8ccb1-8d9d-4940-93a6-2241c8a04ba5" [label="New York State Museum (NYSM)"];

      "8618c64a-93e0-4300-b546-7249e5148ed2" -> "baa8ccb1-8d9d-4940-93a6-2241c8a04ba5" [label="ENDORSES"];

      

      "b554c320-0560-11d8-b851-b8a03c50a862" [label="University of Kansas Biodiversity Research Center"];

      "8618c64a-93e0-4300-b546-7249e5148ed2" -> "b554c320-0560-11d8-b851-b8a03c50a862" [label="ENDORSES"];

      

      "9a367b8c-22dd-402d-9161-d3c64c6d6a94" [label="University of Arkansas Collections Facility, UAFMC"];

      "8618c64a-93e0-4300-b546-7249e5148ed2" -> "9a367b8c-22dd-402d-9161-d3c64c6d6a94" [label="ENDORSES"];

  }

 

  subgraph "cluster_c7b49e46-602a-4172-98d2-6b027c6b049f" {

    label="KU Biodiversity Institute IPT";

    "aae308f4-9f9c-4cdd-b4ef-c026f48be551" [label="kubi_entomology"];

  }  

  

  subgraph "cluster_a957a663-2f17-415f-b1c8-5cf6398df8ed" {

    label="VertNet Hosting";

    "29d54fb6-ed46-4a75-9697-55b73e63beed" [label="uafmc_fish"];

    

    "835ff8be-ea5c-45e4-b3f3-126852ac56fe" [label="nysm_mammals"];

    "29d54fb6-ed46-4a75-9697-55b73e63beed" -> "835ff8be-ea5c-45e4-b3f3-126852ac56fe" [style="invis"];

  }  

  

  subgraph "cluster_7d3d71e2-620b-11e1-a747-b71b5f8ca181" {

    label="DiGIR Installation";

    

    "7e257096-620b-11e1-a747-b71b5f8ca181" [label="Bird Tissue Collection"];

    

    "8926de1c-620b-11e1-a747-b71b5f8ca181" [label="Entomology Collection"];

    "7e257096-620b-11e1-a747-b71b5f8ca181" -> "8926de1c-620b-11e1-a747-b71b5f8ca181" [style="invis"];

    

    "892734fc-620b-11e1-a747-b71b5f8ca181" [label="Invertebrate Zoology"];

    "8926de1c-620b-11e1-a747-b71b5f8ca181" -> "892734fc-620b-11e1-a747-b71b5f8ca181" [style="invis"];

    

    "89277d40-620b-11e1-a747-b71b5f8ca181" [label="Botany Lichen Collection"];

    "892734fc-620b-11e1-a747-b71b5f8ca181" -> "89277d40-620b-11e1-a747-b71b5f8ca181" [style="invis"];

    

    "8927c41c-620b-11e1-a747-b71b5f8ca181" [label="Botany Vascular Plant Collection"];

    "89277d40-620b-11e1-a747-b71b5f8ca181" -> "8927c41c-620b-11e1-a747-b71b5f8ca181" [style="invis"];

    

    "89565d36-620b-11e1-a747-b71b5f8ca181" [label="Invertebrate Paleontology Collection"];

    "8927c41c-620b-11e1-a747-b71b5f8ca181" -> "89565d36-620b-11e1-a747-b71b5f8ca181" [style="invis"];

    

    "8a1afb50-620b-11e1-a747-b71b5f8ca181" [label="Herpetology Collection"];

    "89565d36-620b-11e1-a747-b71b5f8ca181" -> "8a1afb50-620b-11e1-a747-b71b5f8ca181" [style="invis"];

    

    "8a1b90b0-620b-11e1-a747-b71b5f8ca181" [label="Mammal Collection"];

    "8a1afb50-620b-11e1-a747-b71b5f8ca181" -> "8a1b90b0-620b-11e1-a747-b71b5f8ca181" [style="invis"];

    

    "8a1cb2f6-620b-11e1-a747-b71b5f8ca181" [label="Bird Collection"];

    "8a1b90b0-620b-11e1-a747-b71b5f8ca181" -> "8a1cb2f6-620b-11e1-a747-b71b5f8ca181" [style="invis"];

    

    "8a1cfaea-620b-11e1-a747-b71b5f8ca181" [label="Fish Collection"];

    "8a1cb2f6-620b-11e1-a747-b71b5f8ca181" -> "8a1cfaea-620b-11e1-a747-b71b5f8ca181" [style="invis"];

    

    "8a1d8d98-620b-11e1-a747-b71b5f8ca181" [label="Fish Tissue Collection"];

    "8a1cfaea-620b-11e1-a747-b71b5f8ca181" -> "8a1d8d98-620b-11e1-a747-b71b5f8ca181" [style="invis"];

  }  

 

  "baa8ccb1-8d9d-4940-93a6-2241c8a04ba5" -> "835ff8be-ea5c-45e4-b3f3-126852ac56fe" [label="OWNS"];

  "9a367b8c-22dd-402d-9161-d3c64c6d6a94" -> "29d54fb6-ed46-4a75-9697-55b73e63beed" [label="OWNS"];

 

  "b554c320-0560-11d8-b851-b8a03c50a862" -> "aae308f4-9f9c-4cdd-b4ef-c026f48be551" [label="HAS INSTALLATION"];

  "b554c320-0560-11d8-b851-b8a03c50a862" -> "7e257096-620b-11e1-a747-b71b5f8ca181" [label="HAS INSTALLATION"];

  "b554c320-0560-11d8-b851-b8a03c50a862" -> "29d54fb6-ed46-4a75-9697-55b73e63beed" [label="HAS INSTALLATION"];

 

 

Rendering hangs due to 1

The hanging problem was just fixed yesterday. The layout will finish, but you'll see a warning and some edges may not be optimally routed. Sometimes the problem is that the space used for routing is too constrained. As a workaround, you can add a bit more space (ranksep=0.8 works), or try using xlabels rather than some of the ordinary edge labels. Just to be clear, the underlying problem is a bug and it is still there.

Rendering hangs due to 1

Let me correct myself. ranksep=0.8 works if one uses the default fontsize of 14. If you want fontsize=10, which allows more squishing, use ranksep=1.

Recent comments