The realized model (spec/03 §1.2): what every callback after realize/3 reads.
visualize's %Visualize.Chart.Frame{} narrowed to what the model owns:
name- the model's name;modulethe module that realized it;frame- the frame's name in the document, a string;size-{width, height}of the frame's own pixel box (§1.4), andboxthat box as[x, y, w, h]in the component's pixels,componentthe component's own size;margin-%{top, right, bottom, left}in pixels, after a legend grew it (§3.3);plot-%{width, height}, the box less the margins;scales- the realizedMacaw.Draw.Scalestructs by name (§2);domains- the extents the model was given rather than inferring (§2.5, §6.3);projection- aMacaw.Draw.Geo.Projectionin a geographic model;layout- the layout's run in a layout model (§9.2);panels- the facet's panel values in order;innerits inner model's name, andpanel_modelthe inner model realized over one panel's plot;legend_fit-nil,%{status: :drawn, entries: n}or%{status: :omitted, reason: r, entries: n}(§3.3.4);measurer- the Frame's resolved text measurer, which everything laid out over the model measures on (aMacaw.Layers.Text.Measurer, macaw_layers#63),nilfor a model realized outside a Frame, which measures by the estimate;systemandzone- the viewer's unit system and display zone;node- the frame node it was realized from,readsthe slots a delivery to which realizes it again (§1.2),realizedthe scales this realization built rather than reused,layerswhat the model knows of its layers (kinds, readings and labels, never their rows),writes_fromwhat its writes depend on (§5.1),syncthe cell's group, andwarningsthe warning-level faults it found (§2.3).
It holds no theme, no rows and no scene: those are the Frame's contained value's.
Summary
Types
@type t() :: %Macaw.Frame.Coordinates.Model{ box: [number()], component: {number(), number()}, domains: %{required(String.t()) => term()}, frame: String.t() | nil, inner: atom() | nil, layers: [map()], layout: map() | nil, legend_fit: map() | nil, margin: %{top: number(), right: number(), bottom: number(), left: number()}, measurer: Macaw.Layers.Text.Measurer.t() | nil, module: module() | nil, name: atom(), node: map(), panel_model: t() | nil, panels: [term()], plot: %{width: number(), height: number()}, projection: struct() | nil, reads: [String.t()], realized: [String.t()], scale_nodes: term(), scales: %{required(String.t()) => struct()}, size: {number(), number()}, sync: String.t() | nil, system: atom(), warnings: [Macaw.Base.Fault.t()], writes_from: map(), zone: String.t() | nil }