mermaid

package
v0.7.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateMermaidMarkupFile

func GenerateMermaidMarkupFile(filename string, graph *MermaidGraph) error

Types

type MermaidEdge

type MermaidEdge struct {
	FromNode *MermaidNode
	ToNode   *MermaidNode
}

type MermaidGraph

type MermaidGraph struct {
	Nodes     []*MermaidNode
	Edges     []*MermaidEdge
	SubGraphs []*MermaidSubgraph
}

func FillMermaidGraph

func FillMermaidGraph(t *tzap.Tzap) *MermaidGraph

type MermaidNode

type MermaidNode struct {
	Id    string
	Label string
}

type MermaidSubgraph

type MermaidSubgraph struct {
	Id        string
	Label     string
	Nodes     []*MermaidNode
	Edges     []*MermaidEdge
	SubGraphs []*MermaidSubgraph
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL