2

Can you use Figure captions for graphs created by Graphviz (digraph) with Sphinx? I would like to use the same numbering and style of captions for my Graphviz graphs as a I do for all Figures.

For example, if I try putting this into the restructured text document used by Sphinx:

.. digraph:: foo

   "bar" -> "baz";

.. _figure_digraph:

   **Fig. X label at start of Figure label is missing**

Then I get a Figure where the Fig. X at the beginning of the Figure caption is missing.

enter image description here

mzjn
  • 48,958
  • 13
  • 128
  • 248
Philip Whitten
  • 293
  • 2
  • 16

0 Answers0