pipeviz

package
v0.0.0-...-907143c Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(graph Graph, w io.Writer)

Types

type Edge

type Edge struct {
	From  int
	To    int
	Class string
}

type Graph

type Graph struct {
	Nodes []Node
	Edges []Edge
}

type Node

type Node struct {
	Id    int
	Label string
	Class string
}

type PipeViz

type PipeViz interface {
	Write(graph Graph, w io.Writer)
	Generate(graph Graph) []byte
}

func New

func New() PipeViz

Jump to

Keyboard shortcuts

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