graph

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2022 License: MIT Imports: 18 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) error

type Dot

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

func (*Dot) Label

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

func (*Dot) ModuleLabel added in v0.5.0

func (ctx *Dot) ModuleLabel(mod *pkgtree.Module) string

func (*Dot) ModuleRef added in v0.5.0

func (ctx *Dot) ModuleRef(mod *pkgtree.Module) string

func (*Dot) Ref

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

func (*Dot) RepoRef added in v0.5.0

func (ctx *Dot) RepoRef(repo *pkgtree.Repo) string

func (*Dot) TreePackageLabel added in v0.5.0

func (ctx *Dot) TreePackageLabel(tp *pkgtree.Package, parentPrinted bool) string

func (*Dot) TreePackageRef added in v0.5.0

func (ctx *Dot) TreePackageRef(tp *pkgtree.Package) string

func (*Dot) Write

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

func (*Dot) WriteClusters

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

func (*Dot) WriteRegular

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

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) error

type Format

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

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) error

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) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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