io

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteDotGraph

func WriteDotGraph(w io.Writer, g DotGraph) error

Types

type DotAttrs

type DotAttrs map[string]string

func (DotAttrs) Lines

func (p DotAttrs) Lines() string

func (DotAttrs) List

func (p DotAttrs) List() []string

func (DotAttrs) String

func (p DotAttrs) String() string

type DotCluster

type DotCluster struct {
	ID       string
	Clusters map[string]*DotCluster
	Nodes    []*DotNode
	Attrs    DotAttrs
}

func (*DotCluster) String

func (c *DotCluster) String() string

type DotEdge

type DotEdge struct {
	From  string
	To    string
	Attrs DotAttrs
}

func (*DotEdge) String

func (e *DotEdge) String() string

type DotGraph

type DotGraph struct {
	Title    string
	Attrs    DotAttrs
	Clusters map[string]*DotCluster
	Nodes    []*DotNode
	Edges    []*DotEdge
	Options  map[string]string
	Ranks    []*DotRank
}

type DotNode

type DotNode struct {
	ID    string
	Attrs DotAttrs
}

func (*DotNode) String

func (n *DotNode) String() string

type DotRank

type DotRank struct {
	Name  string
	Nodes []string
}

func (*DotRank) List

func (r *DotRank) List() []string

func (*DotRank) String

func (r *DotRank) String() string

Jump to

Keyboard shortcuts

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