DocumentMermaidFigure interface
Figure containing a diagram, such as a flowchart or network diagram.
- Extends
Properties
| content | Diagram content represented using Mermaid syntax. |
| kind | Figure kind. |
Inherited Properties
| caption | Figure caption. |
| description | Description of the figure. |
| elements | Child elements of the figure, excluding any caption or footnotes. |
| footnotes | List of figure footnotes. |
| id | Figure identifier. |
| role | Semantic role of the figure. |
| source | Encoded source that identifies the position of the figure in the content. |
| span | Span of the figure in the markdown content. |
Property Details
content
kind
Figure kind.
kind: "mermaid"
Property Value
"mermaid"
Inherited Property Details
caption
description
Description of the figure.
description?: string
Property Value
string
Inherited From DocumentFigure.description
elements
Child elements of the figure, excluding any caption or footnotes.
elements?: string[]
Property Value
string[]
Inherited From DocumentFigure.elements
footnotes
List of figure footnotes.
footnotes?: DocumentFootnote[]
Property Value
Inherited From DocumentFigure.footnotes
id
role
source
Encoded source that identifies the position of the figure in the content.
source?: string
Property Value
string
Inherited From DocumentFigure.source
span
Span of the figure in the markdown content.
span?: ContentSpan
Property Value
Inherited From DocumentFigure.span