visualize

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToGraphViz

func ToGraphViz(g *core.CompiledWorkflow) string

func WorkflowToGraphViz

func WorkflowToGraphViz(g *v1alpha1.FlyteWorkflow) string

Returns GraphViz https://www.graphviz.org/ representation of the current state of the state machine.

Types

type NodeQ

type NodeQ []v1alpha1.NodeID

func NewNodeNameQ

func NewNodeNameQ(items ...v1alpha1.NodeID) NodeQ

func (*NodeQ) Deque

func (s *NodeQ) Deque() v1alpha1.NodeID

func (*NodeQ) Enqueue

func (s *NodeQ) Enqueue(items ...v1alpha1.NodeID)

func (NodeQ) HasNext

func (s NodeQ) HasNext() bool

func (*NodeQ) Peek

func (s *NodeQ) Peek() v1alpha1.NodeID

func (NodeQ) Remaining

func (s NodeQ) Remaining() int

type NodeVisitor

type NodeVisitor map[v1alpha1.NodeID]VisitStatus

func NewNodeVisitor

func NewNodeVisitor(nodes []v1alpha1.NodeID) NodeVisitor

type VisitStatus

type VisitStatus int8
const (
	NotVisited VisitStatus = iota
	Visited
	Completed
)

Jump to

Keyboard shortcuts

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