builder

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder interface {
	graph.Builder
	Write(io.Writer)
}

func Create

func Create(kind string) (b Builder, ok bool)

type DOT

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

func NewDOT

func NewDOT() *DOT

func (*DOT) AddEdge

func (d *DOT) AddEdge(srcID, dstID string, port node.Port)

func (*DOT) AddNode

func (d *DOT) AddNode(n *node.Node) error

func (*DOT) Write

func (d *DOT) Write(w io.Writer)

type JSON

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

func NewJSON

func NewJSON() *JSON

func (*JSON) AddEdge

func (j *JSON) AddEdge(srcID, dstID string, port node.Port)

func (*JSON) AddNode

func (j *JSON) AddNode(n *node.Node) error

func (*JSON) Write

func (j *JSON) Write(w io.Writer)

Jump to

Keyboard shortcuts

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