Skip to main content
Module

x/graphviz/attribute.ts>attribute.normalize

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

If set, normalize coordinates of final layout so that the first point is at the origin, and then rotate the layout so that the angle of the first edge is specified by the value of normalize in degrees. If normalize is not a number, it is evaluated as a bool, with true corresponding to 0 degrees. NOTE: Since the attribute is evaluated first as a number, 0 and 1 cannot be used for false and true.

type

"normalize"