def with_direction

bend-visgraph@2.0.0.0 · bend_visgraph.bend:97

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

97def with_direction(found: Maybe<&2, VG.Direction>, name: String, value: String, o: String, x: String, g: VG.Visibility, k: VG.Weight, l: U32, m: Mode) -> Config:
98  match found:
99    case Some{d}:
100      Config{o, x, g, d, k, l, m}
101    case None{}:
102      bad(name, value)

Uses (9)

Used by (1)