Package-level declarations

Types

Link copied to clipboard
data class DotGraph(val content: String)

Represents a Graphviz DOT graph output

Functions

Link copied to clipboard
fun drawDot(graph: ComputeGraph, rankdir: String = "LR"): DotGraph

Generates a Graphviz DOT representation of the compute graph

fun drawDot(graph: ComputeGraph, outputNodes: List<GraphNode>, rankdir: String = "LR"): DotGraph

Generates a Graphviz DOT representation for a subset of nodes in the compute graph

Link copied to clipboard
fun ComputeGraph.toGraphviz(rankdir: String = "LR"): String

Convenience extension to get Graphviz DOT text directly from a ComputeGraph.

Link copied to clipboard

Traces the compute graph starting from output nodes to collect all nodes and dependencies