Skip to main content
Module

x/graphviz/mod.ts>attribute.rank

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

Rank constraints on the nodes in a subgraph. If rank="same", all nodes are placed on the same rank. If rank="min", all nodes are placed on the minimum rank. If rank="source", all nodes are placed on the minimum rank, and the only nodes on the minimum rank belong to some subgraph whose rank attribute is "source" or "min". Analogous criteria hold for rank="max" and rank="sink". (Note: the minimum rank is topmost or leftmost, and the maximum rank is bottommost or rightmost.)

type

"rank"