builder

package
v1.4.5 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrDuplicate = errors.New("duplicate found")

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)

type Structurizr added in v1.3.0

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

func NewStructurizr added in v1.3.0

func NewStructurizr() *Structurizr

func (*Structurizr) AddEdge added in v1.3.0

func (s *Structurizr) AddEdge(srcID, dstID string, port node.Port)

func (*Structurizr) AddNode added in v1.3.0

func (s *Structurizr) AddNode(n *node.Node) error

func (*Structurizr) Write added in v1.3.0

func (s *Structurizr) Write(w io.Writer)

Jump to

Keyboard shortcuts

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