def edges

near-architecture@0.9.1.0 · arc.bend:757

import near-architecture@0.9.1.0/arc.bend as Arc
import Base

757def edges(xs: List<&2, Link>, +s: System) -> String:
758  match xs:
759    case []:
760      ""
761    case l <> rest:
762      match l:
763        case Link{src, dst, label, live}:
764          path(src, s) ++ " -> " ++ path(dst, s) ++ ": \"" ++ label ++ "\" {class: " ++ style(live) ++ "}\n" ++ edges(rest, s)

Uses (7)

Used by (1)