grapher

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddedCountLinksInGraphNodes added in v0.3.0

func AddedCountLinksInGraphNodes(classGraph *graph.Graph)

func ColorizeClassGraph added in v0.3.0

func ColorizeClassGraph(classGraph *graph.Graph)

func ColorizeFileGraph added in v0.3.0

func ColorizeFileGraph(classGraph *graph.Graph)

func ColorizeNamespacesDepsGraph added in v0.4.0

func ColorizeNamespacesDepsGraph(classGraph *graph.Graph)

Types

type Dot

type Dot struct {
	Format     OutputFormat
	InputFile  string
	OutputName string
}

func (*Dot) Execute

func (d *Dot) Execute() error

type Grapher

type Grapher struct{}

func NewGrapher

func NewGrapher() *Grapher

func (*Grapher) ClassDeps

func (g *Grapher) ClassDeps(c *symbols.Class, maxRecursion int64, withGroups bool) string

func (*Grapher) ClassImplementsExtendsDeps added in v0.3.0

func (g *Grapher) ClassImplementsExtendsDeps(c *symbols.Class, maxRecursion int64) string

func (*Grapher) ClassSuperGlobalsDeps added in v0.3.0

func (g *Grapher) ClassSuperGlobalsDeps(c *symbols.Class) string

func (*Grapher) FileDeps

func (g *Grapher) FileDeps(f *symbols.File, maxRecursion int64, root, block bool) string

func (*Grapher) FuncDeps

func (g *Grapher) FuncDeps(f *symbols.Function, maxRecursion int64) string

func (*Grapher) FunctionReachability added in v1.0.0

func (g *Grapher) FunctionReachability(rel *relations.ReachabilityFunctionResult) string

func (*Grapher) Lcom4 added in v0.1.0

func (g *Grapher) Lcom4(c *symbols.Class) string

func (*Grapher) Namespaces

func (g *Grapher) Namespaces(n *symbols.Namespace, maxRecursion int64) string

func (*Grapher) NamespacesDeps added in v0.4.0

func (g *Grapher) NamespacesDeps(n *symbols.Namespace, maxRecursion int64) string

type OutputFormat

type OutputFormat int8
const (
	Svg OutputFormat
	Png
)

func (OutputFormat) String

func (f OutputFormat) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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