grapher

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddGraphScalability

func AddGraphScalability(name string) error

func WriteGraph

func WriteGraph(name string, graphData string) error

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 {
	Database *models.Database
	Graph    *models.Graph
}

func NewGrapher

func NewGrapher(database *models.Database) *Grapher

func (*Grapher) FunctionDeps

func (g *Grapher) FunctionDeps(funcGraph *models.Graph) string

func (*Grapher) Paths

func (g *Grapher) Paths(paths [][]*models.Func) 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