def with_limit
import bend-visgraph@2.0.0.0/bend_visgraph.bend as BendVisgraphimport Base
import bend-visgraph@2.0.0.0/visgraph.bend as VG
111def with_limit(found: Maybe<&2, U32>, name: String, value: String, o: String, x: String, g: VG.Visibility, d: VG.Direction, k: VG.Weight, m: Mode) -> Config:
112 match found:
113 case Some{l}:
114 Config{o, x, g, d, k, l, m}
115 case None{}:
116 bad(name, value)