Companion

object Companion

Functions

Link copied to clipboard
fun label(text: String): String

Answer a variant of the specified text such that tabs are replaced by spaces, for use with the label, headlabel, and taillabel attributes.

Link copied to clipboard
fun leftJustified(text: String): String

Answer a left-justified variant of the specified text, for use with the label, headlabel, and taillabel attributes. Calls label first to convert tabs to spaces.

Link copied to clipboard
fun node(name: String): DotWriter.DecoratedNode
fun node(name: String, port: String): DotWriter.DecoratedNode
fun node(    name: String,     port: String,     compassPoint: DotWriter.CompassPoint): DotWriter.DecoratedNode

Answer a DecoratedNode suitable for complex edge specification.

Link copied to clipboard
fun rightJustified(text: String): String

Answer a right-justified variant of the specified text, for use with the label, headlabel, and taillabel attributes. Calls label first to convert tabs to spaces.

Properties

Link copied to clipboard
val multicolorPattern: Pattern

The pattern to match for light/dark bimodal colors.

Link copied to clipboard
val unicolorPattern: Pattern

The pattern to match for light-only colors.