Skip to main content
Module

x/graphviz/mod.ts>attribute.id

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

Allows the graph author to provide an id for graph objects which is to be included in the output. Normal "\N", "\E", "\G" substitutions are applied. If provided, it is the responsibility of the provider to keep its values sufficiently unique for its intended downstream use. Note, in particular, that "\E" does not provide a unique id for multi-edges. If no id attribute is provided, then a unique internal id is used. However, this value is unpredictable by the graph writer. An externally provided id is not used internally.

If the graph provides an id attribute, this will be used as a prefix for internally generated attributes. By making these distinct, the user can include multiple image maps in the same document.

type

"id"