graphviz

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const DiGraphTemplate = "digraph %s { }"
View Source
const GraphID = "G"

Variables

This section is empty.

Functions

This section is empty.

Types

type Graph

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

func NewGraph

func NewGraph() *Graph

func (Graph) AddEdge

func (g Graph) AddEdge(src, srcPort, dst, dstPort string, attrs map[string]string)

func (Graph) AddNode

func (g Graph) AddNode(name string, attrs map[string]string)

func (Graph) String

func (g Graph) String() string

Jump to

Keyboard shortcuts

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