Skip to content

HTML link #45

@dfroger

Description

@dfroger

I wonder if there would be to use for example :ref: in a sphinxcontrib-seqdiag diagram like this:

.. seqdiag::

    seqdiag admin {
      :ref:`A <some_label>` -> B -> C;
    }

This would imply to render the Sphinx :ref: before rendering the Graphviz input, which I guess is impossible.

The goal would be to use the sequence diagram as a "visual table of content" of a document, where each part of the diagram would be a link to a section of the document that explain the part in details.

An alternative is (tested, it works):

.. seqdiag::
   :desctable:

   seqdiag {
      A -> B -> C;
      A [description = ":ref:`A <some_label>`"]
   }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions