No labels for edges when you use splines=ortho

I use GraphViz for MediaWiki. When I use splines=ortho most of labels on edges dissapears.I like ortho, is there way to keep labels when I use it?

digraph Otgruzka{
    graph[splines=ortho];
    node[style=filled];    
    subgraph G7L_1{
        rank=same
        G7L1_1[shape=oval,fillcolor=yellow,label="Menedzher\n Proekta"];
        G7L1_2[shape=box,fillcolor=green,label="Otpravka v OP\n korrektnoj\n zajavki na zabor\n gruza"];
        G7L1_3[shape=oval,fillcolor=yellow,label="Spec otdela\n VJeD"];
    }
    subgraph G7L_2{
        G7L2_1[shape=box,fillcolor=green,label="OP - Zakaz\n transporta,\n predostavlenie\n nomerov AM"];
    }
    subgraph G7L_3{
        rank=same;
        G7L3_1[shape=point,style=none,label="d/b informirovan\n o vypolnenii"];
        G7L3_2[shape=box,fillcolor=green,label="OP - Zabor gruza.\n Kontrol' zagruzki:\n Tara, Upakovka, Kreplenie,\n kol-vo mest. Sjurvej pri\n neobhodimosti"];
        G7L3_3[shape=oval,fillcolor=yellow,label="OP"];
    }
    subgraph G7L_4{
        rank=same;
        G7L4_1[shape=point,style=none,label=""];
        G7L4_2[shape=box,fillcolor=green,label="OP - Strahovanie\n gruza po\n instrukcijam ORK"];
        G7L4_3[shape=point,style=none,label=""];
    }
    subgraph G7L_5{
        rank=same;
        G7L5_1[shape=box,fillcolor=green,label="OP - Otpravka\n v ORK TSD-1.\n Vzveshivanie\n a/m"];
        G7L5_2[shape=point,style=none,label=""];
    }
    subgraph G7L_6{
        rank=same;
        G7L6_1[shape=hexagon,fillcolor=violet,label="Svedenija\n sovpadajut ili\n otlichajutsja\n neznachitel'no.\n Mozhno ehat'."];
        G7L6_2[shape=circle,fillcolor=grey,label="XOR"];
        G7L6_3[shape=hexagon,fillcolor=violet,label="Neobhodimo\n otkorrektirovat'\n original'nye\n dokumenty"];
    }    
    subgraph G7L_7{
        G7L7_1[shape=circle,fillcolor=grey,label="XOR"];
    }
    subgraph G7L_8{
        rank=same;
        G7L8_1[shape=box,fillcolor=green,label="Vozvrat\n mashiny,\n korrektirovka\n dokumentov"];
        G7L8_2[shape=point,style=none,label=""];
    }    
    subgraph G7L_9{
        rank=same;
        G7L9_1[shape=box,fillcolor=green,label="Po soglasovaniju s\n OP i OTO\n korrektirovka na\n jekspedicii +\n INSPEKCIJa\n GRUZA"];
        G7L9_2[shape=point,style=none,label=""];
    }    
    subgraph G7L_10{
        rank=same;
        G7L10_1[shape=box,fillcolor=green,label="OP – informiruet\n ORK i OTO o date\n jekspedicii"];
        G7L10_2[shape=point,style=none,label=""];
    }    
    subgraph G7labelCon {
        edge[color=grey,dir=none];
        G7L1_1->G7L1_2[label="Vypolnjaet"];
        G7L1_2->G7L1_3[label="d/b informirovan\n o vypolnenii"];
        G7L2_1->G7L1_1[label="d/b informirovan\n o vypolnenii"];
        G7L2_1->G7L1_3[label="d/b informirovan\n o vypolnenii"];
        G7L3_1->G7L3_2[label="d/b\n informirovan\n o vypolnenii"];
        G7L3_1->G7L1_1[label=""];
        G7L3_2->G7L3_3[label="Vypolnjaet"];
        G7L4_1->G7L4_2[label="d/b\n informirovan\n o vypolnenii"];
        G7L4_1->G7L3_1[label="",weight=9000];
        G7L3_3->G7L4_3[label="",weight=9000];
        G7L4_2->G7L4_3[label="Vypolnjaet",weight=9000];
        G7L4_3->G7L5_2[label="",weight=9000];
        G7L5_1->G7L5_2[label="Vypolnjaet"];
        G7L8_1->G7L8_2[label="Vypolnjaet",weight=9000];
        G7L9_1->G7L9_2[label="Vypolnjaet",weight=9000];
        G7L5_2->G7L8_2[label="",weight=9000];
        G7L8_2->G7L9_2[label="",weight=9000];
        G7L9_2->G7L10_2[label="",weight=9000];
        G7L10_1->G7L10_2[label="Vypolnjaet"];
    }
    subgraph G7ArrowCon {
        G7L1_2->G7L2_1[label="",weight=9000];
        G7L2_1->G7L3_2[label="",weight=9000];
        G7L3_2->G7L4_2[label="",weight=9000];
        G7L4_2->G7L5_1[label="",weight=9000];
        G7L5_1->G7L6_2[label="",weight=9000];
        G7L6_1->G7L10_1[label=""];
        G7L6_1->G7L6_2[label="",dir=back];
        G7L6_2->G7L6_3[label=""];
        G7L6_3->G7L7_1[label="",weight=9000];
        G7L7_1->G7L8_1[label="",weight=9000];
        G7L7_1->G7L9_1[label=""];
        G7L8_1->G7L10_1[label="",weight=9000];
        G7L9_1->G7L10_1[label=""];        
    }        

}

The labels should still be

The labels should still be there, but perhaps not clearly connected to the edge. If you think the labels are actually gone, please post the input graph so that I can check.

The underlying problem is that using splines=ortho is not yet set up to work well with edge labels in dot. As a work around, try replacing the label attribute with the xlabel attribute.

xlabel did not help

xlabel did not help.graph were blocked by spam filter, so I edited first post, look at it please

Replacing label by xlabel for

Replacing label by xlabel for your graph makes the edges appear.

I has a non-ortho graph and made it ortho -- in the layout the label "%x2B" is too far off.
Running the same input in gvedit.exe gives this warning:
"Warning: Orthogonal edges do not currently handle edge labels. Try using xlabels."

I did replaced all edge labels with xlabel and the placement of "%x2B" label is better.
Although I am not sure whether I like the label placements -- too much label/egde overlap.

Hermann.

Recent comments