dot

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend struct{}

func NewBackend

func NewBackend() Backend

func (Backend) Emit

func (b Backend) Emit(dst string, prog *ir.Program) error

type Cluster

type Cluster struct {
	Index    int
	Prefix   string
	Nodes    map[Node]struct{}
	Clusters map[string]*Cluster
}

func (*Cluster) Label

func (c *Cluster) Label() string

type ClusterBuilder

type ClusterBuilder struct {
	Main  *Cluster
	Edges []Edge
	// contains filtered or unexported fields
}

func (*ClusterBuilder) Build

func (b *ClusterBuilder) Build(w io.Writer) error

func (*ClusterBuilder) InsertEdge

func (b *ClusterBuilder) InsertEdge(send, recv ir.PortAddr)

type Edge

type Edge struct {
	Send Node
	Recv Node
}

func (Edge) Label

func (e Edge) Label() string

type Node

type Node struct {
	ir.PortAddr
}

func (Node) Label

func (n Node) Label() string

func (Node) Name

func (n Node) Name() string

Jump to

Keyboard shortcuts

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