v0.1.0 (2026-12-02)
The first release: Macaw's visual components, the Frame, the Sparkline and the Legend, drawn with macaw_draw, on the family's packages (dco-tek/macaw/macaw#334, #478). visualize's visuals carried into Macaw's model as components of macaw_component's contract.
The family's packages from Hex (#140, dco-tek/macaw/macaw#478 step 9): macaw_base
~> 0.1.1, macaw_layers~> 0.6.0, macaw_units~> 0.1.0, macaw_format~> 0.1.0, macaw_draw~> 0.1.0, macaw_data~> 0.21.1and macaw_component~> 0.13.0, where they were pinned by git; CI fetches nothing with the job's token. The README has its Installation section.Breaking for a project that took
Macaw.Drawfrom this package: it is macaw_draw's now (#139, #138, dco-tek/macaw/macaw_draw#2, dco-tek/macaw/macaw#478 step 7, spec/00 §1.1, §3).- Why: an app that only draws (a chart image on a server, a printout) shouldn't take the Frame, macaw_component and macaw_data with it.
- What moved:
Macaw.Draw.*with every module name unchanged, its tests and goldens, the bundled DejaVu faces (priv/fonts), spec 06–09 and the drawing's half of 10, 12 and 14 (macaw_draw keeps their numbers). This package depends on macaw_draw and deletes its copy. - What stayed: the Frame's sections of the moved files, rehomed: its measurer (spec/01 §2.4), packed columns, stacks and when a layout runs (spec/04 §1.13), the viewport box a point slot is asked (spec/03 §8.4.1), and its canvases, motion sheet, segments, raster text fit and tiles in a standalone SVG (spec/10 §4, §5, §6, §8.1, §9). The tests that needed both the Frame and Draw stay here under
test/macaw/frame/draw/and the client tests; the drawing library's gate list and absolute pins went with it, andMacaw.Frame.GatesTestholds the Frame's own gates to the pinning rules. - Upgrading: a user of
Macaw.Framechanges nothing. A project that usedMacaw.Drawthrough this package adds{:macaw_draw, ...}. - Pin: macaw_draw by git at eb618b6, its main at macaw_draw#2's merge, which asks for macaw_base, macaw_layers, macaw_units and macaw_format at this package's commits, so none needs an override, until the family's release (#478 step 9).
Breaking: units are macaw_units' and presentation macaw_format's; macaw_data 6cd29cb (#137, #134, dco-tek/macaw/macaw#478 steps 4–5, spec/00 §1.1, spec/06 §1.1, §18, §19).
- Why: the package split moved units and presentation out of macaw_data (dco-tek/macaw/macaw_data#469), which deleted its copies, so this package names their new homes and
Macaw.Drawneeds no macaw_data at all. - Renamed in this package's public API:
Macaw.Draw.Axis.tick_format/2takes aMacaw.Format,Macaw.Format.TimeorMacaw.Format.Measurewhere it took Macaw.Data.Format and its Time and Measure, andMacaw.Draw.Format'sformatfield and its:localeoption aremacaw_format'sMacaw.Format.Time,Macaw.Format.MeasureandMacaw.Format.Locale;Macaw.Draw.Quantity's:localelikewise.Macaw.Draw.Quantity.suffix/1answers the reason ofMacaw.Units.Unit.symbol/2. Inside, Macaw.Data.Unit isMacaw.Units.Unit, Macaw.Data.Quantity's meaning (all/0,resolve/1)Macaw.Units.Quantity, its presentation (family/3,systems/0,label/1)Macaw.Format.Quantity, and Macaw.Data.FormatMacaw.Format. Every answer and message reads as before. - Upgrading: build a tick format or a locale with
Macaw.Format(parse/2,parse_time/2,for_measure/2,Macaw.Format.Locale.new/1) where you built it with Macaw.Data.Format. - Pins: macaw_units 2ae8303 and macaw_format 8304686 join as direct dependencies by git, macaw_data moves to 6cd29cb and macaw_component to 4e55777 (its #110), each at the commits the others ask for, so none needs an override, until the family's release (#478 step 9).
- Guards:
Macaw.Drawnames noMacaw.Datamodule at all now (spec/07draw-boundary, spec/00overview-deps), and its remote calls stay within Macaw.Draw, macaw_base, macaw_layers, macaw_units and macaw_format (spec/06scales-draw-pure). The base-names test fails if lib/ or test/ names macaw_data's Unit, Quantity or Format (spec/00overview-base-names).
- Why: the package split moved units and presentation out of macaw_data (dco-tek/macaw/macaw_data#469), which deleted its copies, so this package names their new homes and
visualize is no longer a dependency of any kind: the parity gate compares with visualize's recorded counts (#136, #135, spec/12 §7).
parity/loaded visualize beside the package, so visualize had to compile against the exact family commits macaw_frame took, and every family rename waited on it (#133, dco-tek/visualize#1166). visualize's side was counted once at its pinned commit 0d8576b, on the CI image's Elixir 1.20.4 and OTP 29.0.5: per scene compile, still render and tick, the grid moves, the grid's wire bytes and the live frame, with its picture of each scene. The record istest/support/parity/, and the gate runs in the package's suite with the same allowances and the same 0.5 %.parity/, theverify:parityjob and its audit line are gone. A toolchain change that moves the Frame past a recorded count fails like any regression and is never answered by editing the record.Breaking: macaw_frame stands on macaw_base; faults, names, vocabularies and versions are
Macaw.Base.*(#133, #132, dco-tek/macaw/macaw#478 step 3, spec/00 §1.1, spec/02 §10, spec/06 §1.1).- Why: what every Macaw package shares moved from macaw_layers to macaw_base (dco-tek/macaw/macaw_base#1), and macaw_data stands on it without macaw_layers (dco-tek/macaw/macaw_data#467).
- Renamed in this package's public API: every fault type in a spec is
Macaw.Base.Fault.t()where it was Macaw.Layers.Fault.t(),Macaw.Draw.Error's:reasonincluded.Macaw.Frame.DocumentimplementsMacaw.Base.Versionwhere it implemented Macaw.Layers.Version, and itskeys/0andatoms/0answer aMacaw.Base.Vocabulary.table(). The digest a Frame'scompiled_forand a drawing's token are made from isMacaw.Base.Encoding.digest/1, byte for byte what Macaw.Layers.Document.digest/1 was. - Fault words:
Macaw.Base.Faultwords only the general reasons, and layers words its own inMacaw.Layers.Words.Macaw.Frame.Document.format/1andMacaw.Draw.Errorpass layers' words, so every message reads as before. A text form's positioned fault (Macaw.Frame.TextForm.format/1) is now worded with the same words asDocument.format/1, so a re-rooted fault whose reason is a general or a layers one reads in those words where it read "is at fault: …". - Upgrading: name
Macaw.Base.Fault,Macaw.Base.Names,Macaw.Base.VocabularyandMacaw.Base.Versionwhere you named them under Macaw.Layers, and word a fault withMacaw.Base.Fault.format/2andwords: &Macaw.Layers.Words.words/1for layers' reasons. - Pins: macaw_base, macaw_layers, macaw_data and macaw_component by git, each at the commit the others ask for, until the family's release (#478 step 9).
- Guard: a test fails if lib/ or test/ names a moved module or Macaw.Layers.Document's digest or encoding (spec/00
overview-base-names).
macaw_data
~> 0.20.1(#131, #130), in macaw_frame andparity/: 0.20.1 formats a measure at its cost before ucum (dco-tek/macaw/macaw_data#458, #459).macaw_data
~> 0.20.0from Hex (#129, #123). 0.20.0 holds no color and reads units throughucum. macaw_frame andparity/take it from Hex where they were pinned by git at macaw_data#447's merge, and macaw_component moves to its main at #104's merge, which does the same.Upgrading: value colors come from the page, not the schema; a column of colors is
:term(#127, #123, dco-tek/macaw/macaw_data#446, spec/01 §7, spec/02 §2.4 and §7.3, spec/03, spec/11 §8.2).- Why: macaw_data holds no color now. Schema value entries carry no
color,Schema.value_colors/2is gone, and:coloris no data type. - Declared colors:
Macaw.Frame.Fact's:colors, the Legend and a Frame's ordinal color scale read a value's color from the render context'scolors, the page's or design's (Macaw.Component.Context, macaw_component#101), else itsstatusrole, else its position. A Frame and its Legend still show a value in one color.Fact.fetch/4takes the mapping, and a Frame's compile context carries it, renamed to the roles its fields are bound to. - Types: a column of colors is
:term. The Legend'scolorrole, the slots' types, a design's slottypes, a channel's types and the choropleth'sgeometryrole take:termwhere they took:color. - Variables: a design's
:colorvariable is the Frame's own type. It is:termto macaw_data, judged a color here, and still binds to state. - Pins: macaw_data and macaw_component are pinned by git to their mains (macaw_data#447's merge, with an override, and macaw_component#103's) until they release.
parity/takes the same macaw_data commit.
- Why: macaw_data holds no color now. Schema value entries carry no
Macaw.Drawhas no stack, and a test holds its boundary (#125, #124, dco-tek/macaw/macaw#478 decision 7, spec/07 §8, spec/00 §1.1). The package map makes Draw its own package, on macaw_layers, macaw_format, macaw_units and macaw_base, never on macaw_data's tables and sources. The one code dependency in the way was the shape facade's stack pass-through, and nothing in the Frame called it. Removed: Macaw.Draw.Shape's stack/0, keys/2, order/2 and offset/2; value/2 of a stack; generate/2 of a stack.generate/2now refuses a stack as no generator. Migration: callMacaw.Data.Stackdirectly, as the Frame's stacking layers and thestackstep do, and hand Draw the stacked series. The newMacaw.Draw.BoundaryTestfails if code underlib/macaw/drawnamesMacaw.Data.*,Macaw.Component.*orMacaw.Frame.*.Format,QuantityandUnitare allowed until phase 2 moves them to macaw_format and macaw_units. Doc text and comments are not checked.parity/'s lock is audited, and so is every lock the repository gains (#121, #120).parity/mix.lockheld phoenix, phoenix_live_view and plug releases with open security advisories, unseen because theauditjob ranci/advisories.exson the root lock alone. They move to phoenix 1.8.17, phoenix_live_view 1.2.15 and plug 1.20.4, nothing else in the lock changing. Theauditjob now runs the family's script inparity/too, againstparity/'s own empty allowlist, and the newci/audit_coverage.exsfails when a trackedmix.lockhas no audit line.macaw_data
~> 0.19.0from Hex (#119, #118). macaw_frame used to pin macaw_data's main by git withoverride: truefor the packed-column reads. It now takes macaw_data 0.19.0 from Hex (dco-tek/macaw/macaw_data#436), and macaw_component at the commit that asks the same (dco-tek/macaw/macaw_component#98), so macaw_data needs no override.parity/takes it from Hex too, still overriding visualize's older requirement. macaw_layers stays pinned by git until it releases the text measurement seam.The weekly stress job runs on an image without
ps, and every branch pipeline runs its self-test (#117, #116, dco-tek/macaw/macaw_data#420).ci/stress.exs, re-vendored from the family reference, tells a run's pid from/proc/PID, elseps, else reports that it can't, never crashing; thestress-self-testjob runselixir ci/stress.exs --self-teston the stress job's image in every branch pipeline.The package skeleton: the family's CI gates, the dependency, namespace, not-carried-over and pure-Elixir guards (macaw_frame#15).
The test infrastructure: reductions counted without collections (
Test.Work), golden files, the totality helper and shared generators (macaw_frame#16).The docs build with no warning, and CI runs them (macaw_frame#50).
spec/06 is traced: every test declares the hint it verifies, and each module and function its section; hint slugs no longer reuse their section's anchor (macaw_frame#20).
Continuous scales: the
Macaw.Draw.Scalefacade andnew/2builder, the behavior,Linear,Log,Power,Symlog,Time(microsecond instants, a display zone),Radial, the one tick ruleMacaw.Draw.Ticksheld to the d3 golden, andMacaw.Draw.Error; every public function total, with pinned apply and ticks counts (macaw_frame#17).Discrete and color scales:
Ordinal(constant-cost lookup by value and by spelling),Band,Quantile,Quantize,ThresholdandColorwith the 25 d3 schemes as literal colors, built through the facade andnew/2(macaw_frame#18).The frame document type:
Macaw.Frame.Documenton themacaw_layerskernel (itsDocument,Version,FragmentandFormbehaviors), the schema as data (Macaw.Frame.Document.Schemaand itsDesign,Frame,LayerandSpectables), the tag table, words, limits and the version line from 1 withcanonical/1,Macaw.Frame.Text,Macaw.Frame.Factand the style parts' shorthands and merge rule, over thirteen fixture designs (macaw_frame#33).Validation of the frame document: every fault by path at once, with the per-node checks of the design, frames, layers and labels: slots' names, declared paints, style cycles, the layout grid and frame placement, adopted scales, interaction gestures, a scale's range and zone, axis measures, legends, fits, tooltips' reserved events, units, motion, untrusted strings, inline themes, and layer kinds and coordinate models looked up by spelling in the registry a Frame passes, steps through the operations registry (macaw_frame#35).
Variables, facts, composition and forms of the frame document: application (
Document.Apply, variables given at the use site and bound to state), the contract and facts against slot schemas (Document.Facts),check_types/2, coverage of declared values,free_vars/1, the type's composition hooks (Document.Composite: scope, whole designs under a key, ids inlined,decompose/1with a compile-time check that every key has a place) andflatten/2, typed fragments, theMacaw.Frame.TextFormbehavior and registry with no form registered, and the map and JSON round trips over generated documents (macaw_frame#36).The style grammar of the frame document:
Macaw.Frame.Style(lookup through the design's styles and the theme's palette withextendschains, the stack at a site with field and generator entries,with_state/2, resolution to:cssand:literaloutputs,bind/4) and its partsParts(shorthands, the merge rule, projection,drawn/2),Defaults,Sizes,Motion,GeneratedandInherited; generator entries called throughMacaw.Draw.Generators(stacks/5once per distinct call over a site's data, a wrong-typed result a fault) and generator names checked by the validator against the read's registry (macaw_frame#34).Ticks, axes, formats and quantity display:
Ticks.tick_count/2,Macaw.Draw.Axisas scene elements (its SVG byte for byte visualize's axis golden), the derived tick formatMacaw.Draw.Formatas data over Macaw.Data.Format,Macaw.Draw.Quantityover Macaw.Data.Unit/Quantity, and the IR core the axis needs (IR.Element,IR.Path,IR.Transform, an SVGRender) (macaw_frame#19).Layout conventions, graph and hierarchies:
Macaw.Draw.Layout(options checked once with every fault at once, vocabularies by spelling, columns),Layout.Graph(a network from links and nodes slots),Layout.Hierarchy(stratify from role columns answering unreached rows, nested data, aggregation, traversal),Layout.Tree,Layout.ClusterandLayout.Links(link paths as IR), held to visualize's tree golden, with pinned counts (macaw_frame#29).Space-filling layouts:
Layout.Pack(d3's packSiblings and seeded packEnclose),Layout.Partition(icicles and sunbursts) andLayout.Treemap(five tilings read by spelling), byte for byte visualize's pack and treemap goldens, a new partition golden, with pinned counts (macaw_frame#30).Flows:
Layout.Chord(the matrix from a Graph, groups and chords, arc and ribbon paths as IR, columns about one center whatever the radius) andLayout.Sankey(d3-sankey over a Graph, alignments by spelling, cycles terminating and reported bycyclic?/1, depths in topological order), visualize's sankey golden byte for byte and a chord golden recorded from visualize's own paths, with pinned counts (macaw_frame#31).Force and hexbin:
Layout.Forceas one pure value (new, step, run, reheat, target, pin, warm start, rescale, columns; no process, timer or subscriber) matching visualize's cold run,Layout.Force.Forces(the seven forces, faults where visualize raised) andLayout.Hexbin(pixel points to nearest-center cells, input positions kept); the first cut's cost-shape gates and absolute pins for every layout; spec/08 §1–§10 traced under surfex (macaw_frame#32).Geo projections:
Macaw.Draw.Geo.Projection(38 types by atom or spelling, an unknown type a fault, setters answering type faults, rotation, the clip test, bounds, sphere,fit_extent/3,fit/4withpaddingandmin_span) over the five internal families, held to visualize's projection golden and d3-geo's rotation cases; no point at a domain's edge or past it raises (macaw_frame#21).Geo clipping, paths, circles and the graticule: the internal sphere clip (
Clip,Clip.Antimeridian,Clip.Circle,Clip.Rejoin,PolygonContains),Macaw.Draw.Geo.Pathdrawing GeoJSON as IR paths (malformed parts skipped and reported bycheck/1, the projection step'sproject_points/3andproject_geometries/2columns),Geo.Circleand the newGeo.Graticule, held to d3-geo's clip and circle goldens;IR.Pathgains the arc command a point is drawn with (macaw_frame#22).Geo tiles and the viewport:
Macaw.Draw.Geo.Tiles(alignment, zoom, a cover capped atmax_tiles1,024, the addressvalues/2a tile's proxy path is asked with,check_template/2; no URL helper) andMacaw.Draw.Geo.Viewport(a view as a:pointbox window, exact for a tile-aligned Mercator and sampled and padded otherwise,fit_box/4,pan/2,zoom/4); refusals are values (macaw_frame#23).Geo triangulation, Voronoi and contours:
Macaw.Draw.Geo.Delaunay(visualize's construction, pinned at 1,000 and 2,000 points;find/2answersniloutside),Macaw.Draw.Geo.Voronoi(bounds required, hull cells complete, edges read through the half-edges),Macaw.Draw.ContourandContour.Density(columns in, IR paths out, the contours golden visualize's rings), the geo cost gates, and spec/09 traced under surfex (macaw_frame#24).Lines, areas and curves: the
Macaw.Draw.Shapefacade (the stack isMacaw.Data.Stack),Shape.LineandShape.Areaover defined runs withruns_path/2andArea.parts/3, the twelve curves ofShape.Curveheld to visualize's curve golden, the IR path's cubic and arc commands; fields read by spelling, unknown curves refused as values, every curve linear and a line or area within 1.15x its curve, with pinned counts (macaw_frame#25).Radial and annotation shapes:
Shape.Arc(d3's padding and corners, byte for byte visualize's),Shape.Pie,Shape.Symbol(types by spelling),Shape.Band,Shape.RuleandShape.XBandas scene elements with color-value fills,Shape.PercentileBand,Shape.Rose(band scales by category) andShape.Needle(caps by spelling), the whole facade,IR.Element.rect/5, and a test thatMacaw.Data.Stackis the one stack; undefined coordinates draw nothing, refused names are values, with pinned Pie and Arc counts (macaw_frame#26).Drawing utilities:
Macaw.Draw.Interpolate(factories as values overMacaw.Layers.Colorliterals),Macaw.Draw.Ease(25 curves, names by spelling, domain faults),Macaw.Draw.Text(the one width estimate and its inverse),Macaw.Draw.Polygon(one pass per measure, anO(n log n)hull),Macaw.Draw.Random(seeded draws over an explicit state, visualize's values from the same seed),Macaw.Draw.Units(relative and unknown units refused as values); no color module inMacaw.Draw; Text and hull counts pinned (macaw_frame#27).The plain SVG builder (
Macaw.Draw.SVG,SVG.Elementwithfrom_ir/1,SVG.Renderer, the one serializerMacaw.Draw.Rendernow writes through),Macaw.Draw.Generators(string-named stored calls, an explicit registry refusing as values,lookup/3by spelling,call/4that never rescues), the not-carried guards (no Nx, noLineNx, no stack, rows reader or path shim) and the shapes cost rule; spec/07 traced under surfex (macaw_frame#28).The scene IR completed:
IR.Element(every node type's constructor,root/3named byaria-label,clip/3,datum/3andtext?/1, the effective paintfills?/2,strokes?/2,stroke_first?/2,font/2,font_size/2, the editors),IR.Path(every command and relative builder,expand_smooth/1,absolute/1,transform/2with exact arcs, the one formatter),IR.Transformas operations and their matrix,IR.Paint(gradients, hatches, definitions, the tight box) andIR.Motion(samples, CSS, spans, one curve); the axis, shape and geo goldens unchanged, a pinnedMacaw.Draw.IR.Path.to_string/1count (macaw_frame#39).The dispatch and the SVG renderer:
Macaw.Draw.Render(render/3,to_string/3over registered targets or aRender.Targetmodule, no configured default,path_data/2,format_fault/1) andMacaw.Draw.Render.SVG(every node type to its tag, clips and masks in the node's own user space, attributes sorted through the one serializer, style as attributes and classes, a blend asmw-blend-<word>, never astyleattribute or element,String.CharsandPhoenix.HTML.Safeleaving a faulted node out); a scene the renderer cannot write answers every fault by path; generated scenes and malformed scenes; pinned SVG counts for a 10,000-point line and a 5,000-point scatter (macaw_frame#40).Motion sheets:
Macaw.Draw.Render.Motion(sheet/1answering the generated stylesheet and one content-hashed class per distinct transition, animation and enter part, the built-ins' keyframes, a host's keyframes held to a CSS identifier, the reduced-motion rule last;classes/1,class/1), and the SVG renderer writing them in:cssresolution (a transition's class on its node, moving colors asoklch(), wrapper groups for animations and enters,data-mw-exit) and nothing in:literal(macaw_frame#41).The raster target and its fonts:
Macaw.Draw.Render.Raster(to_png/2,3through resvg as a port: stdin throughhead -c, a render-owned process trapping exits, the process group killed every 10 ms until it exits, every wait bounded and no clock read; the:resvgand:fontsoptions and no application environment; options refused before any binary is looked for; the version probed per call against a pinned minimum; warnings as values; no bang variant),Macaw.Draw.Render.Fontswith DejaVu Sans regular and bold inpriv/fonts/,Macaw.Frame.Test.PNG, the pinned resvg in CI andMACAW_FRAME_RESVGin the test helper; the benchmark harness coreMacaw.Frame.Benchmark(run/1,stream/1,format/1on an injectable clock); spec/10 traced under surfex, its client-side hints planned for #12 (macaw_frame#42).Delaunay by sweep-hull:
Geo.Delaunaybuilds by Delaunator's construction (seed circumcenter, radial order, a hashed linked hull, Lawson flips on an explicit stack) in pure Elixir, its triangles the incremental construction's up to cocircular choice; 2,000 points count 328,556 reductions (from 124 M), under one frame's 440,880, and Voronoi of 1,000 sites 866,975 (from 31.7 M) (macaw_frame#49).Coordinate models, the behavior:
Macaw.Frame.Coordinates(the sixteen callbacks, the registry of packages' models withfetch/2by spelling,box_of/3the one place a cell becomes a box,order/1,realize_all/4sharing adopted scales in two passes,refresh/5the reuse rule),Macaw.Frame.Coordinates.Model,Macaw.Frame.Package, andMacaw.Frame.Scales(realization throughMacaw.Draw.Scale.new/2with faults for visualize's raises, which channel reads which scale, inference over packed columns and never rows, automatic ranges, declared colors, adoption) (macaw_frame#43).Coordinate models, furniture, clipping and hit-testing:
Macaw.Frame.Furniture(the one group order of every model, the grid, axes throughMacaw.Draw.Axiswith counts and formats derived from the model's geometry and measures shown in the viewer's system, a measure's title),Macaw.Frame.Furniture.Legend(entries by ticks or declared values and names, corners, rows that wrap and grow their margin,max_label, the five omission reasons,legend_fitandextent/2from one layout),Macaw.Frame.Labels(every anchor, the position keys along the outward direction, radial and tangent turns),Macaw.Frame.Clip(layer clips and the exact cull) andMacaw.Frame.Hit(row keys resolved against typed rows, the model-independent hit index,data-mw-x,data-mw-yanddata-mw-plot) (macaw_frame#44).Coordinate models, writes and the cartesian model:
Macaw.Frame.Writes(the standardselectionandwindowwrites and their union, the sync group's:localkeys with domain types, finished gestures asMacaw.Data.Events in domain units, a zoom emitted only when it needs more detail, a sub-pixel brush a pick, the five reserved names, following a group's key) andMacaw.Frame.Coordinates.Cartesian(band centers and edges with offsets inside, the default margin, the viewport's streaming window read chunk by chunk and pinned under 60,000 reductions at 16×, brush, zoom, pan and reset, inversion, the crosshair's nearest datum, the summary). The window takes numeric ranges and:pointboxes as macaw's core now does (macaw_frame#45).Coordinate models, polar and geographic:
Macaw.Frame.Coordinates.Polar(the angle's sweep from its start, categorical angles whose band centers span the sweep, arc and spoke axes with spokes and rings as grids rounded to six decimals, visualize's bend with chords over categories, the ring rule sized by the frame's outward labels, inversion about the center) andMacaw.Frame.Coordinates.Geographic(the projection from its node, the fit by points or geometry withmin_span, clipped rows kept for inference, the view's box over the plot's corners and midpoints crossing the antimeridian, the bound view a realization shows,:pointbox windows, tile alignment,data-mw-projection, the map summary) (macaw_frame#46).Coordinate models, layout and facet:
Macaw.Frame.Coordinates.Layout(the layout's slots and roles, one run per realization throughMacaw.Draw.Layout's hierarchies and graphs into one table per output, warm force runs continued for three ticks from the carried simulation, placement by node identity, picks of nodes and of links bysourceandtarget, linked outlines, the summary's kind, counts and depth) andMacaw.Frame.Coordinates.Facet(panels in first-appearance order tiling the plot, any registered inner model realized once over every panel's rows so domains are shared, panel groups with their titles by declared name, one legend, a point resolved to its panel then the inner model); spec/03 traced under surfex, its module table's every function relating to its section (macaw_frame#47).Compilation, functions, presets, inspection and the theme mode of the frame document:
Macaw.Frame.Document.compile/3(flatten, variables, facts, validation, theme, kinds and models through the registry, every style site laid once, scales, regions and declarations) answeringMacaw.Frame.Compiledwith no closure in it, its transitionssize/2,bound/3,schema/3andsite/4(per-datum styles, a generator called once per distinct call, a wrong-typed result a fault at the site),declarations/2,explain/1,free_vars/1withrequiredand each use's type,Macaw.Frame.Style.explain/2,Macaw.Frame.Preset(registered fragments by name),Macaw.Frame.ThemeSheet(the fixed samples drawn literally under a theme, color-vision simulation, contract faults beside the drawings), a label's text partbaseline,offsetandangleread byLabels, a generator accepted at a solid paint's color, the color-positions test, and spec/02 traced under surfex, its hints that need layer kinds or the Frame planned for #10 and #11 (macaw_frame#37).Layer kinds, the contract:
Macaw.Frame.Layer(the callbacks,usewith the shared defaults, the checked layer of §1.6),Layer.Channel(typed slots with roles, the slot roles a layer declares and a binding held to their types),Layer.Read(channels from packed columns through the frame's scales, band centers, edges and offsets, scale ends, the boundary, unplaced readings masked, neverTable.get/2),Layer.Tooltip(datum attributes, declared events, reserved names),Layer.Budget(the hint classes, a slot's budget and reducer, the triangulation cap),Layer.Summary, the registryMacaw.Frame.Layers(packages,fetch/2by spelling, an order-independent digest, one package list for the layer, model and operations registries) and the layer kitMacaw.Frame.LayerKit(the eleven checks,check/2,3,format/1,use); a scale end on a channel that takes none is refused; spec/02's composition-hooks hint keeps a dashed stroke's dash under a gradient, as §3.5 says, and spec/04 joins the traced sources (macaw_frame#51).Layer kinds, drawing rules, inline labels and device pixels:
Macaw.Frame.Layer.Draw(the group and the labeled wrapper, series named and painted by the color scale or the theme's series role, the layer's paint and its kind's parts, a data color with its cue and anilone as no paint, row keys,data-mw-idby declared identity, tooltip attributes, inside, outside and double strokes, the polar bend, centered kinds, the provisional look),Layer.Label(the anchor table with edge fallbacks, outward and inward rays, radial and tangent rotation, truncate and hide by the one text estimate, contrast ink as a theme role over the composited color under it) andLayer.Device(M4 at the context's device resolution, covered opaque points, the claim's per-row state, the cut by interpolation and de Casteljau, instants in seconds) (macaw_frame#52).Layer kinds, the continuous kinds and gap breaking:
Macaw.Frame.Layers.Line,.Area(the clamped zero baseline, stack-aware words),.Band,.XBand(clamped, wedges in polar),.Rule(down, across with its left-end label, spokes and rings) and.PercentileBand(outer, inner and median in order, breaking together), each over itsMacaw.Draw.Shapegenerator with M4 at device pixels and the provisional cut where the spec says, registered inMacaw.Frame.Packageand passing the layer kit over its fixtures and goldens;Macaw.Frame.Gaps(window order by a stable permutation, the larger of continuity and the served resolution, series by the series channel, the identity or all rows, a mask with no row inserted) (macaw_frame#53).Layer kinds, the point, radial and generic kinds:
Macaw.Frame.Layers.Symboland.Circle(covered opaque points left out at device pixels, per-row provisional state),.Needle(polar only),.Arc(a pie over values or each row on its own raw or scaled angles, start and end together),.Rose,.Rect(value colors with their cue, offset groups, bar words, provisional bars),.Path,.Text(its label or value, constant positions reported as feeding the domain),.Choose(cases by spelling in name order thenelse, children over their rows' columns keyed in the parent, coverage atcases) and.Tiles(its proxy route and same-origin paths,tiles-2for a second template, the clipped cover and the attribution), placed in every model; all sixteen kinds areMacaw.Frame.Package's, pass the layer kit over their fixtures and goldens, and are compilation's defaultlayersregistry, the stand-in kinds oftest/support/kinds.exgone (macaw_frame#54).The data pipeline split: the frame's spatial steps as
Macaw.Data.Transformmembers ofMacaw.Frame.Package(Macaw.Frame.Transforms.Tree,.Cluster,.Pack,.Partitionand.Treemapwithbranch;.Chord,.Sankeyand.Forcewithprepare/3, one simulation per graph and a warm start;.Contourwith geographicbounds,.Density,.Hexbin,.Delaunay,.Voronoiand.Projection), each declaring its need, answering string columns andIR.Pathpaths, faults as values at their option andoutputs/2agreeing withrun/3;Macaw.Frame.Pipeline, a held value running every layer's steps throughMacaw.Data.Operationsand itsCacheonce per delivery, again on a resize only for a step that reads the frame, a shared prefix once and a fault at its layer's path; a guard that no frame module computes a statistic, and the stand-in spatial package gone (macaw_frame#55).The Frame component:
Macaw.Frame(use Macaw.Frame.Component, a:containedcomponent ofmacaw_component0.12 with a registry fixed by its module), its parameters, configured declarations (Macaw.Frame.Declarations), variables as qualified parameters and budget (Macaw.Frame.Budget); its contained valueMacaw.Frame.Value(compile once, one slot's data per delivery through the pipeline and the real coordinate models, re-lay out on size, bound parameters, variables and the selection, warm force layouts stepped on ticks, a content-addressed token); one column accessorMacaw.Frame.Columns; a first render (Macaw.Frame.Render); the fixture setMacaw.Frame.Fixtures, over which the Frame passes the component kit; the test stand-in coordinate models retired (macaw_frame#57).The Frame's render:
Macaw.Frame.Renderin the four modes (client attributes, one tab stop, ids from the context, the token, a minimal data table untilMacaw.Frame.Summary, every layer SVG), the static stylesheetpriv/static/macaw_frame/frame.cssdeclared inassets:,Macaw.Frame.Events(events with element, identity and value, identities written into the drawing),Macaw.Frame.Local(the:localkeys and their bus spelling),Macaw.Frame.Drawn(the Frame's own state, notices as banners or in place), theMacaw.Frame.Sparklinewith its fixtures, axes reading their field's unit from the schema, labels of several lines, and style motion in the generated stylesheet and the markup's classes (macaw_frame#58).The Frame's data and state:
Macaw.Frame.Slots(roles and requirements from the layers' channels,{:role_type, …}for readings that share no type, graph slots),Macaw.Frame.Budget(budget/3andbudget/4counting device pixels by the context's ratio, a document's budget, whole slots, its cost pinned),Macaw.Frame.Requests(order/2,reducer/3,reducer/4, whetherwindowreaches a slot),Macaw.Frame.Read(a delivery held as its table or packed once,{:rows, reason}, the served facts that change the picture),Macaw.Frame.Selection(rows drawnselectedormutedfrom the packed columns),Macaw.Frame.Contract(the additions macaw_component 0.12 landed and the core's still on their fallbacks), a scale domain following the served window, the viewport read throughwindowover its span, tile hrefs at the Frame's proxy paths, and a test surface restating the host (macaw_frame#59).The Frame's server-side accessibility:
Macaw.Frame.Summary(the text summary assembled from the layers' contributions and the steps' phrases, values written as their axes write them, declared names, the sentences, the accessible root'sattrs/2anddescription/2) and its data tableMacaw.Frame.Summary.Table; the keyboard's pointsMacaw.Frame.Summary.PointsandMacaw.Frame.Summary.Identities(unsampled, a band grid in two dimensions, keys that make Enter a click),Macaw.Frame.Placements(each item placed once for the drawing and the keyboard),Macaw.Frame.ReachandMacaw.Frame.Keyboard(thearm,disarmandkeyrequests on macaw_component's request transition, the reach indexed only while armed and following each realization); the render's<desc>root and hidden tables, the tab stop live only; role cues beyond hue (a marker's glyph and a stroke's dash read through the role) and the data-color guard (macaw_frame#60).The Frame's performance gates and the parity project: compile once (no composition, validation, kind resolution or scale setup per delivery; the scale nodes compiled once and held by the realization), packed columns (no
Macaw.Data.Table.get/2orMacaw.Data.Table.rows/1in a delivery or render, a facet's panels kept by thefilterstep,Macaw.Frame.Columnsthe one decoder), the 50 × 50 and 16 × 30 grids on SVG within visualize's 3.35 M and 660 k (2.56 M and 0.54 M) with a keyed move of 1 KB (the test support's Grid), the viewport window, still renders, the live frame (its FrameLoop) and hooks computed on interest; each item's identity and fields written by column, the tooltip's datum and a moving element's identity settled once per layer, and the SVG writer's attribute names, escaping and validation in one pass;Macaw.Frame.Benchmarkdraws the Frame's fixtures by name or a frame document with its deliveries; the test support's Calls is Trace;parity/against visualize at a pinned commit, run by theverify:parityjob (macaw_frame#61).The harness's and the gates' own rules are tested (spec/12 §1, §5.4, §5.7, §5.8, §8):
Test.Work's counted run is stable idle and loaded, re-run when a purge crosses it, scoped to macaw_data's Elixir path and naming an unknown scope;Test.Gatesreads every gate from the sources and holds each to counting twice, a tagged gate, dated and measured pins a tenth over their counts and one scene a test, with the list ofMacaw.Draw's gates and its listing gate, which fails by name a module with a ratio and no pin; the reductions gates that counted once now count twice, and Ordinal, the band, rule and x-band shapes and Density gain the absolute pins they lacked; a claim's cost per kind is gated, which found a point layer's provisional state read per row from a list and its provisional look resolved per row (now a tuple and once a draw), and a cut path computing a row mask it never read; the raster's version probe and whole render report their median ms side by side (macaw_frame#76).The frame's two-dimensional density step is
density_2d, so it never collides withmacaw_data'sdensityfield estimate in one operations registry, and a guard test keeps every frame step's name offmacaw_data's operations and aggregates (macaw_frame#66).Packed columns, read where they lie: macaw_frame depends on macaw_data's main by git for its packed-column API;
Macaw.Frame.Columnsreads throughTable.packed/2,window/4,fold_column/4,extent/2andcount_valid/2(numbers/2,pick/3,gather/2),Macaw.Draw.Scale.apply_column/2maps an int64 or float64 column (a time in microseconds) to a float64 pixel binary in one pass, a layer's numeric channels are placed so with no value decoded, and the layer kit's:no_decodecheck holds every kind to it (macaw_frame#73).Reducers on binaries: a line of one series draws from its pixel binaries (its runs, gaps and M4 read in one pass each,
Macaw.Frame.Layer.Device.runs/3,m4_slots/5), gap breaking reads the window column's buffer, a viewport's newest reading and a continuous scale's inferred domain come fromTable.count_valid/2andextent/2, and a line's summary reads its count, extremes and reach from the binaries; the 16x viewport window adds 43,000 reductions where it added 880,000 (macaw_frame#74).Output from pixel binaries and the gate: a straight line's path commands are written from its pixel binaries in the M4 pass (
Macaw.Frame.Layer.Device.commands/4) and its binary canvas polyline records from the same points (records/5,path32orpath); the binary loops reuse their match contexts, so the 16x viewport window allocates 37 words a row where it allocated 94;perf-viewport-windowholds the window under 60,000 reductions (measured 42,299) and pins its allocation (macaw_frame#75).Categories read from their dictionary: a
:categoryfield through a band or a color scale places or colors each dictionary entry once and writes its codes in one pass, no string decoded a row, which takes 218,000 reductions off the 50 x 50 grid move (macaw_frame#82).The parity gate is required again:
verify:paritylostallow_failure, and each step counts at most visualize's plus 0.5 % beside its named allowances, the Macaw-model work visualize does not do (the data table, the summary, the deliveries before a scene's last, the token and the contract's item attributes on the wire), each counted in the test (macaw_frame#83, #64).The canvas commands and the choice of target:
Macaw.Draw.Render.Canvas(every node type's Canvas 2D commands, leaves scoped by their own setup, composed opacity, paints drawn over the tight box, motion spans, the whitespace-free JSON form refusing an unknown command as a value), the:canvastarget ofMacaw.Draw.Render,Macaw.Frame.Render.Target(each layer's target chosen at compile from the mode, its override, its kind, the scroll and the slot's budget against the ceiling, reported bytargets/1) (macaw_frame#67).The binary canvas and its reference decoder:
Macaw.Draw.Render.Binary(the opcode table, versions 1–5, every record by the binary constructor with no tensor library, the f32/f64 path forms, a point list written from a binary of pixel positions, Base64 in one place),Binary.SVG(the SVG builder's elements, references resolved to clip, effect and paint records with fallbacks),Binary.Decoder(written from the spec, every refusal a value naming its byte and offset); the:binarytarget; a live Frame with a layer off SVG rendered as the layer container with its canvases, streams and text layer, the whole SVG outside live;Test.CanvasReplay, a recording canvas the targets are compared on (macaw_frame#68).The incremental canvas and keyed segments:
Macaw.Draw.Render.Incremental(scroll classes, exposed regions, the0x60and clearing0x61records, the full redraw,stale_regions/3,filter_to_regions/2over packed columns) andMacaw.Frame.Render.Stripkeeping a strip's rows of a table;Macaw.Draw.Render.Segments(a drawing as keyed segments with a cache, SVG, JSON and Base64 binary pieces); a live Frame's canvases as keyed segments and its scrolling plot as a chain of records restarted every 16, a strip cut to its rows and neighbors, cleared from the column its joins reach and dashed in phase; the grid gate's canvas rows (macaw_frame#69).The data hooks and their helpers: the Frame declares its eleven hooks through the contract (
Macaw.Frame.Hooks: the files,ratio/1,resolution/1), static ES modules inpriv/static/macaw_frame/each default-exporting its hook object;Hooks.States(hover and focus looks as data),Hooks.Items(the hit index, written as keyed pieces),Hooks.Crosshair(arrays at the frame's resolution, computed only while armed by its request),Hooks.Brush(window/2),Hooks.Zoom; the render writes each hook's element and attributes, the sync group and the stream entries escaped once when the value draws (macaw_frame#70).The motion, canvas and resize hooks, the keyboard and the announcer's client side: the resize hook on the frame's container with the aspect its height follows,
FrameMotion,FrameCanvas,FrameBinary,FrameIncremental(a decode failure made visible),FrameKeyboardasking the server one key request at a time and announcing through the page's one announcer, reduced motion read by every hook; their tests read the hooks' sources, their run over the node stub being macaw#355's (macaw_frame#71).Tiles through the proxy and the Frame's output: a tile URL with a placeholder the tiles cannot fill is a validation fault, a drawing with a canvas draws its tiles in the backdrop and their attribution in the text layer, and
Macaw.Frame.Outputrenders a standalone SVG in literal colors with the rules its classes select embedded (svg/3,embed/1) and rasterizes it (png/3); the realization takesresolve: :literal(macaw_frame#72).The suite's intermittent failures, each fixed at its cause:
perf-pinning-ruleshows a gate failing on two disagreeing counts given as itscount:, not on a function that works more on a later call, whose counted call moves when a code purge crosses a run (macaw_frame#85).The catalogs and the line family:
Macaw.Frame.Catalog(the catalog-fragment behavior, the registry from a Frame module's packages,place/3use sites with their faults,check/1),Macaw.Frame.Catalog.Store(the read-only fragment store), andCharts.Line,.Area,.StackedArea,.PercentileBand,.StatusTimelineand.Sparklinewith their fixtures and SVG goldens; the frame document's choices (choose/2,$case) andshowkeys; facts and schemas read by a slot's roles through the cell's binding; a layer's leading data steps feed its scales' inferred domains; amanyrole's bound fields in its steps (macaw_frame#77).Bars, radial and point charts:
Charts.Bar,.HorizontalBar,.StackedBar,.GroupedBar,.Pie(pie and donut),.Rose,.Scatter,.Bubble,.Heatmap,.Gaugeand.Radarwith their fixtures and SVG goldens; an empty label text draws nothing; a series colors a layer whose paint is a series slot; a ring range's inner radius under 1 is a share of the ring, written$ring; a rose's petals start whererdoes; a contrast ink's literal carries thelabelcue; an optional key givennilreads as absent (macaw_frame#78).The catalog's hierarchies and graphs:
Charts.Tree(tree or dendrogram, either orientation),.Treemap,.Partition(sunburst or icicle),.Pack,.Sankey,.Chordand.ForceGraphwith their fixtures and SVG goldens; a layout frame may leave out its layout node when its layers lay out by steps; a layout frame's hierarchy, sankey and chord steps (and a step given its own size) feed its scales' inferred domains; a horizontal tree is laid out across the plot; an unbound value role counts the leaves; the summary says a tree's or a network's nodes, links, depth and total; a contrast ink written as a literal carries thelabelcue (macaw_frame#79).The maps:
Maps.Map(a clipped geographic frame fitted to a slot, panning into the box window) and the map layersMaps.Tiles,.Points,.Hexbin,.Density,.Contourand.Voronoi, placed in a map as use sites in its stack, each with its fixture and SVG golden; a use site's stack takes catalog use sites;:urlparameters read as URLs; a renamed color scale is a color scale; scales inferring over what a layer's spatial steps make are realized again after them; an optional role left unbound is no requirement; a drawing's clip ids are its instance's, each written once; a layer colored by a field is valued by it in its data table (macaw_frame#80).Conformance of the catalog: the catalog fixture set, one per fragment (
Fixtures.catalog/0,names/0,get/1, the kit's set with its:tokenpair), its SVG goldens and drift, its raster goldens (Test.RasterGolden, standing in forMacaw.Frame.Output.png/3until macaw_frame#12), ring labels held inside the plot on the raster, every catalog fixture and fragment round-tripped through composites and forms, the label-ink rule over the catalog's pie, sunburst and treemap, and the compile, packed-column and still-render gates with delivery pins over every catalog fixture; a dash given as lengths is written as SVG lists them; spec/13 joins the traced sources and the second cut's catalog hints are planned for macaw_frame#14 (macaw_frame#81).Canvas records as raw bytes for the stream, Base64 only in markup:
Render.Segments.binary/2and the incremental chain write raw records,Segments.base64/1andto_base64/1(moved fromBinary) are the one step that writes a stream as text, the Frame's value answerssegments/1({token, [{key, token, bytes}]}, macaw_live#35's seam) with each canvas's segments under itsdata-mw-segmentsprefix,FrameBinaryandFrameIncrementalexecute the bytesmacaw:streamhands them with no decode, and the grid's wire counts the stream's frames (macaw_frame#92, #63).The second cut's chart and map kinds (spec/04 §5.1, §5.3):
box,violin,candle(the theme'sgoodandbadwith their dashes,ohlcticks),interval(across when giveny),segment,polylineand the map'sflow(its arc, or the geodesic through the frame's projection withgreat_circle), each reading packed columns and passing every layer-kit check with its fixtures and goldens, its draw pinned; the spatial stepsparallel(each dimension through its own scale from macaw_data'sextent),funnel(centered widths by macaw_data'smax) andpoint_cluster(the spec's pointscluster, grid and merge at the view's zoom, re-run on a view change); the statistics are macaw_data'sbox,density,first,last,minandmax, never a kind's, and thecandlesbudget class isceil(w / 3)(macaw_frame#87).The diagram layouts of the second cut:
Layout.Layered(DFS cycle breaking, ranks by network simplex with a pivot bound or the longest path, barycenter sweeps with transpose and accumulator-tree counting, Brandes–Köpf coordinates, orthogonal, spline and polyline routing, labels on middle dummies, every tie by input order),Layout.Swimlanes(the whole graph's ranks, order and coordinates within lanes),Layout.Sequence(lanes across by their requirements, events down with nested activations and fragments, creates and destroys),Layout.Gantt(times resolved throughafterand the previous end in UTC days, bars, milestones, routed dependencies, the scale's ticks as the grid) andLayout.RadialwithLinks.radial/4; faults at their paths, columns for every output, cost gates and pins (macaw_frame#86).The suite's intermittent failures, each fixed at its cause:
perf-pinning-ruleshows a gate failing on two disagreeing counts given as itscount:, not on a function that works more on a later call, whose counted call moves when a code purge crosses a run; a tooltip spelled with strings no longer raises when no loaded module has named its key as an atom; and a path whose first drawing command is no move opens at the origin on the canvas commands and the binary stream's reader, asMacaw.Draw.IR.Path.absolute/1walks it, so an arc after a close is drawn from the same point on both (macaw_frame#85).The suite's intermittent failures, each fixed at its cause:
perf-pinning-ruleshows a gate failing on two disagreeing counts given as itscount:, not on a function that works more on a later call, whose counted call moves when a code purge crosses a run; a tooltip spelled with strings no longer raises when no loaded module has named its key as an atom; and a path whose first drawing command is no move opens at the origin on the canvas commands and the binary stream's reader, asMacaw.Draw.IR.Path.absolute/1walks it, so an arc after a close is drawn from the same point on both; andTest.Workruns a counted run again only when a code cleaner walked the process table across it, reading the cleaners under one lock, since the few reductions a cleaner spends hundreds of times a suite, and contended reads, had re-run a slow gate's runs under load past the test's timeout (macaw_frame#85).The layer kit's
:columnsand:no_decodechecks trace every draw in one trace session per check, not one per draw: setting a trace pattern waits on every scheduler, which under load passedLayerRulesTest's timeout (macaw_frame#94).The second cut's diagram kinds and text forms:
node(ten shapes, labels fitted and compartmented),edge(routed paths, arrow, UML and crow's-foot markers, dashes, a midpoint label),lane(a band and header, or a participant's header and lifeline) andgrid(a Gantt chart's columns), drawn from thelayered,swimlanes,sequence,ganttandradialspatial steps;Macaw.Frame.TextForms, the flowchart, sequence, state, class, ER, Gantt and timeline forms, each read with every fault at its line and column and printed back canonically; a slot's staticrows(macaw_frame#88).The second cut's diagram fragments:
diagrams.flowchart,.sequence,.state,.class,.er,.ganttand.timeline, each its text form's design with its parameters, placed from a use site's"text"into static rows or bound to sources for the same picture, each with a fixture, SVG and raster goldens, its round trips and the component kit; the Frame reads a slot's staticrowsas a delivery packed by column; a diagram's summary names its kind and walks it (macaw_frame#90).The second cut's chart fragments and map layers (spec/13 §7.1, §7.2):
Charts.Violin,.Density,.ErrorBars,.Funnel,.Bullet,.CalendarHeatmap,.Slope,.Dumbbelland.Parallel, and the map layersMaps.Choropleth,.Route,.Flowsand.Clusters, each with its fixture, SVG and raster goldens, round trip and kit run, its statistics macaw_data's (density,time_parts,fold,filter,take) or a spatial step's (funnel,parallel,point_cluster); a route is gap-broken by its window field over the projected longitude and latitude (spec/04 §6); parallel coordinates' data table says each line's identity, dimension and reading (spec/11 §4);charts.boxplot,charts.candlestick,charts.waterfall, the violin'sshow_boxand the calendar'sweek_startand month outlines wait on macaw_data#336, andcharts.ridgelineon a per-ridge baseline (macaw_frame#89).The shared Legend,
Macaw.Frame.Legend("macaw.legend", pure): one legend for several Frames, over a field's declared values, names and colors or a derived source of one row per entry, painted as a Frame's ordinal color scale paints the field, each entry a pressed-state button whose swatch is the frame's legend's own and carries its cue, emitting"toggle"with the value and no identity; it passes the component kit's core checks and the visual set's token and SVG checks. The frame's own legend moves toMacaw.Frame.Furniture.Legend, beside the rest of the furniture, so the spec's public name is the component a page places (macaw_frame#91).The raster conformance property no longer runs for hours at seed 787994: the benchmark half folds a generated positive
rowsoriterationsto 1..4, since the harness takes a repeated key's last value and honors any count, and the seed's two drawn counts asked for about 10^11 row renders; the case is a fixed test (macaw_frame#101).macaw_component by git at its main (
1890c99): the Frame'ssegments/1is the@implof the contract's optional callback (macaw_component spec/02 §7.6), and a socketless render carries its drawing in a hidden stream element for its instance, which the kit's:containedcheck holds; the class and ER fixtures' binding exemption is gone, the kit's binding check being order-independent (macaw_component#73) (macaw_frame#100).rendering-targets-agreeno longer fails at random withUndefinedFunctionError: its draw comparison is a private function of the test module, not a module defined after it in the file, which an async test could run before;ci/rules.exsnow fails a*_test.exsthat defines a module after its test module, so a helper goes before it or intotest/support/(macaw_frame#103).A shared Legend beside a status timeline shows the state colors the timeline draws: a value's declared color is its entry's
color, else itsstatusrole's theme color (Macaw.Frame.Fact's:colors), read by a Frame's auto ordinal color scale and the Legend alike, andcharts.status_timelinedraws through that auto range instead of pinning itsstatusmap; its pixels are unchanged (macaw_frame#104).The keyboard follows a diagram's edges (spec/11 §5.7): the Frame writes its walk as
data-mw-graph(Macaw.Frame.Keyboard.Graph, read by column), andFrameKeyboardmoves along it on the client: the arrows follow a node's outgoing edges by their direction in the layout, Shift+arrows its incoming ones, a sequence diagram's messages in time order and a Gantt chart's dependencies, each move announced asyes, to Ship, a dead end as having none, with PageDown, PageUp, Home and End keeping the in-order move; goldens of the announced text for the flowchart, sequence and Gantt fixtures (macaw_frame#105).The second cut's blocked fragments (spec/13 §7.1), over macaw_data at
f5509f3(macaw_data#337):Charts.Boxplot(oneaggregateofbox,minandmaxas packed columns, outliers by theoutliersstep,whisker"tukey"or"minmax"),Charts.Candlestick(bucketthenaggregateoffirst,max,minandlast),Charts.Waterfall(cumulativewithbefore:, rises and falls as role-styled layers overfilter, a total folded fromsumundertotal_label) andCharts.Ridgeline(density by series on baselines the newridgespatial step places on a band down the plot); the violin'sshow_box; the calendar'sweek_start(time_parts'week) and month outlines, a stepped closed path a month by the newmonth_outlinespatial step. Each with its fixture, SVG and raster goldens, round trip, kit run and delivery pin; a variable in a step option's list (fields: [var("total_label")]) is held for its resolution at validation as a lone one is (macaw_frame#96).Text and color through macaw_layers (macaw_frame#107), taking macaw_layers by git at
2b3619a(macaw_layers#59, #60):Macaw.Draw.Text.width/2isMacaw.Layers.Text.Estimate's,width/3measures by the measurermetrics:names throughMacaw.Layers.Text.width/4, and a Frame built withuse Macaw.Frame.Component, metrics: Modlays out every text by it (legends, label fit, polar margins, diagram boxes and labels, clip culling), the estimate without one;Macaw.Draw.Interpolate'srgb/2,hsl/2andhsl_long/2areMacaw.Layers.Color.interpolate/4over the endpoints' 8-bit channels, rounded to 8 bits, every golden byte-identical.One resolved measurer per Frame (macaw_frame#111), taking macaw_layers at
93a732e(macaw_layers#63): a Frame resolves its measurer once when it compiles, from its module'smetrics:and the theme's font, withMacaw.Layers.Text.measurer/1; the compiled value and each realized model carry it asmeasurer, and every text (legends, label fit, polar margins, diagram boxes and labels, clip culling) measures on it, a style's own font resolved once per element. The estimate goes through the same path:Macaw.Draw.Text.width/2measures onestimate/0,width/3takes a resolved measurer or options,measurer/1andestimate?/1are new, and nothing callsMacaw.Layers.Text.Estimate.width/3directly. TheText.width/2pin moves from 24,910 to 29,910 reductions over 1,000 labels: #63's constant of 3 a width, and 2 to unwrap its answer.A page's data flow,
diagrams.page_flow(macaw_frame#114, #115, spec/13 §7.5): the shape macaw'sMacaw.Page.Graph.describe/1answers (macaw#451), itsnodesandedgesas the slots' rows (Diagrams.PageFlow.rows/1turns the shape into them, every fault by path), drawn as a layered flowchart in SVG with no script; each kind by its own shape (a source a cylinder, a derived source a hexagon, a state a stadium, an export a parallelogram, a cell a rectangle) and its word beside the box, never by color; its summary walks the flow from its sources. Its text form,pageFlow(TextForms.PageFlow), walks the flow as a nested list, source by source, each binding's label before an arrow, andPageFlow.text/2writes a described flow in it. Thelayeredstep gainsshapes,[spelling, shape]pairs reading the shape column as a kind, and thepage_flowdiagram word.Fixed: a diagram
nodegave its inline label its corners where the label reads a box, so a label at an edge anchor (x0,x1,y0,y1) was placed off the node; it now gives{x, y, width, height}, as arectdoes (macaw_frame#115, spec/04 §1.8.1).