def with_graph

bend-visgraph@2.0.0.0 · bend_visgraph.bend:90

import bend-visgraph@2.0.0.0/bend_visgraph.bend as BendVisgraph
import Base
import bend-visgraph@2.0.0.0/visgraph.bend as VG

90def with_graph(found: Maybe<&2, VG.Visibility>, name: String, value: String, o: String, x: String, d: VG.Direction, k: VG.Weight, l: U32, m: Mode) -> Config:
91  match found:
92    case Some{g}:
93      Config{o, x, g, d, k, l, m}
94    case None{}:
95      bad(name, value)

Uses (9)

Used by (1)