ellson / MOTHBALLED-graphviz

Moved to https://gitlab.com/graphviz/graphviz
Eclipse Public License 1.0
1.29k stars 255 forks source link

How to change the orientation of a node or a edge's label? #1250

Open trycmail opened 7 years ago

trycmail commented 7 years ago

Dear sir, I'm a new user of graphviz, and find its powerful functions in drawing. In neato layout, some times I want to change the orientation of a node or edge's label(some time it's very important. ), just like the attach file as below:

we

But I don't know how to achieve it even looking through all documents at Graphviz Website. Would you please help me or give me some advice? Tanks very much!

magneticnorth commented 7 years ago

I’m sorry, but don’t think this is possible within Graphviz. It seems very inconvenient, but you can probably edit the output of Graphviz using a PDF editor. You could write the text label T H I S W A Y

but it will change the layout unless you use xlabel for edges. Sorry.

On Jun 20, 2017, at 11:07 PM, trycmail notifications@github.com wrote:

Dear sir, I'm a new user of graphviz, and find its powerful functions in drawing. In neato layout, some times I want to change the orientation of a node or edge's label(some time it's very important. ), but I don't know how to achieve it even looking through all documents at Graphviz Website http://www.graphviz.org/Documentation.php. Would you please help me or give me some advice? Tanks very much!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ellson/graphviz/issues/1250, or mute the thread https://github.com/notifications/unsubscribe-auth/ACtWz1kN1BXBMNUVd51lZ5PEOiDbGkAPks5sGIkDgaJpZM4OAZxZ.

trycmail commented 7 years ago

@magneticnorth Thanks for your response. I hope Graphviz has this new function in future. Thanks!