graphviz

package
v0.16.3 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Edge

type Edge struct {
	From, To *Node
}

type Graph

type Graph struct {
	// contains filtered or unexported fields
}

func New

func New() *Graph

func (*Graph) AddEdge

func (g *Graph) AddEdge(from, to *Node) *Edge

func (*Graph) AddNode

func (g *Graph) AddNode(name string) *Node

func (*Graph) Render

func (g *Graph) Render() error

type Node

type Node struct {
	Name string
	// contains filtered or unexported fields
}

func (*Node) AddAttribute

func (n *Node) AddAttribute(s string)

func (*Node) AddTooltip

func (n *Node) AddTooltip(s string)

Jump to

Keyboard shortcuts

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