graph

package
v0.0.0-...-a03bce3 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

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

func (*Command) Execute

func (cmd *Command) Execute(ctx context.Context, f *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus

func (*Command) Name

func (*Command) Name() string

func (*Command) SetFlags

func (cmd *Command) SetFlags(f *flag.FlagSet)

func (*Command) Synopsis

func (*Command) Synopsis() string

func (*Command) Usage

func (*Command) Usage() string

type Digraph

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

func (*Digraph) Label

func (ctx *Digraph) Label(p *pkggraph.Node) string

func (*Digraph) Write

func (ctx *Digraph) Write(graph *pkggraph.Graph)

type Dot

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

func (*Dot) ClusterLabel

func (ctx *Dot) ClusterLabel(tree *pkggraph.Tree, parentPrinted bool) string

func (*Dot) Label

func (ctx *Dot) Label(p *pkggraph.Node) string

func (*Dot) Ref

func (ctx *Dot) Ref(p *pkggraph.Node) string

func (*Dot) TreeLabel

func (ctx *Dot) TreeLabel(tree *pkggraph.Tree, parentPrinted bool) string

func (*Dot) TreeRef

func (ctx *Dot) TreeRef(tree *pkggraph.Tree) string

func (*Dot) Write

func (ctx *Dot) Write(graph *pkggraph.Graph)

func (*Dot) WriteClusters

func (ctx *Dot) WriteClusters(graph *pkggraph.Graph)

func (*Dot) WriteRegular

func (ctx *Dot) WriteRegular(graph *pkggraph.Graph)

type Edges

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

func (*Edges) Label

func (ctx *Edges) Label(p *pkggraph.Node) string

func (*Edges) Write

func (ctx *Edges) Write(graph *pkggraph.Graph)

type Format

type Format interface {
	Write(*pkggraph.Graph)
}

type GraphML

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

func (*GraphML) ConvertGraph

func (ctx *GraphML) ConvertGraph(graph *pkggraph.Graph) *graphml.Graph

func (*GraphML) Label

func (ctx *GraphML) Label(p *pkggraph.Node) string

func (*GraphML) Write

func (ctx *GraphML) Write(graph *pkggraph.Graph)

type TGF

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

func (*TGF) Label

func (ctx *TGF) Label(p *pkggraph.Node) string

func (*TGF) Write

func (ctx *TGF) Write(graph *pkggraph.Graph)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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