MCPcopy
hub / github.com/element-hq/element-web / Node

Interface Node

scripts/gen-workflow-mermaid.ts:34–55  ·  view source on GitHub ↗

* Type representing a node on a graph with additional metadata

Source from the content-addressed store, hash-verified

32 * Type representing a node on a graph with additional metadata
33 */
34interface Node {
35 // Workflows are keyed by project/name??id
36 // Jobs are keyed by id
37 // Triggers are keyed by id
38 id: string;
39 name: string;
40 shape:
41 | "round edges"
42 | "stadium"
43 | "subroutine"
44 | "cylinder"
45 | "circle"
46 | "flag"
47 | "rhombus"
48 | "hexagon"
49 | "parallelogram"
50 | "parallelogram_alt"
51 | "trapezoid"
52 | "trapezoid_alt"
53 | "double_circle";
54 link?: string;
55}
56
57/**
58 * Type representing a directed edge on a graph with an optional label

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected