def static_view

near-v-framework@0.4.0.0 · domain/architecture/view/ops.bend:213

import near-v-framework@0.4.0.0/domain/architecture/view/ops.bend as Ops
import Base
import near-v-framework@0.4.0.0/general/compound/ops.bend as CO
import near-v-framework@0.4.0.0/domain/architecture/type.bend as A
import near-v-framework@0.4.0.0/domain/architecture/ops.bend as O
import near-v-framework@0.4.0.0/domain/architecture/view/type.bend as Vw

213# Context, containers and components: the view's keys, and the architecture's edges lifted to what shows.
214def static_view(+a: A.Architecture, +v: Vw.View) -> String:
215  +c = O.to_compound(a)
216  +ins = inner(a, v)
217  draw(title(a, roots(c), v), ins, boundary(a, v), roots(c), touching(CO.lift(A.Element, c, visible(a, v)), ins))

Uses (13)

Used by (1)