graphviz

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const NoLabel = ""

Variables

This section is empty.

Functions

func AttMap

func AttMap(maps ...Attributes) func(groph.RGraph) Attributes

func NoEdgeLabel

func NoEdgeLabel(_ groph.RGraph, _, _ groph.VIdx) map[string]interface{}

Types

type Attributes

type Attributes = map[string]interface{}

type Writer

type Writer struct {
	GraphAtts   func(g groph.RGraph) Attributes
	NodeAtts    func(g groph.RGraph) Attributes
	EdgeAtts    func(g groph.RGraph) Attributes
	PerNodeAtts func(g groph.RGraph, v groph.VIdx) Attributes
	PerEdgeAtts func(g groph.RGraph, u, v groph.VIdx) Attributes
}

func (Writer) Write

func (gv Writer) Write(
	wr io.Writer,
	g groph.RGraph,
	name string,
	vlabels ...interface{},
)

Jump to

Keyboard shortcuts

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