dag

package
v0.0.0-...-f974911 Latest Latest
Warning

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

Go to latest
Published: May 26, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AsciDAG

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

func NewAsciDAGRender

func NewAsciDAGRender(nodeElement string) *AsciDAG

func (*AsciDAG) AddEdge

func (d *AsciDAG) AddEdge(edge *Edge)

func (*AsciDAG) AddNode

func (d *AsciDAG) AddNode(node *Node)

func (*AsciDAG) Render

func (d *AsciDAG) Render()

type Edge

type Edge struct {
	From      string
	To        string
	Decorator func(format string, a ...interface{}) string
}

type Node

type Node struct {
	Name    string
	Element string
}

type Position

type Position struct {
	X int
	Y int
}

Jump to

Keyboard shortcuts

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