rendering

package module
v0.0.0-...-edd1a57 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderGraph

func RenderGraph(gf *graphflow.Graphflow) (bytes.Buffer, error)

RenderGraph returns a buffer of bytes containing a graphviz png representation of all the Tasks and the Paths connecting them. Needs to be passed a GraphVizIntf implementation to render the graph (eg graphviz.New())

func RenderPathThroughGraph

func RenderPathThroughGraph(context *graphflow.ExecutionContext, gf *graphflow.Graphflow, contextKeysToRender ...string) (bytes.Buffer, error)

RenderPathThroughGraph returns a buffer of bytes containing a graphviz png representation of all the Tasks and the Paths connecting them, with the actual path taken for the given ExecutionContext highlighted. Any Context Keys provided will be rendered with their values at the top of the image.

Types

This section is empty.

Jump to

Keyboard shortcuts

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