The Graphviz site will soon be moved to a new host, and have a different format. You can try out the new site here. If you have suggestions or encounter any problems, please send mail to [email protected] |

# labels

## typesetting math formulae

Submitted by peterb777 on Fri, 10/11/2013 - 03:52Hi Everyone,

I have just made a quick investigation and was unable to find the way to display math formulae as texts in nodes or as edge labels. For example, subscripts and superscripts I miss quite much.

Thanks for any help

## Edge labels below the edge

Submitted by acoelhosantos on Mon, 02/18/2013 - 07:55Hi all, is it possible in graphs an edge label below the edge as well as above it?

Like this: http://people.engr.ncsu.edu/efg/210/s99/Notes/fsm/horner.gif

My objective is to have the edge label above state a condition, and the label below an action.

I tried using xlabel, but the placement and overlapping is not as I intended (tried to correct it though, bu without luck).

Thank you for any help.

## sfdp label_scheme example?

Submitted by steve_c on Thu, 04/05/2012 - 05:54Is there a simple code snippet/graph available for demonstrating the sfdp label_scheme implementation:

I have tried to interpret |edgelabel|* with no success.

"...The value indicates whether to treat a node whose name has the form |edgelabel|* ..."

say a graph is in the format (duplication is intended):

` graph G {`

graph [label_scheme=1];

"A_1" -- "B_1" [label="test01"]

"B_1" -- "C_1" [label="test02"]

"B_1" -- "C_1" [label="test03"]

"C_1" -- "A_1" [label="test04"]

A_1 [label="A"]

B_1 [label="B"]

C_1 [label="C"]

}

## Recent comments

16 weeks 6 days ago

16 weeks 6 days ago

26 weeks 3 days ago

26 weeks 3 days ago

26 weeks 4 days ago

1 year 21 hours ago

1 year 8 weeks ago

1 year 8 weeks ago

1 year 9 weeks ago

1 year 13 weeks ago