Re: [graphviz-interest] labelloc broken?
Ron Newman <[email protected]> Sun, 1 Feb 2015 12:13:24 -0700
| Newsgroups | gmane.comp.video.graphviz |
|---|---|
| Message-ID | <CAGEsD1m1nLujQBStD3OsTXhHW+122ejdp46McB=QWv0Xx8osug@mail.gmail.com> |
I should have been more clear. I'm putting labelloc=t in the graph definition only for the purposes of being inherited by all subgraphs. Though I also tried putting it explicitly in each subgraph with the same result. It's the labels of the subgraphs that I want to be at the top of each, with no label at all for the parent graph. I changed the shapes to rect and added fixedsize=shape to get rid of the label size warning. Executes cleanly on graphviz Win 2.38.0, but labels in subgraphs still come out at the bottom. Ron On Sun, Feb 1, 2015 at 11:46 AM, <[email protected]> wrote: > Hi, > > below diff works fine for me, I added a graph label because that is what > the graph level labelloc is for. And I added labelloc=t for your node 10234 > label. > > $ diff Ron.dot.orig Ron.dot > 4c4 > < dpi="96" splines="false" rankdir="BT" fillcolor="#ffffff00" ] > --- > >> dpi="96" splines="false" rankdir="BT" fillcolor="#ffffff00" label="top"] >> > 17c17 > < "10234" [ width="1.375" height="1.375" ID="10234" label="moved this" > --- > >> "10234" [ width="1.375" height="1.375" ID="10234" label="moved this" >> labelloc=t >> > $ > > Which is your version of dot? > My version is 2.26 on Linux. > "0" is an unknown shape in your input. > > $ dot -Tpng Ron.dot >Ron.png > Warning: using box for unknown shape 0 > Warning: node '10234', graph 'myGraph' size too small for label > $ > $ dot -V > dot - graphviz version 2.26.0 (20091210.2329) > $ > > > > _______________________________________________ [email protected] http://lists.research.att.com/mailman/listinfo/graphviz-interest