Skip to main content
Module

x/graphviz/mod.ts>attribute.nojustify

🦕 Simple Graphviz library for Deno.
Latest
variable attribute.nojustify
import { attribute } from "https://deno.land/x/graphviz@v0.2.1/mod.ts";
const { nojustify } = attribute;

By default, the justification of multi-line labels is done within the largest context that makes sense. Thus, in the label of a polygonal node, a left-justified line will align with the left side of the node (shifted by the prescribed margin). In record nodes, left-justified line will line up with the left side of the enclosing column of fields. If nojustify is "true", multi-line labels will be justified in the context of itself. For example, if the attribute is set, the first label line is long, and the second is shorter and left-justified, the second will align with the left-most character in the first line, regardless of how large the node might be.

type

"nojustify"