0

What I want to ask is that we can draw figures using dot but is it possible to give a name to that figure and that name comes below that figure?

marapet
  • 54,856
  • 12
  • 170
  • 184
neel
  • 8,399
  • 7
  • 36
  • 50

1 Answers1

1

If your question is about graphviz, here's how to add a label below the graph:

digraph {
    1 -> 2;
    labelloc="b";
    label="Graph label";
}

graphviz output

marapet
  • 54,856
  • 12
  • 170
  • 184