Skip to main content
Module

x/graphviz/attribute.ts>attribute.labelangle

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

This, along with labeldistance, determine where the headlabel (taillabel) are placed with respect to the head (tail) in polar coordinates. The origin in the coordinate system is the point where the edge touches the node. The ray of 0 degrees goes from the origin back along the edge, parallel to the edge at the origin.

The angle, in degrees, specifies the rotation from the 0 degree ray, with positive angles moving counterclockwise and negative angles moving clockwise.

type

"labelangle"