def build
import bend-visgraph@2.0.0.0/parallel.bend as Parallelimport Base
import bend-visgraph@2.0.0.0/visgraph.bend as VG
174# VG.build on every thread.
175def build(o: VG.Options, s: VG.Series) -> VG.Graph:
176 VG.Options{g, +dir, k, lo, hi, +limit} = o
177 VG.Series{+n, ys, xs} = s
178 VG.Graph{n, dir, chosen(U32.is_zero(limit), g, dir, k, lo, hi, limit, ys, xs, n)}