booster / com.didiglobal.booster.graph.dot / DotGraph

DotGraph

sealed class DotGraph : GraphRenderer

Represents the graph type

Author
johnsonlee

Types

DIGRAPH

object DIGRAPH : DotGraph

DotOptions

data class DotOptions : Options

Functions

visualize

fun <N : Node> visualize(graph: Graph<N>, output: File, options: DotOptions, dot: Command = DOT, prettify: (Node) -> String = Node::toPrettyString): Unit
fun <N : Node> visualize(graph: Graph<N>, output: File, format: String = "png", dot: Command = DOT, prettify: (Node) -> String = Node::toPrettyString): Unit