Skip to content

Graph visualization

Read as Markdown

Import graph components, layout helpers, marks, and types from @pibbl/core/viz. These are Canvas 2D compositions without a React dependency. Every component has a public layout-and-marks reconstruction path; the built-ins use the same operations.

Component Independent calculation Public marks
DependencyGraph layoutDependencies GraphNode, GraphEdge, GraphLabel
ForceNetwork layoutForceNetwork, createForceSimulation, useForceNetwork GraphView and graph marks
TidyTree layoutTree Graph marks
AdjacencyMatrix layoutMatrix MatrixCell, GraphLabel
Sankey layoutSankey SankeyNode, SankeyFlow, GraphLabel
BipartiteGraph layoutBipartite Graph marks
Treemap layoutTreemap TreemapCell, GraphLabel
RadialNeighborhood layoutNeighborhood Graph marks
Icicle layoutIcicle IcicleCell, GraphLabel
ChordDiagram layoutChords ChordBand, ChordRibbon, GraphLabel
import { Group } from "@pibbl/core";
import {
DependencyGraph,
layoutDependencies,
GraphView,
GraphNode,
GraphLabel,
defaultGraphNodeStyle,
defaultGraphLabelStyle,
} from "@pibbl/core/viz";
const services = {
nodes: [
{ id: "checkout", name: "Checkout" },
{ id: "payment", name: "Payment" },
],
edges: [{ id: "authorize", from: "checkout", to: "payment" }],
};
const view = (
<DependencyGraph
graph={services}
nodeKey="id"
edgeKey="id"
source="from"
target="to"
label="name"
style={{ width: 600, height: 240 }}
/>
);

The equivalent non-JSX authoring is createElement(DependencyGraph<Node, Edge>, props) with application record types Node and Edge. Explicit instantiation preserves property-accessor inference with the current createElement signature.

Pure helpers accept the input first and named options second, including finite local bounds. They never schedule work or allocate renderer resources. Results retain original data references and expose keys, boxes, labels, quantities, and routes. Do not mutate returned snapshots or application records while they are in use. Replace the calculation with any function producing the same geometry, transform its result, or render your own geometry using ordinary core primitives.

const geometry = layoutDependencies(services, {
nodeKey: "id",
edgeKey: "id",
source: "from",
target: "to",
label: "name",
bounds: { x: 0, y: 0, width: 600, height: 240 },
});
const custom = (
<GraphView
layout={geometry}
renderNode={(node) => (
<Group>
<GraphNode node={node} style={defaultGraphNodeStyle(node)} />
<GraphLabel
label={node.label}
style={defaultGraphLabelStyle(node.label)}
/>
</Group>
)}
/>
);

GraphView only paints supplied coordinates; it never lays them out or silently fits them to a new box. All geometry uses local logical Canvas units. Graph routes expose anchors and standard core PathSegment arrays as well as serialized SVG paths. straightGraphRoute, orthogonalGraphRoute, and curvedGraphRoute are independent route builders. Use existing PathGeometry and toSvgPathData for custom shapes. Sankey exposes thickness and source/target spans. Chord geometry exposes center/radius and angular endpoints in clockwise degrees from twelve o’clock.

Mark components draw geometry; GraphLabel draws decorative text separately. Public defaultGraph*Style, defaultMatrixCellStyle, defaultSankey*Style, defaultPartitionCellStyle, and defaultChord*Style return ordinary paint objects. Component per-item styles merge onto defaults. A renderNode, renderEdge, renderCell, renderFlow, renderBand, or renderRibbon callback replaces that whole item, including its default text; returning null hides it. Extract a proper component when a custom item needs hooks. Parent item click callbacks use ordinary Pibbl event propagation and honor descendant stopPropagation().

GraphLabel defaults to a middle baseline and single-line ellipsis inside its supplied width. Set ordinary text paint such as fit and wrap to choose another fitting policy. A label is decorative; omitting it does not remove its mark’s pointer or keyboard target. Partition render callbacks can replace the complete label treatment, including separate name/value lines and an external inspector for cells too small to label.

Accessors accept typed property names or functions. Node and edge IDs are explicit; string and numeric IDs are distinct. Graph endpoints must exist and keys must be unique. Hierarchy inputs supply keyBy and childrenBy; collapsed is an application-owned predicate. App selection, filters, inspectors and drill-down state remain ordinary signals and components. Rendering reevaluates input accessors; there is no identity-only geometry cache requiring a revision counter.

Dependency and Sankey calculations require directed acyclic graphs. Matrix rows and columns are separately typed, missing cells remain null, and duplicate relation records sum. Bipartite node identity is scoped to its side. Partition values apply to source leaves; branches sum descendant leaves even when collapsed. Chord sums ordered source/target transfers and keeps opposite directions separate. Numeric visualizations require a unit; formatValue returns complete display text. Nonfinite/negative quantities, cycles where disallowed, duplicate keys, and bounds insufficient for declared spacing throw. No loss category or conservation correction is invented. Empty inputs produce empty geometry; zero component allocations paint nothing. Layout does not imply a clipping boundary; compose core Clip if desired.

createForceSimulation(graph, options) is a manually stepped, resource-free numeric session: read, step({ iterations }), update, pin, release, restart, and reset. The built-in deterministic solver combines repulsion, link relaxation, damping, rectangular overlap forces, and bounds. Defaults are seed 1, linkDistance 90, nodeGap 8, and maxIterations 300. Settled means movement below 0.02 logical units for eight iterations; reaching the unconditional budget can remain unsettled. This is a graph layout, not physically calibrated dynamics or an overlap guarantee.

layoutForceNetwork runs that solver synchronously. useForceNetwork owns the live session through core stepper, drive, usePlayback, and signals. It returns readonly layout, status, and error signals plus pause/resume/restart/reset/pin/release commands. Render its output through GraphView; mounting another ForceNetwork would create another owner. createSimulation supplies a resource-free replacement factory with the same ForceSimulation operations; its identity is fixed for the mount.

Playback advances one numeric iteration per 1/60 second and interpolates immutable node, label, and edge geometry between solver snapshots for higher refresh displays. Long frame gaps admit at most 1/30 second of work; hidden tabs cannot trigger an unbounded catch-up. Pointer commands join the active playback without resetting its clock, so neighbors keep responding throughout a drag. Paused and terminal snapshots use exact solver geometry. Playback is released on unmount. There is no separate animation loop. Pins use local center coordinates. Restart preserves positions and pins and resets the iteration budget; reset restores seeded initial positions and clears pins. Hook pin and release commands restart the iteration budget so neighboring nodes respond even after settlement or exhaustion, while preserving an explicit pause. Commands are admitted through playback and published with the next scheduled snapshot. Paint/selection changes do not restart the solver. Status distinguishes running, paused, settled, exhausted, and failed. Keep custom solver snapshots immutable and callbacks deterministic.

The Examples catalog contains component and reconstruction variants for dependencies, collaboration networks, organization trees, team handoffs, local energy flows, research participation, storage allocations, incident neighborhoods, request breakdowns, and district trips. Their checked-in datasets are explicitly illustrative; quantities and units belong to those examples, not live external measurements.

A stable application identifier used to join graph records and geometry. GraphLayout

type VizKey = string | number

Related API: VizKey.

View source — packages/core/src/features/viz/lib/graph/types.ts:18

A property key or pure reader for one typed source record. GraphLayout

type Accessor<D, V> = | {
[P in keyof D]-?: D[P] extends V ? P : never;
}[keyof D] /** A caller-provided pure callback. {@link GraphLayout}
* @param datum - The source record or geometry supplied by Pibbl.
* @returns The value produced by this callback. */
| ((datum: D) => V)

Related API: Accessor, GraphLayout.

  • datum — Source record.

Accessed value.

View source — packages/core/src/features/viz/lib/graph/types.ts:22

An immutable finite rectangle in graph-local logical pixels. GraphLayout

type Bounds = Readonly<{
/** Horizontal coordinate in local logical pixels. {@link GraphLayout} */
x: number;
/** Vertical coordinate in local logical pixels. {@link GraphLayout} */
y: number;
/** Finite width in local logical pixels. {@link GraphLayout} */
width: number;
/** Finite height in local logical pixels. {@link GraphLayout} */
height: number;
}>

Related API: Bounds, GraphLayout.

View source — packages/core/src/features/viz/lib/graph/types.ts:30

x
x: number

Horizontal coordinate in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:32

y
y: number

Vertical coordinate in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:34

width
width: number

Finite width in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:36

height
height: number

Finite height in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:38

An immutable coordinate in graph-local logical pixels. GraphLayout

type Point = Readonly<{
/** Horizontal coordinate in local logical pixels. {@link GraphLayout} */
x: number;
/** Vertical coordinate in local logical pixels. {@link GraphLayout} */
y: number;
}>

Related API: Point, GraphLayout.

View source — packages/core/src/features/viz/lib/graph/types.ts:43

x
x: number

Horizontal coordinate in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:45

y
y: number

Vertical coordinate in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:47

A responsive style value or signal accepted by a Pibbl mark. GraphLayout

type Style<S extends SystemStyle> = SignalValue<PibblResponsiveStyle<S>>

Related API: Style, SystemStyle, SignalValue, PibblResponsiveStyle.

View source — packages/core/src/features/viz/lib/graph/types.ts:50

A static or geometry-aware mark style with no retained state. GraphLayout

type MarkStyle<G, S extends SystemStyle> = | Style<S> /** A caller-provided pure callback. {@link GraphLayout}
* @param geometry - The source record or geometry supplied by Pibbl.
* @returns The value produced by this callback. */
| ((geometry: G) => Style<S>)

Related API: MarkStyle, SystemStyle, Style, GraphLayout.

  • geometry — Mark geometry.

Mark style.

View source — packages/core/src/features/viz/lib/graph/types.ts:54

Paint properties for a node box; geometry remains layout-owned. GraphLayout

type NodeStyle = Omit<RectStyle, "left" | "top" | "width" | "height">

Related API: NodeStyle, RectStyle.

View source — packages/core/src/features/viz/lib/graph/types.ts:60

position (optional)
position?: "absolute" | "relative" | "static" | undefined

Experimental direct-Flex placement mode. In a finite Flex, static keeps the allocated slot and ignores insets; relative offsets final geometry once without moving siblings. Primitive static/relative leaves support every main/writing direction and wrapping mode. Wrapped parents admit fixed numeric direct Flex owners that remain internally nowrap; non-row chains use the same fixed owner restriction, with zero grow/shrink and omitted or automatic basis; physical offsets retain their sign through main reversal. Absolute stays out of sibling allocation, using the padding box for explicit insets and content alignment for omitted axes. Fixed numeric, percentage and admitted automatic absolute profiles support all main directions and RTL, with numeric or percentage bounds applied before placement. In every wrapping mode, omitted axes use whole-content main/cross alignment; wrap-reverse reverses omitted cross alignment and combines with column RTL exactly once. Paired natural providers keep their exact/unbounded query in every admitted direction. Direct wrapped Text with a generic pixel font and visible fit/overflow may measure automatic height at a resolved numeric or percentage width through the same owned query. Unwrapped Text may measure automatic width at a resolved numeric or percentage height, using its existing Canvas ink-bounds width before bounds and physical anchoring. Generic unwrapped Text also supports natural ink height and both automatic dimensions through one unbounded query before independent numeric clamps; mixed opposing-pair/natural feedback and both-auto aspect remain excluded. On the documented finite direct-child path, automatic absolute axes resolve from opposing numeric or percentage physical insets. With a positive finite aspectRatio, exactly one automatic axis can instead derive from its resolved declared finite numeric or percentage opposite axis. Opposing insets win. Finite numeric or percentage min/max bounds clamp used axes independently after derivation; a clamp does not recouple aspectRatio, and a numeric minimum above its maximum rejects. A direct custom primitive with paired pure measurement providers may instead measure natural automatic width at a declared numeric or percentage height, or natural height at a declared numeric or percentage width. The automatic axis is unbounded; the exact axis uses its declared resolved padding-box value before bounds clamp the used dimensions. In direct declarative Flex chains, static Flex passes the containing box outward while relative Flex owns a local box. Omission retains the legacy local Flex boundary and left/top behavior.

View source — packages/core/src/lib/style/positioning.ts:194

right (optional)
right?: number | `${number}%` | undefined

Right edge inset. Absolute Flex accepts finite numbers or percentages of the containing padding-box width; relative percentages use the parent content-box width. See Length.

View source — packages/core/src/lib/style/positioning.ts:198

bottom (optional)
bottom?: number | `${number}%` | undefined

Bottom edge inset. Absolute Flex accepts finite numbers or percentages of the containing padding-box height; relative percentages use the parent content-box height. See Length.

View source — packages/core/src/lib/style/positioning.ts:202

insetStart (optional)
insetStart?: number | `${number}%` | undefined

Experimental direct absolute Flex inline-start inset, mapped through the receiving Flex direction. Overrides the corresponding physical edge, including zero. Percentages use the selected containing padding-box width. See Length.

View source — packages/core/src/lib/style/positioning.ts:204

insetEnd (optional)
insetEnd?: number | `${number}%` | undefined

Experimental direct absolute Flex inline-end inset, mapped through the receiving Flex direction. Overrides the corresponding physical edge. See Length.

View source — packages/core/src/lib/style/positioning.ts:206

cornerRadius (optional)
cornerRadius?: number | `${number}%` | undefined

Uniform corner radius used where no per-corner override is supplied. See Length.

View source — packages/core/src/lib/style/types.ts:46

cornerRadii (optional)
cornerRadii?: readonly (number | `${number}%` | null | undefined)[] | undefined

Per-corner radii; nullish entries use the uniform corner radius. See Length.

View source — packages/core/src/lib/style/types.ts:48

aspectRatio (optional)
aspectRatio?: number | undefined

Positive finite width/height ratio. A declared definite axis derives the automatic axis before its bounds; boxSizing selects content or border geometry. See resolveBox.

View source — packages/core/src/lib/style/types.ts:84

boxSizing (optional)
boxSizing?: "border-box" | "content-box" | undefined

Selects whether dimensions, bounds and Flex basis include padding and layout borders. Defaults to content-box. Border-box content floors at zero and the outer box floors at total axis padding plus layout borders. Painted stroke widths remain independent. See ResolvedBoxStyle.

View source — packages/core/src/lib/style/types.ts:89

minWidth (optional)
minWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Minimum permitted horizontal width. Finite horizontal Flex intrinsic owners also accept intrinsic sizing requests; automatic remains invalid. See SizingLength.

View source — packages/core/src/lib/style/types.ts:95

maxWidth (optional)
maxWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Maximum permitted horizontal width. Finite horizontal Flex intrinsic owners also accept intrinsic sizing requests; automatic remains invalid. See SizingLength.

View source — packages/core/src/lib/style/types.ts:97

minHeight (optional)
minHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Minimum permitted height. See Length.

View source — packages/core/src/lib/style/types.ts:99

maxHeight (optional)
maxHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Maximum permitted height. See Length.

View source — packages/core/src/lib/style/types.ts:101

padding (optional)
padding?: EdgeValues<number | `${number}%`> | undefined

Related API: EdgeValues.

Padding inside layout borders. Experimental allocated Flex percentages use owner content width for every edge. See EdgeValues, Percentage.

View source — packages/core/src/lib/style/types.ts:103

paddingStart (optional)
paddingStart?: number | `${number}%` | undefined

Nonnegative inline-start padding overriding its physical padding edge. Experimental percentages require an allocated Flex owner and use its content width. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:105

paddingEnd (optional)
paddingEnd?: number | `${number}%` | undefined

Nonnegative inline-end padding overriding its physical padding edge. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:107

borderWidth (optional)
borderWidth?: EdgeValues<number> | undefined

Related API: EdgeValues.

Layout-only physical border insets, in logical pixels. Defaults to zero; does not paint a stroke. See EdgeValues.

View source — packages/core/src/lib/style/types.ts:109

borderStartWidth (optional)
borderStartWidth?: number | undefined

Experimental nonnegative numeric inline-start layout border overriding its physical borderWidth edge. Does not paint a stroke. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:111

borderEndWidth (optional)
borderEndWidth?: number | undefined

Experimental nonnegative numeric inline-end layout border overriding its physical borderWidth edge. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:113

overflow (optional)
overflow?: "clip" | "visible" | undefined

Selects "visible", "clip" for overflow. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:115

margin (optional)
margin?: FlexMargin | undefined

Related API: FlexMargin.

Uniform physical margin in logical Canvas units, a percentage of allocated Flex content width, or auto on supported finite Flex axes. Finite negatives are allowed; specific edges override this value. Consumed by experimental Flex only. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:146

marginTop (optional)
marginTop?: FlexMargin | undefined

Related API: FlexMargin.

Physical top margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:148

marginRight (optional)
marginRight?: FlexMargin | undefined

Related API: FlexMargin.

Physical right margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:150

marginBottom (optional)
marginBottom?: FlexMargin | undefined

Related API: FlexMargin.

Physical bottom margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:152

marginLeft (optional)
marginLeft?: FlexMargin | undefined

Related API: FlexMargin.

Physical left margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:154

marginStart (optional)
marginStart?: FlexMargin | undefined

Related API: FlexMargin.

Inline-start margin overriding the corresponding physical edge and margin shorthand in experimental Flex. Signed percentages use allocated content width. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:156

marginEnd (optional)
marginEnd?: FlexMargin | undefined

Related API: FlexMargin.

Inline-end margin overriding the corresponding physical edge and margin shorthand in experimental Flex. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:158

alignSelf (optional)
alignSelf?: "auto" | "center" | "end" | "flex-end" | "flex-start" | "start" | "stretch" | undefined

This child’s cross-axis or block-axis alignment override. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:160

justifySelf (optional)
justifySelf?: "auto" | "center" | "end" | "start" | "stretch" | undefined

This child’s inline-axis alignment override. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:162

flexBasis (optional)
flexBasis?: SizingLength | undefined

Related API: SizingLength.

Initial main-axis size before flex growth or shrinkage. See SizingLength.

View source — packages/core/src/lib/style/types.ts:164

flexGrow (optional)
flexGrow?: number | undefined

Relative share of positive free space assigned to this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:166

flexShrink (optional)
flexShrink?: number | undefined

Relative factor used when reducing main-axis size. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:168

gridColumnStart (optional)
gridColumnStart?: number | undefined

Explicit starting grid column. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:170

gridColumnSpan (optional)
gridColumnSpan?: number | undefined

Number of columns occupied by this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:172

gridRowStart (optional)
gridRowStart?: number | undefined

Explicit starting grid row. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:174

gridRowSpan (optional)
gridRowSpan?: number | undefined

Number of rows occupied by this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:176

fill (optional)
fill?: FillStyle | undefined

Related API: FillStyle.

Paint used for the interior. See FillStyle.

View source — packages/core/src/lib/style/types.ts:232

stroke (optional)
stroke?: StrokeStyle | undefined

Related API: StrokeStyle.

Paint used for the outline. See StrokeStyle.

View source — packages/core/src/lib/style/types.ts:234

strokeWidth (optional)
strokeWidth?: number | undefined

Width of the painted outline. See PaintStyle.

View source — packages/core/src/lib/style/types.ts:236

opacity (optional)
opacity?: number | undefined

Related API: opacity.

Opacity of the painted result. See PaintStyle.

View source — packages/core/src/lib/style/types.ts:238

cursor (optional)
cursor?: string | undefined

Cursor shown while this target owns pointer presentation. See CursorStyle.

View source — packages/core/src/lib/style/types.ts:251

alignToPixelGrid (optional)
alignToPixelGrid?: PixelGridAlignment | undefined

Related API: PixelGridAlignment.

Pixel-grid alignment policy applied to the resolved geometry. See PixelGridAlignment.

View source — packages/core/src/lib/style/types.ts:305

lineInteractionWidth (optional)
lineInteractionWidth?: number | undefined

Width used for line hit testing independently of the visible stroke width. See RectStyle.

View source — packages/core/src/lib/style/types.ts:310

layoutParticipation (optional)
layoutParticipation?: "contents" | "hidden" | "normal" | undefined

Numeric layout participation. Hidden subtrees retain mounted ownership without geometry or paint; contents retains logical ancestry without owning a box. See SystemStyle.

View source — packages/core/src/lib/types.ts:69

transition (optional)
transition?: PibblTransitionBinding | undefined

Related API: PibblTransitionBinding.

Visibility-transition binding applied to this primitive and its captured descendants. See SystemStyle.

View source — packages/core/src/lib/types.ts:71

custom (optional)
custom?: unknown

Application-defined style payload passed through the runtime. See SystemStyle.

View source — packages/core/src/lib/types.ts:73

filter (optional)
filter?: PibblFilter | readonly PibblFilter[] | undefined

Related API: PibblFilter.

Ordered pixel-only filters applied to the receiving primitive and its descendants. See PibblFilter.

View source — packages/core/src/lib/types.ts:78

Paint properties for an edge path; its route remains geometry-owned. GraphLayout

type EdgeStyle = Omit<SvgPathStyle, "d" | "left" | "top">

Related API: EdgeStyle, SvgPathStyle.

View source — packages/core/src/features/viz/lib/graph/types.ts:62

position (optional)
position?: "absolute" | "relative" | "static" | undefined

Experimental direct-Flex placement mode. In a finite Flex, static keeps the allocated slot and ignores insets; relative offsets final geometry once without moving siblings. Primitive static/relative leaves support every main/writing direction and wrapping mode. Wrapped parents admit fixed numeric direct Flex owners that remain internally nowrap; non-row chains use the same fixed owner restriction, with zero grow/shrink and omitted or automatic basis; physical offsets retain their sign through main reversal. Absolute stays out of sibling allocation, using the padding box for explicit insets and content alignment for omitted axes. Fixed numeric, percentage and admitted automatic absolute profiles support all main directions and RTL, with numeric or percentage bounds applied before placement. In every wrapping mode, omitted axes use whole-content main/cross alignment; wrap-reverse reverses omitted cross alignment and combines with column RTL exactly once. Paired natural providers keep their exact/unbounded query in every admitted direction. Direct wrapped Text with a generic pixel font and visible fit/overflow may measure automatic height at a resolved numeric or percentage width through the same owned query. Unwrapped Text may measure automatic width at a resolved numeric or percentage height, using its existing Canvas ink-bounds width before bounds and physical anchoring. Generic unwrapped Text also supports natural ink height and both automatic dimensions through one unbounded query before independent numeric clamps; mixed opposing-pair/natural feedback and both-auto aspect remain excluded. On the documented finite direct-child path, automatic absolute axes resolve from opposing numeric or percentage physical insets. With a positive finite aspectRatio, exactly one automatic axis can instead derive from its resolved declared finite numeric or percentage opposite axis. Opposing insets win. Finite numeric or percentage min/max bounds clamp used axes independently after derivation; a clamp does not recouple aspectRatio, and a numeric minimum above its maximum rejects. A direct custom primitive with paired pure measurement providers may instead measure natural automatic width at a declared numeric or percentage height, or natural height at a declared numeric or percentage width. The automatic axis is unbounded; the exact axis uses its declared resolved padding-box value before bounds clamp the used dimensions. In direct declarative Flex chains, static Flex passes the containing box outward while relative Flex owns a local box. Omission retains the legacy local Flex boundary and left/top behavior.

View source — packages/core/src/lib/style/positioning.ts:194

right (optional)
right?: number | `${number}%` | undefined

Right edge inset. Absolute Flex accepts finite numbers or percentages of the containing padding-box width; relative percentages use the parent content-box width. See Length.

View source — packages/core/src/lib/style/positioning.ts:198

bottom (optional)
bottom?: number | `${number}%` | undefined

Bottom edge inset. Absolute Flex accepts finite numbers or percentages of the containing padding-box height; relative percentages use the parent content-box height. See Length.

View source — packages/core/src/lib/style/positioning.ts:202

insetStart (optional)
insetStart?: number | `${number}%` | undefined

Experimental direct absolute Flex inline-start inset, mapped through the receiving Flex direction. Overrides the corresponding physical edge, including zero. Percentages use the selected containing padding-box width. See Length.

View source — packages/core/src/lib/style/positioning.ts:204

insetEnd (optional)
insetEnd?: number | `${number}%` | undefined

Experimental direct absolute Flex inline-end inset, mapped through the receiving Flex direction. Overrides the corresponding physical edge. See Length.

View source — packages/core/src/lib/style/positioning.ts:206

aspectRatio (optional)
aspectRatio?: number | undefined

Positive finite width/height ratio. A declared definite axis derives the automatic axis before its bounds; boxSizing selects content or border geometry. See resolveBox.

View source — packages/core/src/lib/style/types.ts:84

boxSizing (optional)
boxSizing?: "border-box" | "content-box" | undefined

Selects whether dimensions, bounds and Flex basis include padding and layout borders. Defaults to content-box. Border-box content floors at zero and the outer box floors at total axis padding plus layout borders. Painted stroke widths remain independent. See ResolvedBoxStyle.

View source — packages/core/src/lib/style/types.ts:89

width (optional)
width?: SizingLength | undefined

Related API: SizingLength.

Horizontal extent in the units of the containing geometry or surface. See SizingLength.

View source — packages/core/src/lib/style/types.ts:91

height (optional)
height?: SizingLength | undefined

Related API: SizingLength.

Vertical extent in the units of the containing geometry or surface. See SizingLength.

View source — packages/core/src/lib/style/types.ts:93

minWidth (optional)
minWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Minimum permitted horizontal width. Finite horizontal Flex intrinsic owners also accept intrinsic sizing requests; automatic remains invalid. See SizingLength.

View source — packages/core/src/lib/style/types.ts:95

maxWidth (optional)
maxWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Maximum permitted horizontal width. Finite horizontal Flex intrinsic owners also accept intrinsic sizing requests; automatic remains invalid. See SizingLength.

View source — packages/core/src/lib/style/types.ts:97

minHeight (optional)
minHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Minimum permitted height. See Length.

View source — packages/core/src/lib/style/types.ts:99

maxHeight (optional)
maxHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Maximum permitted height. See Length.

View source — packages/core/src/lib/style/types.ts:101

padding (optional)
padding?: EdgeValues<number | `${number}%`> | undefined

Related API: EdgeValues.

Padding inside layout borders. Experimental allocated Flex percentages use owner content width for every edge. See EdgeValues, Percentage.

View source — packages/core/src/lib/style/types.ts:103

paddingStart (optional)
paddingStart?: number | `${number}%` | undefined

Nonnegative inline-start padding overriding its physical padding edge. Experimental percentages require an allocated Flex owner and use its content width. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:105

paddingEnd (optional)
paddingEnd?: number | `${number}%` | undefined

Nonnegative inline-end padding overriding its physical padding edge. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:107

borderWidth (optional)
borderWidth?: EdgeValues<number> | undefined

Related API: EdgeValues.

Layout-only physical border insets, in logical pixels. Defaults to zero; does not paint a stroke. See EdgeValues.

View source — packages/core/src/lib/style/types.ts:109

borderStartWidth (optional)
borderStartWidth?: number | undefined

Experimental nonnegative numeric inline-start layout border overriding its physical borderWidth edge. Does not paint a stroke. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:111

borderEndWidth (optional)
borderEndWidth?: number | undefined

Experimental nonnegative numeric inline-end layout border overriding its physical borderWidth edge. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:113

overflow (optional)
overflow?: "clip" | "visible" | undefined

Selects "visible", "clip" for overflow. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:115

margin (optional)
margin?: FlexMargin | undefined

Related API: FlexMargin.

Uniform physical margin in logical Canvas units, a percentage of allocated Flex content width, or auto on supported finite Flex axes. Finite negatives are allowed; specific edges override this value. Consumed by experimental Flex only. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:146

marginTop (optional)
marginTop?: FlexMargin | undefined

Related API: FlexMargin.

Physical top margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:148

marginRight (optional)
marginRight?: FlexMargin | undefined

Related API: FlexMargin.

Physical right margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:150

marginBottom (optional)
marginBottom?: FlexMargin | undefined

Related API: FlexMargin.

Physical bottom margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:152

marginLeft (optional)
marginLeft?: FlexMargin | undefined

Related API: FlexMargin.

Physical left margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:154

marginStart (optional)
marginStart?: FlexMargin | undefined

Related API: FlexMargin.

Inline-start margin overriding the corresponding physical edge and margin shorthand in experimental Flex. Signed percentages use allocated content width. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:156

marginEnd (optional)
marginEnd?: FlexMargin | undefined

Related API: FlexMargin.

Inline-end margin overriding the corresponding physical edge and margin shorthand in experimental Flex. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:158

alignSelf (optional)
alignSelf?: "auto" | "center" | "end" | "flex-end" | "flex-start" | "start" | "stretch" | undefined

This child’s cross-axis or block-axis alignment override. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:160

justifySelf (optional)
justifySelf?: "auto" | "center" | "end" | "start" | "stretch" | undefined

This child’s inline-axis alignment override. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:162

flexBasis (optional)
flexBasis?: SizingLength | undefined

Related API: SizingLength.

Initial main-axis size before flex growth or shrinkage. See SizingLength.

View source — packages/core/src/lib/style/types.ts:164

flexGrow (optional)
flexGrow?: number | undefined

Relative share of positive free space assigned to this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:166

flexShrink (optional)
flexShrink?: number | undefined

Relative factor used when reducing main-axis size. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:168

gridColumnStart (optional)
gridColumnStart?: number | undefined

Explicit starting grid column. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:170

gridColumnSpan (optional)
gridColumnSpan?: number | undefined

Number of columns occupied by this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:172

gridRowStart (optional)
gridRowStart?: number | undefined

Explicit starting grid row. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:174

gridRowSpan (optional)
gridRowSpan?: number | undefined

Number of rows occupied by this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:176

fill (optional)
fill?: FillStyle | undefined

Related API: FillStyle.

Paint used for the interior. See FillStyle.

View source — packages/core/src/lib/style/types.ts:232

stroke (optional)
stroke?: StrokeStyle | undefined

Related API: StrokeStyle.

Paint used for the outline. See StrokeStyle.

View source — packages/core/src/lib/style/types.ts:234

strokeWidth (optional)
strokeWidth?: number | undefined

Width of the painted outline. See PaintStyle.

View source — packages/core/src/lib/style/types.ts:236

opacity (optional)
opacity?: number | undefined

Related API: opacity.

Opacity of the painted result. See PaintStyle.

View source — packages/core/src/lib/style/types.ts:238

cursor (optional)
cursor?: string | undefined

Cursor shown while this target owns pointer presentation. See CursorStyle.

View source — packages/core/src/lib/style/types.ts:251

lineInteractionWidth (optional)
lineInteractionWidth?: number | undefined

Width used for line hit testing independently of the visible stroke width. See SvgPathStyle.

View source — packages/core/src/lib/style/types.ts:334

layoutParticipation (optional)
layoutParticipation?: "contents" | "hidden" | "normal" | undefined

Numeric layout participation. Hidden subtrees retain mounted ownership without geometry or paint; contents retains logical ancestry without owning a box. See SystemStyle.

View source — packages/core/src/lib/types.ts:69

transition (optional)
transition?: PibblTransitionBinding | undefined

Related API: PibblTransitionBinding.

Visibility-transition binding applied to this primitive and its captured descendants. See SystemStyle.

View source — packages/core/src/lib/types.ts:71

custom (optional)
custom?: unknown

Application-defined style payload passed through the runtime. See SystemStyle.

View source — packages/core/src/lib/types.ts:73

filter (optional)
filter?: PibblFilter | readonly PibblFilter[] | undefined

Related API: PibblFilter.

Ordered pixel-only filters applied to the receiving primitive and its descendants. See PibblFilter.

View source — packages/core/src/lib/types.ts:78

Paint properties for text; label placement remains geometry-owned. GraphLayout

type LabelStyle = Omit<TextStyle, "left" | "top" | "width" | "height">

Related API: LabelStyle, TextStyle.

View source — packages/core/src/features/viz/lib/graph/types.ts:64

position (optional)
position?: "absolute" | "relative" | "static" | undefined

Experimental direct-Flex placement mode. In a finite Flex, static keeps the allocated slot and ignores insets; relative offsets final geometry once without moving siblings. Primitive static/relative leaves support every main/writing direction and wrapping mode. Wrapped parents admit fixed numeric direct Flex owners that remain internally nowrap; non-row chains use the same fixed owner restriction, with zero grow/shrink and omitted or automatic basis; physical offsets retain their sign through main reversal. Absolute stays out of sibling allocation, using the padding box for explicit insets and content alignment for omitted axes. Fixed numeric, percentage and admitted automatic absolute profiles support all main directions and RTL, with numeric or percentage bounds applied before placement. In every wrapping mode, omitted axes use whole-content main/cross alignment; wrap-reverse reverses omitted cross alignment and combines with column RTL exactly once. Paired natural providers keep their exact/unbounded query in every admitted direction. Direct wrapped Text with a generic pixel font and visible fit/overflow may measure automatic height at a resolved numeric or percentage width through the same owned query. Unwrapped Text may measure automatic width at a resolved numeric or percentage height, using its existing Canvas ink-bounds width before bounds and physical anchoring. Generic unwrapped Text also supports natural ink height and both automatic dimensions through one unbounded query before independent numeric clamps; mixed opposing-pair/natural feedback and both-auto aspect remain excluded. On the documented finite direct-child path, automatic absolute axes resolve from opposing numeric or percentage physical insets. With a positive finite aspectRatio, exactly one automatic axis can instead derive from its resolved declared finite numeric or percentage opposite axis. Opposing insets win. Finite numeric or percentage min/max bounds clamp used axes independently after derivation; a clamp does not recouple aspectRatio, and a numeric minimum above its maximum rejects. A direct custom primitive with paired pure measurement providers may instead measure natural automatic width at a declared numeric or percentage height, or natural height at a declared numeric or percentage width. The automatic axis is unbounded; the exact axis uses its declared resolved padding-box value before bounds clamp the used dimensions. In direct declarative Flex chains, static Flex passes the containing box outward while relative Flex owns a local box. Omission retains the legacy local Flex boundary and left/top behavior.

View source — packages/core/src/lib/style/positioning.ts:194

right (optional)
right?: number | `${number}%` | undefined

Right edge inset. Absolute Flex accepts finite numbers or percentages of the containing padding-box width; relative percentages use the parent content-box width. See Length.

View source — packages/core/src/lib/style/positioning.ts:198

bottom (optional)
bottom?: number | `${number}%` | undefined

Bottom edge inset. Absolute Flex accepts finite numbers or percentages of the containing padding-box height; relative percentages use the parent content-box height. See Length.

View source — packages/core/src/lib/style/positioning.ts:202

insetStart (optional)
insetStart?: number | `${number}%` | undefined

Experimental direct absolute Flex inline-start inset, mapped through the receiving Flex direction. Overrides the corresponding physical edge, including zero. Percentages use the selected containing padding-box width. See Length.

View source — packages/core/src/lib/style/positioning.ts:204

insetEnd (optional)
insetEnd?: number | `${number}%` | undefined

Experimental direct absolute Flex inline-end inset, mapped through the receiving Flex direction. Overrides the corresponding physical edge. See Length.

View source — packages/core/src/lib/style/positioning.ts:206

aspectRatio (optional)
aspectRatio?: number | undefined

Positive finite width/height ratio. A declared definite axis derives the automatic axis before its bounds; boxSizing selects content or border geometry. See resolveBox.

View source — packages/core/src/lib/style/types.ts:84

boxSizing (optional)
boxSizing?: "border-box" | "content-box" | undefined

Selects whether dimensions, bounds and Flex basis include padding and layout borders. Defaults to content-box. Border-box content floors at zero and the outer box floors at total axis padding plus layout borders. Painted stroke widths remain independent. See ResolvedBoxStyle.

View source — packages/core/src/lib/style/types.ts:89

minWidth (optional)
minWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Minimum permitted horizontal width. Finite horizontal Flex intrinsic owners also accept intrinsic sizing requests; automatic remains invalid. See SizingLength.

View source — packages/core/src/lib/style/types.ts:95

maxWidth (optional)
maxWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Maximum permitted horizontal width. Finite horizontal Flex intrinsic owners also accept intrinsic sizing requests; automatic remains invalid. See SizingLength.

View source — packages/core/src/lib/style/types.ts:97

minHeight (optional)
minHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Minimum permitted height. See Length.

View source — packages/core/src/lib/style/types.ts:99

maxHeight (optional)
maxHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Maximum permitted height. See Length.

View source — packages/core/src/lib/style/types.ts:101

padding (optional)
padding?: EdgeValues<number | `${number}%`> | undefined

Related API: EdgeValues.

Padding inside layout borders. Experimental allocated Flex percentages use owner content width for every edge. See EdgeValues, Percentage.

View source — packages/core/src/lib/style/types.ts:103

paddingStart (optional)
paddingStart?: number | `${number}%` | undefined

Nonnegative inline-start padding overriding its physical padding edge. Experimental percentages require an allocated Flex owner and use its content width. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:105

paddingEnd (optional)
paddingEnd?: number | `${number}%` | undefined

Nonnegative inline-end padding overriding its physical padding edge. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:107

borderWidth (optional)
borderWidth?: EdgeValues<number> | undefined

Related API: EdgeValues.

Layout-only physical border insets, in logical pixels. Defaults to zero; does not paint a stroke. See EdgeValues.

View source — packages/core/src/lib/style/types.ts:109

borderStartWidth (optional)
borderStartWidth?: number | undefined

Experimental nonnegative numeric inline-start layout border overriding its physical borderWidth edge. Does not paint a stroke. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:111

borderEndWidth (optional)
borderEndWidth?: number | undefined

Experimental nonnegative numeric inline-end layout border overriding its physical borderWidth edge. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:113

overflow (optional)
overflow?: "clip" | "visible" | undefined

Selects "visible", "clip" for overflow. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:115

margin (optional)
margin?: FlexMargin | undefined

Related API: FlexMargin.

Uniform physical margin in logical Canvas units, a percentage of allocated Flex content width, or auto on supported finite Flex axes. Finite negatives are allowed; specific edges override this value. Consumed by experimental Flex only. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:146

marginTop (optional)
marginTop?: FlexMargin | undefined

Related API: FlexMargin.

Physical top margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:148

marginRight (optional)
marginRight?: FlexMargin | undefined

Related API: FlexMargin.

Physical right margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:150

marginBottom (optional)
marginBottom?: FlexMargin | undefined

Related API: FlexMargin.

Physical bottom margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:152

marginLeft (optional)
marginLeft?: FlexMargin | undefined

Related API: FlexMargin.

Physical left margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:154

marginStart (optional)
marginStart?: FlexMargin | undefined

Related API: FlexMargin.

Inline-start margin overriding the corresponding physical edge and margin shorthand in experimental Flex. Signed percentages use allocated content width. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:156

marginEnd (optional)
marginEnd?: FlexMargin | undefined

Related API: FlexMargin.

Inline-end margin overriding the corresponding physical edge and margin shorthand in experimental Flex. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:158

alignSelf (optional)
alignSelf?: "auto" | "center" | "end" | "flex-end" | "flex-start" | "start" | "stretch" | undefined

This child’s cross-axis or block-axis alignment override. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:160

justifySelf (optional)
justifySelf?: "auto" | "center" | "end" | "start" | "stretch" | undefined

This child’s inline-axis alignment override. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:162

flexBasis (optional)
flexBasis?: SizingLength | undefined

Related API: SizingLength.

Initial main-axis size before flex growth or shrinkage. See SizingLength.

View source — packages/core/src/lib/style/types.ts:164

flexGrow (optional)
flexGrow?: number | undefined

Relative share of positive free space assigned to this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:166

flexShrink (optional)
flexShrink?: number | undefined

Relative factor used when reducing main-axis size. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:168

gridColumnStart (optional)
gridColumnStart?: number | undefined

Explicit starting grid column. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:170

gridColumnSpan (optional)
gridColumnSpan?: number | undefined

Number of columns occupied by this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:172

gridRowStart (optional)
gridRowStart?: number | undefined

Explicit starting grid row. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:174

gridRowSpan (optional)
gridRowSpan?: number | undefined

Number of rows occupied by this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:176

fill (optional)
fill?: FillStyle | undefined

Related API: FillStyle.

Paint used for the interior. See FillStyle.

View source — packages/core/src/lib/style/types.ts:232

stroke (optional)
stroke?: StrokeStyle | undefined

Related API: StrokeStyle.

Paint used for the outline. See StrokeStyle.

View source — packages/core/src/lib/style/types.ts:234

strokeWidth (optional)
strokeWidth?: number | undefined

Width of the painted outline. See PaintStyle.

View source — packages/core/src/lib/style/types.ts:236

opacity (optional)
opacity?: number | undefined

Related API: opacity.

Opacity of the painted result. See PaintStyle.

View source — packages/core/src/lib/style/types.ts:238

cursor (optional)
cursor?: string | undefined

Cursor shown while this target owns pointer presentation. See CursorStyle.

View source — packages/core/src/lib/style/types.ts:251

lineHeight (optional)
lineHeight?: number | undefined

Spacing between successive text lines. See TextStyle.

View source — packages/core/src/lib/style/types.ts:358

wrap (optional)
wrap?: boolean | undefined

Whether content may wrap into additional lines. See TextStyle.

View source — packages/core/src/lib/style/types.ts:360

fit (optional)
fit?: TextFit | undefined

Related API: TextFit.

Policy for fitting content within its available box. See TextFit.

View source — packages/core/src/lib/style/types.ts:362

font (optional)
font?: string | undefined

Canvas font string used to draw or measure text. See TextStyle.

View source — packages/core/src/lib/style/types.ts:364

textBaseline (optional)
textBaseline?: CanvasTextBaseline | undefined

Canvas baseline used when placing text. See TextStyle.

View source — packages/core/src/lib/style/types.ts:366

textAlign (optional)
textAlign?: CanvasTextAlign | undefined

Canvas horizontal alignment used when placing text. See TextStyle.

View source — packages/core/src/lib/style/types.ts:368

layoutParticipation (optional)
layoutParticipation?: "contents" | "hidden" | "normal" | undefined

Numeric layout participation. Hidden subtrees retain mounted ownership without geometry or paint; contents retains logical ancestry without owning a box. See SystemStyle.

View source — packages/core/src/lib/types.ts:69

transition (optional)
transition?: PibblTransitionBinding | undefined

Related API: PibblTransitionBinding.

Visibility-transition binding applied to this primitive and its captured descendants. See SystemStyle.

View source — packages/core/src/lib/types.ts:71

custom (optional)
custom?: unknown

Application-defined style payload passed through the runtime. See SystemStyle.

View source — packages/core/src/lib/types.ts:73

filter (optional)
filter?: PibblFilter | readonly PibblFilter[] | undefined

Related API: PibblFilter.

Ordered pixel-only filters applied to the receiving primitive and its descendants. See PibblFilter.

View source — packages/core/src/lib/types.ts:78

Layout and paint properties for a graph component frame. GraphLayout

type FrameStyle = GStyle

Related API: FrameStyle, GStyle.

View source — packages/core/src/features/viz/lib/graph/types.ts:66

scaleX (optional)
scaleX?: number | undefined

Horizontal scale factor. See GStyle.

View source — packages/core/src/lib/components/g.ts:46

scaleY (optional)
scaleY?: number | undefined

Vertical scale factor. See GStyle.

View source — packages/core/src/lib/components/g.ts:48

rotationDegrees (optional)
rotationDegrees?: number | undefined

Clockwise rotation in degrees.

View source — packages/core/src/lib/components/g.ts:50

rotationOrigin (optional)
rotationOrigin?: [number, number] | undefined

Point around which the rotation is applied. See GStyle.

View source — packages/core/src/lib/components/g.ts:52

translateX (optional)
translateX?: number | undefined

Horizontal translation in the current logical coordinate system. See GStyle.

View source — packages/core/src/lib/components/g.ts:54

translateY (optional)
translateY?: number | undefined

Vertical translation in the current logical coordinate system. See GStyle.

View source — packages/core/src/lib/components/g.ts:56

skewX (optional)
skewX?: number | undefined

Horizontal skew angle in degrees.

View source — packages/core/src/lib/components/g.ts:58

skewY (optional)
skewY?: number | undefined

Vertical skew angle in degrees.

View source — packages/core/src/lib/components/g.ts:60

position (optional)
position?: "absolute" | "relative" | "static" | undefined

Experimental direct-Flex placement mode. In a finite Flex, static keeps the allocated slot and ignores insets; relative offsets final geometry once without moving siblings. Primitive static/relative leaves support every main/writing direction and wrapping mode. Wrapped parents admit fixed numeric direct Flex owners that remain internally nowrap; non-row chains use the same fixed owner restriction, with zero grow/shrink and omitted or automatic basis; physical offsets retain their sign through main reversal. Absolute stays out of sibling allocation, using the padding box for explicit insets and content alignment for omitted axes. Fixed numeric, percentage and admitted automatic absolute profiles support all main directions and RTL, with numeric or percentage bounds applied before placement. In every wrapping mode, omitted axes use whole-content main/cross alignment; wrap-reverse reverses omitted cross alignment and combines with column RTL exactly once. Paired natural providers keep their exact/unbounded query in every admitted direction. Direct wrapped Text with a generic pixel font and visible fit/overflow may measure automatic height at a resolved numeric or percentage width through the same owned query. Unwrapped Text may measure automatic width at a resolved numeric or percentage height, using its existing Canvas ink-bounds width before bounds and physical anchoring. Generic unwrapped Text also supports natural ink height and both automatic dimensions through one unbounded query before independent numeric clamps; mixed opposing-pair/natural feedback and both-auto aspect remain excluded. On the documented finite direct-child path, automatic absolute axes resolve from opposing numeric or percentage physical insets. With a positive finite aspectRatio, exactly one automatic axis can instead derive from its resolved declared finite numeric or percentage opposite axis. Opposing insets win. Finite numeric or percentage min/max bounds clamp used axes independently after derivation; a clamp does not recouple aspectRatio, and a numeric minimum above its maximum rejects. A direct custom primitive with paired pure measurement providers may instead measure natural automatic width at a declared numeric or percentage height, or natural height at a declared numeric or percentage width. The automatic axis is unbounded; the exact axis uses its declared resolved padding-box value before bounds clamp the used dimensions. In direct declarative Flex chains, static Flex passes the containing box outward while relative Flex owns a local box. Omission retains the legacy local Flex boundary and left/top behavior.

View source — packages/core/src/lib/style/positioning.ts:194

left (optional)
left?: number | `${number}%` | undefined

Left edge coordinate or inset. Explicit absolute Flex insets accept finite numbers or percentages of the containing padding-box axis; relative percentages use the parent content-box axis. See Length.

View source — packages/core/src/lib/style/positioning.ts:196

right (optional)
right?: number | `${number}%` | undefined

Right edge inset. Absolute Flex accepts finite numbers or percentages of the containing padding-box width; relative percentages use the parent content-box width. See Length.

View source — packages/core/src/lib/style/positioning.ts:198

top (optional)
top?: number | `${number}%` | undefined

Top edge coordinate or inset. Explicit absolute Flex insets accept finite numbers or percentages of the containing padding-box axis; relative percentages use the parent content-box axis. See Length.

View source — packages/core/src/lib/style/positioning.ts:200

bottom (optional)
bottom?: number | `${number}%` | undefined

Bottom edge inset. Absolute Flex accepts finite numbers or percentages of the containing padding-box height; relative percentages use the parent content-box height. See Length.

View source — packages/core/src/lib/style/positioning.ts:202

insetStart (optional)
insetStart?: number | `${number}%` | undefined

Experimental direct absolute Flex inline-start inset, mapped through the receiving Flex direction. Overrides the corresponding physical edge, including zero. Percentages use the selected containing padding-box width. See Length.

View source — packages/core/src/lib/style/positioning.ts:204

insetEnd (optional)
insetEnd?: number | `${number}%` | undefined

Experimental direct absolute Flex inline-end inset, mapped through the receiving Flex direction. Overrides the corresponding physical edge. See Length.

View source — packages/core/src/lib/style/positioning.ts:206

aspectRatio (optional)
aspectRatio?: number | undefined

Positive finite width/height ratio. A declared definite axis derives the automatic axis before its bounds; boxSizing selects content or border geometry. See resolveBox.

View source — packages/core/src/lib/style/types.ts:84

boxSizing (optional)
boxSizing?: "border-box" | "content-box" | undefined

Selects whether dimensions, bounds and Flex basis include padding and layout borders. Defaults to content-box. Border-box content floors at zero and the outer box floors at total axis padding plus layout borders. Painted stroke widths remain independent. See ResolvedBoxStyle.

View source — packages/core/src/lib/style/types.ts:89

width (optional)
width?: SizingLength | undefined

Related API: SizingLength.

Horizontal extent in the units of the containing geometry or surface. See SizingLength.

View source — packages/core/src/lib/style/types.ts:91

height (optional)
height?: SizingLength | undefined

Related API: SizingLength.

Vertical extent in the units of the containing geometry or surface. See SizingLength.

View source — packages/core/src/lib/style/types.ts:93

minWidth (optional)
minWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Minimum permitted horizontal width. Finite horizontal Flex intrinsic owners also accept intrinsic sizing requests; automatic remains invalid. See SizingLength.

View source — packages/core/src/lib/style/types.ts:95

maxWidth (optional)
maxWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Maximum permitted horizontal width. Finite horizontal Flex intrinsic owners also accept intrinsic sizing requests; automatic remains invalid. See SizingLength.

View source — packages/core/src/lib/style/types.ts:97

minHeight (optional)
minHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Minimum permitted height. See Length.

View source — packages/core/src/lib/style/types.ts:99

maxHeight (optional)
maxHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Maximum permitted height. See Length.

View source — packages/core/src/lib/style/types.ts:101

padding (optional)
padding?: EdgeValues<number | `${number}%`> | undefined

Related API: EdgeValues.

Padding inside layout borders. Experimental allocated Flex percentages use owner content width for every edge. See EdgeValues, Percentage.

View source — packages/core/src/lib/style/types.ts:103

paddingStart (optional)
paddingStart?: number | `${number}%` | undefined

Nonnegative inline-start padding overriding its physical padding edge. Experimental percentages require an allocated Flex owner and use its content width. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:105

paddingEnd (optional)
paddingEnd?: number | `${number}%` | undefined

Nonnegative inline-end padding overriding its physical padding edge. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:107

borderWidth (optional)
borderWidth?: EdgeValues<number> | undefined

Related API: EdgeValues.

Layout-only physical border insets, in logical pixels. Defaults to zero; does not paint a stroke. See EdgeValues.

View source — packages/core/src/lib/style/types.ts:109

borderStartWidth (optional)
borderStartWidth?: number | undefined

Experimental nonnegative numeric inline-start layout border overriding its physical borderWidth edge. Does not paint a stroke. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:111

borderEndWidth (optional)
borderEndWidth?: number | undefined

Experimental nonnegative numeric inline-end layout border overriding its physical borderWidth edge. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:113

overflow (optional)
overflow?: "clip" | "visible" | undefined

Selects "visible", "clip" for overflow. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:115

margin (optional)
margin?: FlexMargin | undefined

Related API: FlexMargin.

Uniform physical margin in logical Canvas units, a percentage of allocated Flex content width, or auto on supported finite Flex axes. Finite negatives are allowed; specific edges override this value. Consumed by experimental Flex only. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:146

marginTop (optional)
marginTop?: FlexMargin | undefined

Related API: FlexMargin.

Physical top margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:148

marginRight (optional)
marginRight?: FlexMargin | undefined

Related API: FlexMargin.

Physical right margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:150

marginBottom (optional)
marginBottom?: FlexMargin | undefined

Related API: FlexMargin.

Physical bottom margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:152

marginLeft (optional)
marginLeft?: FlexMargin | undefined

Related API: FlexMargin.

Physical left margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:154

marginStart (optional)
marginStart?: FlexMargin | undefined

Related API: FlexMargin.

Inline-start margin overriding the corresponding physical edge and margin shorthand in experimental Flex. Signed percentages use allocated content width. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:156

marginEnd (optional)
marginEnd?: FlexMargin | undefined

Related API: FlexMargin.

Inline-end margin overriding the corresponding physical edge and margin shorthand in experimental Flex. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:158

alignSelf (optional)
alignSelf?: "auto" | "center" | "end" | "flex-end" | "flex-start" | "start" | "stretch" | undefined

This child’s cross-axis or block-axis alignment override. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:160

justifySelf (optional)
justifySelf?: "auto" | "center" | "end" | "start" | "stretch" | undefined

This child’s inline-axis alignment override. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:162

flexBasis (optional)
flexBasis?: SizingLength | undefined

Related API: SizingLength.

Initial main-axis size before flex growth or shrinkage. See SizingLength.

View source — packages/core/src/lib/style/types.ts:164

flexGrow (optional)
flexGrow?: number | undefined

Relative share of positive free space assigned to this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:166

flexShrink (optional)
flexShrink?: number | undefined

Relative factor used when reducing main-axis size. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:168

gridColumnStart (optional)
gridColumnStart?: number | undefined

Explicit starting grid column. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:170

gridColumnSpan (optional)
gridColumnSpan?: number | undefined

Number of columns occupied by this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:172

gridRowStart (optional)
gridRowStart?: number | undefined

Explicit starting grid row. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:174

gridRowSpan (optional)
gridRowSpan?: number | undefined

Number of rows occupied by this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:176

layoutParticipation (optional)
layoutParticipation?: "contents" | "hidden" | "normal" | undefined

Numeric layout participation. Hidden subtrees retain mounted ownership without geometry or paint; contents retains logical ancestry without owning a box. See SystemStyle.

View source — packages/core/src/lib/types.ts:69

transition (optional)
transition?: PibblTransitionBinding | undefined

Related API: PibblTransitionBinding.

Visibility-transition binding applied to this primitive and its captured descendants. See SystemStyle.

View source — packages/core/src/lib/types.ts:71

custom (optional)
custom?: unknown

Application-defined style payload passed through the runtime. See SystemStyle.

View source — packages/core/src/lib/types.ts:73

filter (optional)
filter?: PibblFilter | readonly PibblFilter[] | undefined

Related API: PibblFilter.

Ordered pixel-only filters applied to the receiving primitive and its descendants. See PibblFilter.

View source — packages/core/src/lib/types.ts:78

A decorative text string with immutable placement. GraphLayout

interface LabelGeometry

Related API: LabelGeometry.

View source — packages/core/src/features/viz/lib/graph/types.ts:68

text
readonly text: string

Text displayed by the label. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:70

bounds
readonly bounds: Readonly<{ x: number; y: number; width: number; height: number; }>

Finite local logical bounds for this geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:72

rotationDegrees
readonly rotationDegrees: number

Clockwise label rotation in degrees. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:74

Application-owned node and edge records in stable source order. GraphLayout

interface GraphData<N, E>

Related API: GraphData.

View source — packages/core/src/features/viz/lib/graph/types.ts:77

nodes
readonly nodes: readonly N[]

Source nodes in application order. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:79

edges
readonly edges: readonly E[]

Source edges in application order. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:81

Typed readers that identify graph records and optional text. GraphLayout

interface GraphAccessors<N, E>

Related API: GraphAccessors.

View source — packages/core/src/features/viz/lib/graph/types.ts:84

nodeKey
readonly nodeKey: Accessor<N, VizKey>

Related API: Accessor, VizKey.

Reads each node’s stable key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:86

edgeKey
readonly edgeKey: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads each edge’s stable key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:88

source
readonly source: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads an edge source key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:90

target
readonly target: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads an edge target key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:92

label (optional)
readonly label?: Accessor<N, string> | undefined

Related API: Accessor.

Optional reader for a node’s primary text. LabelGeometry

View source — packages/core/src/features/viz/lib/graph/types.ts:94

detail (optional)
readonly detail?: Accessor<N, string> | undefined

Related API: Accessor.

Optional reader for a node’s secondary text. LabelGeometry

View source — packages/core/src/features/viz/lib/graph/types.ts:96

Immutable node geometry paired with its original record. GraphLayout

interface GraphNodeGeometry<N>

Related API: GraphNodeGeometry.

View source — packages/core/src/features/viz/lib/graph/types.ts:99

key
readonly key: VizKey

Related API: VizKey.

Stable application-provided key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:101

datum
readonly datum: N

Original application record. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:103

bounds
readonly bounds: Readonly<{ x: number; y: number; width: number; height: number; }>

Finite local logical bounds for this geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:105

label
readonly label: LabelGeometry

Related API: LabelGeometry.

Decorative label geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:107

detail
readonly detail: LabelGeometry | null

Related API: LabelGeometry.

Optional secondary label geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:109

Structured anchors and path segments for an edge route. GraphLayout

interface GraphRoute

Related API: GraphRoute.

View source — packages/core/src/features/viz/lib/graph/types.ts:113

sourceAnchor
readonly sourceAnchor: Readonly<{ x: number; y: number; }>

Attachment point on the source mark. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:115

targetAnchor
readonly targetAnchor: Readonly<{ x: number; y: number; }>

Attachment point on the target mark. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:117

segments
readonly segments: readonly Readonly<PathSegment>[]

Related API: PathSegment.

Path segments from source to target. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:119

arrowSegments
readonly arrowSegments: readonly Readonly<PathSegment>[] | null

Related API: PathSegment.

Optional path segments for an edge arrowhead. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:121

Immutable edge geometry paired with its original record. GraphLayout

interface GraphEdgeGeometry<E>

Related API: GraphEdgeGeometry.

View source — packages/core/src/features/viz/lib/graph/types.ts:124

key
readonly key: VizKey

Related API: VizKey.

Stable application-provided key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:126

datum
readonly datum: E

Original application record. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:128

sourceKey
readonly sourceKey: VizKey

Related API: VizKey.

Stable key of the edge source node. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:130

targetKey
readonly targetKey: VizKey

Related API: VizKey.

Stable key of the edge target node. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:132

route
readonly route: GraphRoute

Related API: GraphRoute.

Structured route used to produce the serialized path. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:134

path
readonly path: string

SVG path serialization of the route. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:136

arrowPath
readonly arrowPath: string | null

Optional SVG path for the route arrow. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:138

A pure immutable snapshot that can be painted with graph marks. GraphLayout

interface GraphLayout<N, E>

Related API: GraphLayout.

View source — packages/core/src/features/viz/lib/graph/types.ts:141

bounds
readonly bounds: Readonly<{ x: number; y: number; width: number; height: number; }>

Finite local logical bounds for this geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:143

nodes
readonly nodes: readonly GraphNodeGeometry<N>[]

Related API: GraphNodeGeometry.

Source nodes in application order. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:145

edges
readonly edges: readonly GraphEdgeGeometry<E>[]

Related API: GraphEdgeGeometry.

Source edges in application order. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:147

Optional default-mark overrides and click handlers shared by graph components. GraphLayout

interface GraphPresentation<N, E, NG extends GraphNodeGeometry<N> = GraphNodeGeometry<N>>

Related API: GraphPresentation, GraphNodeGeometry.

View source — packages/core/src/features/viz/lib/graph/types.ts:150

nodeStyle (optional)
readonly nodeStyle?: MarkStyle<NG, NodeStyle> | undefined

Related API: MarkStyle, NodeStyle.

Style or geometry-aware style for node marks. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:156

edgeStyle (optional)
readonly edgeStyle?: MarkStyle<GraphEdgeGeometry<E>, EdgeStyle> | undefined

Related API: MarkStyle, GraphEdgeGeometry, EdgeStyle.

Style or geometry-aware style for edge marks. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:158

labelStyle (optional)
readonly labelStyle?: MarkStyle<NG, LabelStyle> | undefined

Related API: MarkStyle, LabelStyle.

Style for decorative labels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:160

renderNode (optional)
readonly renderNode?: ((node: NG) => PibblNode) | undefined

Related API: PibblNode.

Replaces the default node mark with this composition. GraphLayout

  • node — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:164

renderEdge (optional)
readonly renderEdge?: ((edge: GraphEdgeGeometry<E>) => PibblNode) | undefined

Related API: GraphEdgeGeometry, PibblNode.

Replaces the default edge mark with this composition. GraphLayout

  • edge — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:168

onNodeClick (optional)
readonly onNodeClick?: ((node: NG, event: ClickEvent) => void) | undefined

Receives clicks on a node mark. GraphLayout

  • node — The source record or geometry supplied by Pibbl.

  • event — The source record or geometry supplied by Pibbl.

View source — packages/core/src/features/viz/lib/graph/types.ts:172

onEdgeClick (optional)
readonly onEdgeClick?: ((edge: GraphEdgeGeometry<E>, event: ClickEvent) => void) | undefined

Related API: GraphEdgeGeometry.

Receives clicks on an edge mark. GraphLayout

  • edge — The source record or geometry supplied by Pibbl.

  • event — The source record or geometry supplied by Pibbl.

View source — packages/core/src/features/viz/lib/graph/types.ts:176

Ordinary Pibbl event and focus participation accepted by graph marks. GraphLayout

interface MarkInteraction extends PibblEventHandlers, PibblEventParticipationOptions

Related API: MarkInteraction, PibblEventHandlers, PibblEventParticipationOptions.

View source — packages/core/src/features/viz/lib/graph/types.ts:182

keyboardFocusable (optional)
readonly keyboardFocusable?: boolean | undefined

Whether the mark enters logical keyboard focus. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:185

keyboardNavigationBounds (optional)
readonly keyboardNavigationBounds?: Readonly<{ x: number; y: number; width: number; height: number; }> | undefined

Logical bounds used for keyboard navigation. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:187

pointerEvents (optional)
readonly pointerEvents?: PibblPointerEvents | undefined

Related API: PibblPointerEvents.

Whether this content participates in pointer targeting. See PibblPointerEvents.

View source — packages/core/src/lib/events/types.ts:126

Geometry, paint, content, and ordinary events for GraphNode. GraphLayout

interface GraphNodeProps<N> extends MarkInteraction

Related API: GraphNodeProps, MarkInteraction.

View source — packages/core/src/features/viz/lib/graph/types.ts:190

node
readonly node: GraphNodeGeometry<N>

Related API: GraphNodeGeometry.

Immutable node geometry and original datum. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:192

style (optional)
readonly style?: Style<NodeStyle> | undefined

Related API: Style, NodeStyle.

Frame style and responsive size allocation. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:194

children (optional)
readonly children?: PibblNode

Related API: PibblNode.

Optional content painted with this mark. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:196

pointerEvents (optional)
readonly pointerEvents?: PibblPointerEvents | undefined

Related API: PibblPointerEvents.

Whether this content participates in pointer targeting. See PibblPointerEvents.

View source — packages/core/src/lib/events/types.ts:126

keyboardFocusable (optional)
readonly keyboardFocusable?: boolean | undefined

Whether the mark enters logical keyboard focus. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:185

keyboardNavigationBounds (optional)
readonly keyboardNavigationBounds?: Readonly<{ x: number; y: number; width: number; height: number; }> | undefined

Logical bounds used for keyboard navigation. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:187

Geometry, paint, and ordinary events for GraphEdge. GraphLayout

interface GraphEdgeProps<E> extends MarkInteraction

Related API: GraphEdgeProps, MarkInteraction.

View source — packages/core/src/features/viz/lib/graph/types.ts:199

edge
readonly edge: GraphEdgeGeometry<E>

Related API: GraphEdgeGeometry.

Immutable edge geometry and original datum. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:201

style (optional)
readonly style?: Style<EdgeStyle> | undefined

Related API: Style, EdgeStyle.

Frame style and responsive size allocation. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:203

pointerEvents (optional)
readonly pointerEvents?: PibblPointerEvents | undefined

Related API: PibblPointerEvents.

Whether this content participates in pointer targeting. See PibblPointerEvents.

View source — packages/core/src/lib/events/types.ts:126

keyboardFocusable (optional)
readonly keyboardFocusable?: boolean | undefined

Whether the mark enters logical keyboard focus. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:185

keyboardNavigationBounds (optional)
readonly keyboardNavigationBounds?: Readonly<{ x: number; y: number; width: number; height: number; }> | undefined

Logical bounds used for keyboard navigation. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:187

Geometry and paint for a decorative GraphLabel. GraphLayout

interface GraphLabelProps

Related API: GraphLabelProps.

View source — packages/core/src/features/viz/lib/graph/types.ts:206

label
readonly label: LabelGeometry

Related API: LabelGeometry.

Decorative label geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:208

style (optional)
readonly style?: Style<LabelStyle> | undefined

Related API: Style, LabelStyle.

Frame style and responsive size allocation. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:210

A layout snapshot plus mark overrides, without running an algorithm. GraphLayout

interface GraphViewProps<N, E> extends GraphPresentation<N, E>

Related API: GraphViewProps, GraphPresentation.

View source — packages/core/src/features/viz/lib/graph/types.ts:213

layout
readonly layout: SignalValue<GraphLayout<N, E>>

Related API: SignalValue, GraphLayout.

Immutable layout snapshot for ordinary mark composition. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:215

style (optional)
readonly style?: Style<GStyle> | undefined

Related API: Style, GStyle.

Frame style and responsive size allocation. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:217

nodeStyle (optional)
readonly nodeStyle?: MarkStyle<GraphNodeGeometry<N>, NodeStyle> | undefined

Related API: MarkStyle, GraphNodeGeometry, NodeStyle.

Style or geometry-aware style for node marks. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:156

edgeStyle (optional)
readonly edgeStyle?: MarkStyle<GraphEdgeGeometry<E>, EdgeStyle> | undefined

Related API: MarkStyle, GraphEdgeGeometry, EdgeStyle.

Style or geometry-aware style for edge marks. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:158

labelStyle (optional)
readonly labelStyle?: MarkStyle<GraphNodeGeometry<N>, LabelStyle> | undefined

Related API: MarkStyle, GraphNodeGeometry, LabelStyle.

Style for decorative labels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:160

renderNode (optional)
readonly renderNode?: ((node: GraphNodeGeometry<N>) => PibblNode) | undefined

Related API: GraphNodeGeometry, PibblNode.

Replaces the default node mark with this composition. GraphLayout

  • node — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:164

renderEdge (optional)
readonly renderEdge?: ((edge: GraphEdgeGeometry<E>) => PibblNode) | undefined

Related API: GraphEdgeGeometry, PibblNode.

Replaces the default edge mark with this composition. GraphLayout

  • edge — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:168

onNodeClick (optional)
readonly onNodeClick?: ((node: GraphNodeGeometry<N>, event: ClickEvent) => void) | undefined

Related API: GraphNodeGeometry.

Receives clicks on a node mark. GraphLayout

  • node — The source record or geometry supplied by Pibbl.

  • event — The source record or geometry supplied by Pibbl.

View source — packages/core/src/features/viz/lib/graph/types.ts:172

onEdgeClick (optional)
readonly onEdgeClick?: ((edge: GraphEdgeGeometry<E>, event: ClickEvent) => void) | undefined

Related API: GraphEdgeGeometry.

Receives clicks on an edge mark. GraphLayout

  • edge — The source record or geometry supplied by Pibbl.

  • event — The source record or geometry supplied by Pibbl.

View source — packages/core/src/features/viz/lib/graph/types.ts:176

Frame options for rank-based dependency diagrams. GraphLayout

interface DependencyStyle extends GStyle

Related API: DependencyStyle, GStyle.

View source — packages/core/src/features/viz/lib/graph/types.ts:221

insetEnd (optional)
insetEnd?: number | `${number}%` | undefined

Experimental direct absolute Flex inline-end inset, mapped through the receiving Flex direction. Overrides the corresponding physical edge. See Length.

View source — packages/core/src/lib/style/positioning.ts:206

rankGap (optional)
readonly rankGap?: number | undefined

Distance between ranks in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:223

nodeGap (optional)
readonly nodeGap?: number | undefined

Minimum gap between node marks in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:225

position (optional)
position?: "absolute" | "relative" | "static" | undefined

Experimental direct-Flex placement mode. In a finite Flex, static keeps the allocated slot and ignores insets; relative offsets final geometry once without moving siblings. Primitive static/relative leaves support every main/writing direction and wrapping mode. Wrapped parents admit fixed numeric direct Flex owners that remain internally nowrap; non-row chains use the same fixed owner restriction, with zero grow/shrink and omitted or automatic basis; physical offsets retain their sign through main reversal. Absolute stays out of sibling allocation, using the padding box for explicit insets and content alignment for omitted axes. Fixed numeric, percentage and admitted automatic absolute profiles support all main directions and RTL, with numeric or percentage bounds applied before placement. In every wrapping mode, omitted axes use whole-content main/cross alignment; wrap-reverse reverses omitted cross alignment and combines with column RTL exactly once. Paired natural providers keep their exact/unbounded query in every admitted direction. Direct wrapped Text with a generic pixel font and visible fit/overflow may measure automatic height at a resolved numeric or percentage width through the same owned query. Unwrapped Text may measure automatic width at a resolved numeric or percentage height, using its existing Canvas ink-bounds width before bounds and physical anchoring. Generic unwrapped Text also supports natural ink height and both automatic dimensions through one unbounded query before independent numeric clamps; mixed opposing-pair/natural feedback and both-auto aspect remain excluded. On the documented finite direct-child path, automatic absolute axes resolve from opposing numeric or percentage physical insets. With a positive finite aspectRatio, exactly one automatic axis can instead derive from its resolved declared finite numeric or percentage opposite axis. Opposing insets win. Finite numeric or percentage min/max bounds clamp used axes independently after derivation; a clamp does not recouple aspectRatio, and a numeric minimum above its maximum rejects. A direct custom primitive with paired pure measurement providers may instead measure natural automatic width at a declared numeric or percentage height, or natural height at a declared numeric or percentage width. The automatic axis is unbounded; the exact axis uses its declared resolved padding-box value before bounds clamp the used dimensions. In direct declarative Flex chains, static Flex passes the containing box outward while relative Flex owns a local box. Omission retains the legacy local Flex boundary and left/top behavior.

View source — packages/core/src/lib/style/positioning.ts:194

left (optional)
left?: number | `${number}%` | undefined

Left edge coordinate or inset. Explicit absolute Flex insets accept finite numbers or percentages of the containing padding-box axis; relative percentages use the parent content-box axis. See Length.

View source — packages/core/src/lib/style/positioning.ts:196

right (optional)
right?: number | `${number}%` | undefined

Right edge inset. Absolute Flex accepts finite numbers or percentages of the containing padding-box width; relative percentages use the parent content-box width. See Length.

View source — packages/core/src/lib/style/positioning.ts:198

top (optional)
top?: number | `${number}%` | undefined

Top edge coordinate or inset. Explicit absolute Flex insets accept finite numbers or percentages of the containing padding-box axis; relative percentages use the parent content-box axis. See Length.

View source — packages/core/src/lib/style/positioning.ts:200

bottom (optional)
bottom?: number | `${number}%` | undefined

Bottom edge inset. Absolute Flex accepts finite numbers or percentages of the containing padding-box height; relative percentages use the parent content-box height. See Length.

View source — packages/core/src/lib/style/positioning.ts:202

insetStart (optional)
insetStart?: number | `${number}%` | undefined

Experimental direct absolute Flex inline-start inset, mapped through the receiving Flex direction. Overrides the corresponding physical edge, including zero. Percentages use the selected containing padding-box width. See Length.

View source — packages/core/src/lib/style/positioning.ts:204

aspectRatio (optional)
aspectRatio?: number | undefined

Positive finite width/height ratio. A declared definite axis derives the automatic axis before its bounds; boxSizing selects content or border geometry. See resolveBox.

View source — packages/core/src/lib/style/types.ts:84

boxSizing (optional)
boxSizing?: "border-box" | "content-box" | undefined

Selects whether dimensions, bounds and Flex basis include padding and layout borders. Defaults to content-box. Border-box content floors at zero and the outer box floors at total axis padding plus layout borders. Painted stroke widths remain independent. See ResolvedBoxStyle.

View source — packages/core/src/lib/style/types.ts:89

width (optional)
width?: SizingLength | undefined

Related API: SizingLength.

Horizontal extent in the units of the containing geometry or surface. See SizingLength.

View source — packages/core/src/lib/style/types.ts:91

height (optional)
height?: SizingLength | undefined

Related API: SizingLength.

Vertical extent in the units of the containing geometry or surface. See SizingLength.

View source — packages/core/src/lib/style/types.ts:93

minWidth (optional)
minWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Minimum permitted horizontal width. Finite horizontal Flex intrinsic owners also accept intrinsic sizing requests; automatic remains invalid. See SizingLength.

View source — packages/core/src/lib/style/types.ts:95

maxWidth (optional)
maxWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Maximum permitted horizontal width. Finite horizontal Flex intrinsic owners also accept intrinsic sizing requests; automatic remains invalid. See SizingLength.

View source — packages/core/src/lib/style/types.ts:97

minHeight (optional)
minHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Minimum permitted height. See Length.

View source — packages/core/src/lib/style/types.ts:99

maxHeight (optional)
maxHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Maximum permitted height. See Length.

View source — packages/core/src/lib/style/types.ts:101

padding (optional)
padding?: EdgeValues<number | `${number}%`> | undefined

Related API: EdgeValues.

Padding inside layout borders. Experimental allocated Flex percentages use owner content width for every edge. See EdgeValues, Percentage.

View source — packages/core/src/lib/style/types.ts:103

paddingStart (optional)
paddingStart?: number | `${number}%` | undefined

Nonnegative inline-start padding overriding its physical padding edge. Experimental percentages require an allocated Flex owner and use its content width. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:105

paddingEnd (optional)
paddingEnd?: number | `${number}%` | undefined

Nonnegative inline-end padding overriding its physical padding edge. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:107

borderWidth (optional)
borderWidth?: EdgeValues<number> | undefined

Related API: EdgeValues.

Layout-only physical border insets, in logical pixels. Defaults to zero; does not paint a stroke. See EdgeValues.

View source — packages/core/src/lib/style/types.ts:109

borderStartWidth (optional)
borderStartWidth?: number | undefined

Experimental nonnegative numeric inline-start layout border overriding its physical borderWidth edge. Does not paint a stroke. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:111

borderEndWidth (optional)
borderEndWidth?: number | undefined

Experimental nonnegative numeric inline-end layout border overriding its physical borderWidth edge. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:113

overflow (optional)
overflow?: "clip" | "visible" | undefined

Selects "visible", "clip" for overflow. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:115

margin (optional)
margin?: FlexMargin | undefined

Related API: FlexMargin.

Uniform physical margin in logical Canvas units, a percentage of allocated Flex content width, or auto on supported finite Flex axes. Finite negatives are allowed; specific edges override this value. Consumed by experimental Flex only. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:146

marginTop (optional)
marginTop?: FlexMargin | undefined

Related API: FlexMargin.

Physical top margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:148

marginRight (optional)
marginRight?: FlexMargin | undefined

Related API: FlexMargin.

Physical right margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:150

marginBottom (optional)
marginBottom?: FlexMargin | undefined

Related API: FlexMargin.

Physical bottom margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:152

marginLeft (optional)
marginLeft?: FlexMargin | undefined

Related API: FlexMargin.

Physical left margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:154

marginStart (optional)
marginStart?: FlexMargin | undefined

Related API: FlexMargin.

Inline-start margin overriding the corresponding physical edge and margin shorthand in experimental Flex. Signed percentages use allocated content width. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:156

marginEnd (optional)
marginEnd?: FlexMargin | undefined

Related API: FlexMargin.

Inline-end margin overriding the corresponding physical edge and margin shorthand in experimental Flex. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:158

alignSelf (optional)
alignSelf?: "auto" | "center" | "end" | "flex-end" | "flex-start" | "start" | "stretch" | undefined

This child’s cross-axis or block-axis alignment override. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:160

justifySelf (optional)
justifySelf?: "auto" | "center" | "end" | "start" | "stretch" | undefined

This child’s inline-axis alignment override. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:162

flexBasis (optional)
flexBasis?: SizingLength | undefined

Related API: SizingLength.

Initial main-axis size before flex growth or shrinkage. See SizingLength.

View source — packages/core/src/lib/style/types.ts:164

flexGrow (optional)
flexGrow?: number | undefined

Relative share of positive free space assigned to this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:166

flexShrink (optional)
flexShrink?: number | undefined

Relative factor used when reducing main-axis size. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:168

gridColumnStart (optional)
gridColumnStart?: number | undefined

Explicit starting grid column. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:170

gridColumnSpan (optional)
gridColumnSpan?: number | undefined

Number of columns occupied by this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:172

gridRowStart (optional)
gridRowStart?: number | undefined

Explicit starting grid row. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:174

gridRowSpan (optional)
gridRowSpan?: number | undefined

Number of rows occupied by this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:176

scaleX (optional)
scaleX?: number | undefined

Horizontal scale factor. See GStyle.

View source — packages/core/src/lib/components/g.ts:46

scaleY (optional)
scaleY?: number | undefined

Vertical scale factor. See GStyle.

View source — packages/core/src/lib/components/g.ts:48

rotationDegrees (optional)
rotationDegrees?: number | undefined

Clockwise rotation in degrees.

View source — packages/core/src/lib/components/g.ts:50

rotationOrigin (optional)
rotationOrigin?: [number, number] | undefined

Point around which the rotation is applied. See GStyle.

View source — packages/core/src/lib/components/g.ts:52

translateX (optional)
translateX?: number | undefined

Horizontal translation in the current logical coordinate system. See GStyle.

View source — packages/core/src/lib/components/g.ts:54

translateY (optional)
translateY?: number | undefined

Vertical translation in the current logical coordinate system. See GStyle.

View source — packages/core/src/lib/components/g.ts:56

skewX (optional)
skewX?: number | undefined

Horizontal skew angle in degrees.

View source — packages/core/src/lib/components/g.ts:58

skewY (optional)
skewY?: number | undefined

Vertical skew angle in degrees.

View source — packages/core/src/lib/components/g.ts:60

layoutParticipation (optional)
layoutParticipation?: "contents" | "hidden" | "normal" | undefined

Numeric layout participation. Hidden subtrees retain mounted ownership without geometry or paint; contents retains logical ancestry without owning a box. See SystemStyle.

View source — packages/core/src/lib/types.ts:69

transition (optional)
transition?: PibblTransitionBinding | undefined

Related API: PibblTransitionBinding.

Visibility-transition binding applied to this primitive and its captured descendants. See SystemStyle.

View source — packages/core/src/lib/types.ts:71

custom (optional)
custom?: unknown

Application-defined style payload passed through the runtime. See SystemStyle.

View source — packages/core/src/lib/types.ts:73

filter (optional)
filter?: PibblFilter | readonly PibblFilter[] | undefined

Related API: PibblFilter.

Ordered pixel-only filters applied to the receiving primitive and its descendants. See PibblFilter.

View source — packages/core/src/lib/types.ts:78

Pure layout inputs for a directed dependency graph. GraphLayout

interface DependencyOptions<N, E> extends GraphAccessors<N, E>

Related API: DependencyOptions, GraphAccessors.

View source — packages/core/src/features/viz/lib/graph/types.ts:228

bounds
readonly bounds: Readonly<{ x: number; y: number; width: number; height: number; }>

Finite local logical bounds for this geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:230

nodeSize (optional)
readonly nodeSize?: Size | ((node: N) => Size) | undefined

Related API: Size.

Node size in local logical pixels; defaults to 160 by 56. GraphLayout

  • node — Source record to measure.

Finite local logical size.

View source — packages/core/src/features/viz/lib/graph/types.ts:234

rankGap (optional)
readonly rankGap?: number | undefined

Distance between ranks in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:240

nodeGap (optional)
readonly nodeGap?: number | undefined

Minimum gap between node marks in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:242

nodeKey
readonly nodeKey: Accessor<N, VizKey>

Related API: Accessor, VizKey.

Reads each node’s stable key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:86

edgeKey
readonly edgeKey: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads each edge’s stable key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:88

source
readonly source: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads an edge source key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:90

target
readonly target: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads an edge target key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:92

label (optional)
readonly label?: Accessor<N, string> | undefined

Related API: Accessor.

Optional reader for a node’s primary text. LabelGeometry

View source — packages/core/src/features/viz/lib/graph/types.ts:94

detail (optional)
readonly detail?: Accessor<N, string> | undefined

Related API: Accessor.

Optional reader for a node’s secondary text. LabelGeometry

View source — packages/core/src/features/viz/lib/graph/types.ts:96

Reactive dependency data and default mark presentation. GraphLayout

interface DependencyGraphProps<N, E> extends GraphAccessors<N, E>, GraphPresentation<N, E>

Related API: DependencyGraphProps, GraphAccessors, GraphPresentation.

View source — packages/core/src/features/viz/lib/graph/types.ts:245

graph
readonly graph: SignalValue<GraphData<N, E>>

Related API: SignalValue, GraphData.

Graph records; publish a new snapshot to update. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:248

nodeSize (optional)
readonly nodeSize?: Size | ((node: N) => Size) | undefined

Related API: Size.

Node size in local logical pixels; defaults to 160 by 56. GraphLayout

  • node — Source record to measure.

Finite local logical size.

View source — packages/core/src/features/viz/lib/graph/types.ts:252

style (optional)
readonly style?: Style<DependencyStyle> | undefined

Related API: Style, DependencyStyle.

Frame style and responsive size allocation. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:258

nodeKey
readonly nodeKey: Accessor<N, VizKey>

Related API: Accessor, VizKey.

Reads each node’s stable key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:86

edgeKey
readonly edgeKey: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads each edge’s stable key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:88

source
readonly source: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads an edge source key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:90

target
readonly target: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads an edge target key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:92

label (optional)
readonly label?: Accessor<N, string> | undefined

Related API: Accessor.

Optional reader for a node’s primary text. LabelGeometry

View source — packages/core/src/features/viz/lib/graph/types.ts:94

detail (optional)
readonly detail?: Accessor<N, string> | undefined

Related API: Accessor.

Optional reader for a node’s secondary text. LabelGeometry

View source — packages/core/src/features/viz/lib/graph/types.ts:96

nodeStyle (optional)
readonly nodeStyle?: MarkStyle<GraphNodeGeometry<N>, NodeStyle> | undefined

Related API: MarkStyle, GraphNodeGeometry, NodeStyle.

Style or geometry-aware style for node marks. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:156

edgeStyle (optional)
readonly edgeStyle?: MarkStyle<GraphEdgeGeometry<E>, EdgeStyle> | undefined

Related API: MarkStyle, GraphEdgeGeometry, EdgeStyle.

Style or geometry-aware style for edge marks. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:158

labelStyle (optional)
readonly labelStyle?: MarkStyle<GraphNodeGeometry<N>, LabelStyle> | undefined

Related API: MarkStyle, GraphNodeGeometry, LabelStyle.

Style for decorative labels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:160

renderNode (optional)
readonly renderNode?: ((node: GraphNodeGeometry<N>) => PibblNode) | undefined

Related API: GraphNodeGeometry, PibblNode.

Replaces the default node mark with this composition. GraphLayout

  • node — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:164

renderEdge (optional)
readonly renderEdge?: ((edge: GraphEdgeGeometry<E>) => PibblNode) | undefined

Related API: GraphEdgeGeometry, PibblNode.

Replaces the default edge mark with this composition. GraphLayout

  • edge — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:168

onNodeClick (optional)
readonly onNodeClick?: ((node: GraphNodeGeometry<N>, event: ClickEvent) => void) | undefined

Related API: GraphNodeGeometry.

Receives clicks on a node mark. GraphLayout

  • node — The source record or geometry supplied by Pibbl.

  • event — The source record or geometry supplied by Pibbl.

View source — packages/core/src/features/viz/lib/graph/types.ts:172

onEdgeClick (optional)
readonly onEdgeClick?: ((edge: GraphEdgeGeometry<E>, event: ClickEvent) => void) | undefined

Related API: GraphEdgeGeometry.

Receives clicks on an edge mark. GraphLayout

  • edge — The source record or geometry supplied by Pibbl.

  • event — The source record or geometry supplied by Pibbl.

View source — packages/core/src/features/viz/lib/graph/types.ts:176

Bounded deterministic numeric settings for force solving. GraphLayout

interface ForceSettings

Related API: ForceSettings.

View source — packages/core/src/features/viz/lib/graph/types.ts:262

seed (optional)
readonly seed?: number | undefined

Deterministic seed for solver initialization. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:264

linkDistance (optional)
readonly linkDistance?: number | undefined

Preferred link distance in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:266

nodeGap (optional)
readonly nodeGap?: number | undefined

Minimum gap between node marks in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:268

maxIterations (optional)
readonly maxIterations?: number | undefined

Maximum solver iterations before exhaustion. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:270

Pure force-layout inputs, accessors, bounds, and solver settings. GraphLayout

interface ForceOptions<N, E> extends GraphAccessors<N, E>

Related API: ForceOptions, GraphAccessors.

View source — packages/core/src/features/viz/lib/graph/types.ts:273

bounds
readonly bounds: Readonly<{ x: number; y: number; width: number; height: number; }>

Finite local logical bounds for this geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:275

nodeSize (optional)
readonly nodeSize?: Size | ((node: N) => Size) | undefined

Related API: Size.

Node size in local logical pixels; defaults to 160 by 56. GraphLayout

  • node — Source record to measure.

Finite local logical size.

View source — packages/core/src/features/viz/lib/graph/types.ts:279

simulation (optional)
readonly simulation?: ForceSettings | undefined

Related API: ForceSettings.

Optional deterministic solver settings. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:285

directed (optional)
readonly directed?: boolean | undefined

Whether direction affects the algorithm. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:287

nodeKey
readonly nodeKey: Accessor<N, VizKey>

Related API: Accessor, VizKey.

Reads each node’s stable key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:86

edgeKey
readonly edgeKey: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads each edge’s stable key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:88

source
readonly source: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads an edge source key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:90

target
readonly target: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads an edge target key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:92

label (optional)
readonly label?: Accessor<N, string> | undefined

Related API: Accessor.

Optional reader for a node’s primary text. LabelGeometry

View source — packages/core/src/features/viz/lib/graph/types.ts:94

detail (optional)
readonly detail?: Accessor<N, string> | undefined

Related API: Accessor.

Optional reader for a node’s secondary text. LabelGeometry

View source — packages/core/src/features/viz/lib/graph/types.ts:96

A force-solver snapshot with bounded progress state. GraphLayout

interface ForceLayout<N, E> extends GraphLayout<N, E>

Related API: ForceLayout, GraphLayout.

View source — packages/core/src/features/viz/lib/graph/types.ts:290

iterations
readonly iterations: number

Iterations completed by the solver. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:292

settled
readonly settled: boolean

Whether the solver reached its stopping condition. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:294

bounds
readonly bounds: Readonly<{ x: number; y: number; width: number; height: number; }>

Finite local logical bounds for this geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:143

nodes
readonly nodes: readonly GraphNodeGeometry<N>[]

Related API: GraphNodeGeometry.

Source nodes in application order. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:145

edges
readonly edges: readonly GraphEdgeGeometry<E>[]

Related API: GraphEdgeGeometry.

Source edges in application order. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:147

Hook-owned live solver state and commands; released on unmount. GraphLayout

interface ForceNetworkController<N, E>

Related API: ForceNetworkController.

View source — packages/core/src/features/viz/lib/graph/types.ts:297

layout
readonly layout: Signal<ForceLayout<N, E>>

Related API: Signal, ForceLayout.

Immutable layout snapshot for ordinary mark composition. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:299

status
readonly status: Signal<"exhausted" | "failed" | "paused" | "running" | "settled">

Related API: Signal.

Current solver lifecycle status. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:301

error
readonly error: Signal<Error | null>

Related API: Signal.

Most recent solver failure, or null. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:305

pause
pause: () => void

Queues a pause at the next scheduler boundary. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:307

resume
resume: () => void

Queues solver advancement at the next scheduler boundary. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:309

restart
restart: () => void

Restarts the current solver without discarding node positions. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:311

reset
reset: () => void

Restores seeded positions and clears pins. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:313

pin
pin: (key: VizKey, position: Point) => void

Related API: VizKey, Point.

Pins one node at a finite local position. GraphLayout

  • key — The source record or geometry supplied by Pibbl.

  • position — The source record or geometry supplied by Pibbl.

View source — packages/core/src/features/viz/lib/graph/types.ts:317

release
release: (key: VizKey) => void

Related API: VizKey.

Releases a previously pinned node. GraphLayout

  • key — The source record or geometry supplied by Pibbl.

View source — packages/core/src/features/viz/lib/graph/types.ts:320

Frame style for a live force network. GraphLayout

type ForceStyle = GStyle

Related API: ForceStyle, GStyle.

View source — packages/core/src/features/viz/lib/graph/types.ts:323

scaleX (optional)
scaleX?: number | undefined

Horizontal scale factor. See GStyle.

View source — packages/core/src/lib/components/g.ts:46

scaleY (optional)
scaleY?: number | undefined

Vertical scale factor. See GStyle.

View source — packages/core/src/lib/components/g.ts:48

rotationDegrees (optional)
rotationDegrees?: number | undefined

Clockwise rotation in degrees.

View source — packages/core/src/lib/components/g.ts:50

rotationOrigin (optional)
rotationOrigin?: [number, number] | undefined

Point around which the rotation is applied. See GStyle.

View source — packages/core/src/lib/components/g.ts:52

translateX (optional)
translateX?: number | undefined

Horizontal translation in the current logical coordinate system. See GStyle.

View source — packages/core/src/lib/components/g.ts:54

translateY (optional)
translateY?: number | undefined

Vertical translation in the current logical coordinate system. See GStyle.

View source — packages/core/src/lib/components/g.ts:56

skewX (optional)
skewX?: number | undefined

Horizontal skew angle in degrees.

View source — packages/core/src/lib/components/g.ts:58

skewY (optional)
skewY?: number | undefined

Vertical skew angle in degrees.

View source — packages/core/src/lib/components/g.ts:60

position (optional)
position?: "absolute" | "relative" | "static" | undefined

Experimental direct-Flex placement mode. In a finite Flex, static keeps the allocated slot and ignores insets; relative offsets final geometry once without moving siblings. Primitive static/relative leaves support every main/writing direction and wrapping mode. Wrapped parents admit fixed numeric direct Flex owners that remain internally nowrap; non-row chains use the same fixed owner restriction, with zero grow/shrink and omitted or automatic basis; physical offsets retain their sign through main reversal. Absolute stays out of sibling allocation, using the padding box for explicit insets and content alignment for omitted axes. Fixed numeric, percentage and admitted automatic absolute profiles support all main directions and RTL, with numeric or percentage bounds applied before placement. In every wrapping mode, omitted axes use whole-content main/cross alignment; wrap-reverse reverses omitted cross alignment and combines with column RTL exactly once. Paired natural providers keep their exact/unbounded query in every admitted direction. Direct wrapped Text with a generic pixel font and visible fit/overflow may measure automatic height at a resolved numeric or percentage width through the same owned query. Unwrapped Text may measure automatic width at a resolved numeric or percentage height, using its existing Canvas ink-bounds width before bounds and physical anchoring. Generic unwrapped Text also supports natural ink height and both automatic dimensions through one unbounded query before independent numeric clamps; mixed opposing-pair/natural feedback and both-auto aspect remain excluded. On the documented finite direct-child path, automatic absolute axes resolve from opposing numeric or percentage physical insets. With a positive finite aspectRatio, exactly one automatic axis can instead derive from its resolved declared finite numeric or percentage opposite axis. Opposing insets win. Finite numeric or percentage min/max bounds clamp used axes independently after derivation; a clamp does not recouple aspectRatio, and a numeric minimum above its maximum rejects. A direct custom primitive with paired pure measurement providers may instead measure natural automatic width at a declared numeric or percentage height, or natural height at a declared numeric or percentage width. The automatic axis is unbounded; the exact axis uses its declared resolved padding-box value before bounds clamp the used dimensions. In direct declarative Flex chains, static Flex passes the containing box outward while relative Flex owns a local box. Omission retains the legacy local Flex boundary and left/top behavior.

View source — packages/core/src/lib/style/positioning.ts:194

left (optional)
left?: number | `${number}%` | undefined

Left edge coordinate or inset. Explicit absolute Flex insets accept finite numbers or percentages of the containing padding-box axis; relative percentages use the parent content-box axis. See Length.

View source — packages/core/src/lib/style/positioning.ts:196

right (optional)
right?: number | `${number}%` | undefined

Right edge inset. Absolute Flex accepts finite numbers or percentages of the containing padding-box width; relative percentages use the parent content-box width. See Length.

View source — packages/core/src/lib/style/positioning.ts:198

top (optional)
top?: number | `${number}%` | undefined

Top edge coordinate or inset. Explicit absolute Flex insets accept finite numbers or percentages of the containing padding-box axis; relative percentages use the parent content-box axis. See Length.

View source — packages/core/src/lib/style/positioning.ts:200

bottom (optional)
bottom?: number | `${number}%` | undefined

Bottom edge inset. Absolute Flex accepts finite numbers or percentages of the containing padding-box height; relative percentages use the parent content-box height. See Length.

View source — packages/core/src/lib/style/positioning.ts:202

insetStart (optional)
insetStart?: number | `${number}%` | undefined

Experimental direct absolute Flex inline-start inset, mapped through the receiving Flex direction. Overrides the corresponding physical edge, including zero. Percentages use the selected containing padding-box width. See Length.

View source — packages/core/src/lib/style/positioning.ts:204

insetEnd (optional)
insetEnd?: number | `${number}%` | undefined

Experimental direct absolute Flex inline-end inset, mapped through the receiving Flex direction. Overrides the corresponding physical edge. See Length.

View source — packages/core/src/lib/style/positioning.ts:206

aspectRatio (optional)
aspectRatio?: number | undefined

Positive finite width/height ratio. A declared definite axis derives the automatic axis before its bounds; boxSizing selects content or border geometry. See resolveBox.

View source — packages/core/src/lib/style/types.ts:84

boxSizing (optional)
boxSizing?: "border-box" | "content-box" | undefined

Selects whether dimensions, bounds and Flex basis include padding and layout borders. Defaults to content-box. Border-box content floors at zero and the outer box floors at total axis padding plus layout borders. Painted stroke widths remain independent. See ResolvedBoxStyle.

View source — packages/core/src/lib/style/types.ts:89

width (optional)
width?: SizingLength | undefined

Related API: SizingLength.

Horizontal extent in the units of the containing geometry or surface. See SizingLength.

View source — packages/core/src/lib/style/types.ts:91

height (optional)
height?: SizingLength | undefined

Related API: SizingLength.

Vertical extent in the units of the containing geometry or surface. See SizingLength.

View source — packages/core/src/lib/style/types.ts:93

minWidth (optional)
minWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Minimum permitted horizontal width. Finite horizontal Flex intrinsic owners also accept intrinsic sizing requests; automatic remains invalid. See SizingLength.

View source — packages/core/src/lib/style/types.ts:95

maxWidth (optional)
maxWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Maximum permitted horizontal width. Finite horizontal Flex intrinsic owners also accept intrinsic sizing requests; automatic remains invalid. See SizingLength.

View source — packages/core/src/lib/style/types.ts:97

minHeight (optional)
minHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Minimum permitted height. See Length.

View source — packages/core/src/lib/style/types.ts:99

maxHeight (optional)
maxHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Maximum permitted height. See Length.

View source — packages/core/src/lib/style/types.ts:101

padding (optional)
padding?: EdgeValues<number | `${number}%`> | undefined

Related API: EdgeValues.

Padding inside layout borders. Experimental allocated Flex percentages use owner content width for every edge. See EdgeValues, Percentage.

View source — packages/core/src/lib/style/types.ts:103

paddingStart (optional)
paddingStart?: number | `${number}%` | undefined

Nonnegative inline-start padding overriding its physical padding edge. Experimental percentages require an allocated Flex owner and use its content width. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:105

paddingEnd (optional)
paddingEnd?: number | `${number}%` | undefined

Nonnegative inline-end padding overriding its physical padding edge. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:107

borderWidth (optional)
borderWidth?: EdgeValues<number> | undefined

Related API: EdgeValues.

Layout-only physical border insets, in logical pixels. Defaults to zero; does not paint a stroke. See EdgeValues.

View source — packages/core/src/lib/style/types.ts:109

borderStartWidth (optional)
borderStartWidth?: number | undefined

Experimental nonnegative numeric inline-start layout border overriding its physical borderWidth edge. Does not paint a stroke. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:111

borderEndWidth (optional)
borderEndWidth?: number | undefined

Experimental nonnegative numeric inline-end layout border overriding its physical borderWidth edge. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:113

overflow (optional)
overflow?: "clip" | "visible" | undefined

Selects "visible", "clip" for overflow. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:115

margin (optional)
margin?: FlexMargin | undefined

Related API: FlexMargin.

Uniform physical margin in logical Canvas units, a percentage of allocated Flex content width, or auto on supported finite Flex axes. Finite negatives are allowed; specific edges override this value. Consumed by experimental Flex only. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:146

marginTop (optional)
marginTop?: FlexMargin | undefined

Related API: FlexMargin.

Physical top margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:148

marginRight (optional)
marginRight?: FlexMargin | undefined

Related API: FlexMargin.

Physical right margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:150

marginBottom (optional)
marginBottom?: FlexMargin | undefined

Related API: FlexMargin.

Physical bottom margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:152

marginLeft (optional)
marginLeft?: FlexMargin | undefined

Related API: FlexMargin.

Physical left margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:154

marginStart (optional)
marginStart?: FlexMargin | undefined

Related API: FlexMargin.

Inline-start margin overriding the corresponding physical edge and margin shorthand in experimental Flex. Signed percentages use allocated content width. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:156

marginEnd (optional)
marginEnd?: FlexMargin | undefined

Related API: FlexMargin.

Inline-end margin overriding the corresponding physical edge and margin shorthand in experimental Flex. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:158

alignSelf (optional)
alignSelf?: "auto" | "center" | "end" | "flex-end" | "flex-start" | "start" | "stretch" | undefined

This child’s cross-axis or block-axis alignment override. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:160

justifySelf (optional)
justifySelf?: "auto" | "center" | "end" | "start" | "stretch" | undefined

This child’s inline-axis alignment override. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:162

flexBasis (optional)
flexBasis?: SizingLength | undefined

Related API: SizingLength.

Initial main-axis size before flex growth or shrinkage. See SizingLength.

View source — packages/core/src/lib/style/types.ts:164

flexGrow (optional)
flexGrow?: number | undefined

Relative share of positive free space assigned to this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:166

flexShrink (optional)
flexShrink?: number | undefined

Relative factor used when reducing main-axis size. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:168

gridColumnStart (optional)
gridColumnStart?: number | undefined

Explicit starting grid column. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:170

gridColumnSpan (optional)
gridColumnSpan?: number | undefined

Number of columns occupied by this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:172

gridRowStart (optional)
gridRowStart?: number | undefined

Explicit starting grid row. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:174

gridRowSpan (optional)
gridRowSpan?: number | undefined

Number of rows occupied by this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:176

layoutParticipation (optional)
layoutParticipation?: "contents" | "hidden" | "normal" | undefined

Numeric layout participation. Hidden subtrees retain mounted ownership without geometry or paint; contents retains logical ancestry without owning a box. See SystemStyle.

View source — packages/core/src/lib/types.ts:69

transition (optional)
transition?: PibblTransitionBinding | undefined

Related API: PibblTransitionBinding.

Visibility-transition binding applied to this primitive and its captured descendants. See SystemStyle.

View source — packages/core/src/lib/types.ts:71

custom (optional)
custom?: unknown

Application-defined style payload passed through the runtime. See SystemStyle.

View source — packages/core/src/lib/types.ts:73

filter (optional)
filter?: PibblFilter | readonly PibblFilter[] | undefined

Related API: PibblFilter.

Ordered pixel-only filters applied to the receiving primitive and its descendants. See PibblFilter.

View source — packages/core/src/lib/types.ts:78

Reactive force-network data, solver settings, and presentation. GraphLayout

interface ForceNetworkProps<N, E> extends GraphAccessors<N, E>, GraphPresentation<N, E>

Related API: ForceNetworkProps, GraphAccessors, GraphPresentation.

View source — packages/core/src/features/viz/lib/graph/types.ts:325

createSimulation (optional)
readonly createSimulation?: ForceSimulationFactory<N, E> | undefined

Related API: ForceSimulationFactory.

Optional compatible numeric solver factory. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:328

graph
readonly graph: SignalValue<GraphData<N, E>>

Related API: SignalValue, GraphData.

Graph records; publish a new snapshot to update. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:330

nodeSize (optional)
readonly nodeSize?: Size | ((node: N) => Size) | undefined

Related API: Size.

Node size in local logical pixels; defaults to 160 by 56. GraphLayout

  • node — Source record to measure.

Finite local logical size.

View source — packages/core/src/features/viz/lib/graph/types.ts:334

simulation (optional)
readonly simulation?: ForceSettings | undefined

Related API: ForceSettings.

Optional deterministic solver settings. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:340

directed (optional)
readonly directed?: boolean | undefined

Whether direction affects the algorithm. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:342

paused (optional)
readonly paused?: SignalValue<boolean> | undefined

Related API: SignalValue.

Signal controlling whether simulation advances. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:344

style (optional)
readonly style?: Style<GStyle> | undefined

Related API: Style, GStyle.

Frame style and responsive size allocation. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:346

nodeKey
readonly nodeKey: Accessor<N, VizKey>

Related API: Accessor, VizKey.

Reads each node’s stable key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:86

edgeKey
readonly edgeKey: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads each edge’s stable key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:88

source
readonly source: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads an edge source key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:90

target
readonly target: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads an edge target key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:92

label (optional)
readonly label?: Accessor<N, string> | undefined

Related API: Accessor.

Optional reader for a node’s primary text. LabelGeometry

View source — packages/core/src/features/viz/lib/graph/types.ts:94

detail (optional)
readonly detail?: Accessor<N, string> | undefined

Related API: Accessor.

Optional reader for a node’s secondary text. LabelGeometry

View source — packages/core/src/features/viz/lib/graph/types.ts:96

nodeStyle (optional)
readonly nodeStyle?: MarkStyle<GraphNodeGeometry<N>, NodeStyle> | undefined

Related API: MarkStyle, GraphNodeGeometry, NodeStyle.

Style or geometry-aware style for node marks. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:156

edgeStyle (optional)
readonly edgeStyle?: MarkStyle<GraphEdgeGeometry<E>, EdgeStyle> | undefined

Related API: MarkStyle, GraphEdgeGeometry, EdgeStyle.

Style or geometry-aware style for edge marks. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:158

labelStyle (optional)
readonly labelStyle?: MarkStyle<GraphNodeGeometry<N>, LabelStyle> | undefined

Related API: MarkStyle, GraphNodeGeometry, LabelStyle.

Style for decorative labels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:160

renderNode (optional)
readonly renderNode?: ((node: GraphNodeGeometry<N>) => PibblNode) | undefined

Related API: GraphNodeGeometry, PibblNode.

Replaces the default node mark with this composition. GraphLayout

  • node — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:164

renderEdge (optional)
readonly renderEdge?: ((edge: GraphEdgeGeometry<E>) => PibblNode) | undefined

Related API: GraphEdgeGeometry, PibblNode.

Replaces the default edge mark with this composition. GraphLayout

  • edge — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:168

onNodeClick (optional)
readonly onNodeClick?: ((node: GraphNodeGeometry<N>, event: ClickEvent) => void) | undefined

Related API: GraphNodeGeometry.

Receives clicks on a node mark. GraphLayout

  • node — The source record or geometry supplied by Pibbl.

  • event — The source record or geometry supplied by Pibbl.

View source — packages/core/src/features/viz/lib/graph/types.ts:172

onEdgeClick (optional)
readonly onEdgeClick?: ((edge: GraphEdgeGeometry<E>, event: ClickEvent) => void) | undefined

Related API: GraphEdgeGeometry.

Receives clicks on an edge mark. GraphLayout

  • edge — The source record or geometry supplied by Pibbl.

  • event — The source record or geometry supplied by Pibbl.

View source — packages/core/src/features/viz/lib/graph/types.ts:176

Configuration for a hook-owned force solver session. GraphLayout

interface ForceHookOptions<N, E> extends ForceOptions<N, E>

Related API: ForceHookOptions, ForceOptions.

View source — packages/core/src/features/viz/lib/graph/types.ts:349

initialPaused (optional)
readonly initialPaused?: boolean | undefined

Initial paused state for a new controller. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:351

createSimulation (optional)
readonly createSimulation?: ForceSimulationFactory<N, E> | undefined

Related API: ForceSimulationFactory.

Optional compatible numeric solver factory. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:353

nodeKey
readonly nodeKey: Accessor<N, VizKey>

Related API: Accessor, VizKey.

Reads each node’s stable key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:86

edgeKey
readonly edgeKey: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads each edge’s stable key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:88

source
readonly source: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads an edge source key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:90

target
readonly target: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads an edge target key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:92

label (optional)
readonly label?: Accessor<N, string> | undefined

Related API: Accessor.

Optional reader for a node’s primary text. LabelGeometry

View source — packages/core/src/features/viz/lib/graph/types.ts:94

detail (optional)
readonly detail?: Accessor<N, string> | undefined

Related API: Accessor.

Optional reader for a node’s secondary text. LabelGeometry

View source — packages/core/src/features/viz/lib/graph/types.ts:96

bounds
readonly bounds: Readonly<{ x: number; y: number; width: number; height: number; }>

Finite local logical bounds for this geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:275

nodeSize (optional)
readonly nodeSize?: Size | ((node: N) => Size) | undefined

Related API: Size.

Node size in local logical pixels; defaults to 160 by 56. GraphLayout

  • node — Source record to measure.

Finite local logical size.

View source — packages/core/src/features/viz/lib/graph/types.ts:279

simulation (optional)
readonly simulation?: ForceSettings | undefined

Related API: ForceSettings.

Optional deterministic solver settings. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:285

directed (optional)
readonly directed?: boolean | undefined

Whether direction affects the algorithm. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:287

Typed readers for one rooted hierarchy with stable child order. GraphLayout

interface HierarchyAccessors<D>

Related API: HierarchyAccessors.

View source — packages/core/src/features/viz/lib/graph/types.ts:357

keyBy
readonly keyBy: Accessor<D, VizKey>

Related API: Accessor, VizKey.

Reads each hierarchy record’s stable key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:359

childrenBy
readonly childrenBy: Accessor<D, readonly D[] | null | undefined>

Related API: Accessor.

Reads ordered child records; null and undefined mean no children. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:361

label (optional)
readonly label?: Accessor<D, string> | undefined

Related API: Accessor.

Optional reader for a node’s primary text. LabelGeometry

View source — packages/core/src/features/viz/lib/graph/types.ts:363

collapsed (optional)
readonly collapsed?: ((node: D) => boolean) | undefined

Whether this item hides its descendants. GraphLayout

  • node — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:367

The original parent and child records represented by a tree edge. GraphLayout

interface TreeEdge<D>

Related API: TreeEdge.

View source — packages/core/src/features/viz/lib/graph/types.ts:370

parent
readonly parent: D

Original parent record. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:372

child
readonly child: D

Original child record. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:374

Tree node geometry with ancestry and collapsed-child information. GraphLayout

interface TreeNodeGeometry<D> extends GraphNodeGeometry<D>

Related API: TreeNodeGeometry, GraphNodeGeometry.

View source — packages/core/src/features/viz/lib/graph/types.ts:377

depth
readonly depth: number

Zero-based hierarchy depth. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:379

parentKey
readonly parentKey: VizKey | null

Related API: VizKey.

Parent key, or null for a top-level item. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:381

hiddenChildren
readonly hiddenChildren: number

Number of children omitted by collapse. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:383

key
readonly key: VizKey

Related API: VizKey.

Stable application-provided key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:101

datum
readonly datum: D

Original application record. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:103

bounds
readonly bounds: Readonly<{ x: number; y: number; width: number; height: number; }>

Finite local logical bounds for this geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:105

label
readonly label: LabelGeometry

Related API: LabelGeometry.

Decorative label geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:107

detail
readonly detail: LabelGeometry | null

Related API: LabelGeometry.

Optional secondary label geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:109

Immutable tidy-tree node and edge geometry. GraphLayout

interface TreeLayout<D> extends GraphLayout<D, TreeEdge<D>>

Related API: TreeLayout, GraphLayout, TreeEdge.

View source — packages/core/src/features/viz/lib/graph/types.ts:386

nodes
readonly nodes: readonly TreeNodeGeometry<D>[]

Related API: TreeNodeGeometry.

Source nodes in application order. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:388

bounds
readonly bounds: Readonly<{ x: number; y: number; width: number; height: number; }>

Finite local logical bounds for this geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:143

edges
readonly edges: readonly GraphEdgeGeometry<TreeEdge<D>>[]

Related API: GraphEdgeGeometry, TreeEdge.

Source edges in application order. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:147

Frame options controlling tree level and sibling spacing. GraphLayout

interface TreeStyle extends GStyle

Related API: TreeStyle, GStyle.

View source — packages/core/src/features/viz/lib/graph/types.ts:391

levelGap (optional)
readonly levelGap?: number | undefined

Gap between hierarchy levels in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:393

siblingGap (optional)
readonly siblingGap?: number | undefined

Gap between sibling subtrees in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:395

position (optional)
position?: "absolute" | "relative" | "static" | undefined

Experimental direct-Flex placement mode. In a finite Flex, static keeps the allocated slot and ignores insets; relative offsets final geometry once without moving siblings. Primitive static/relative leaves support every main/writing direction and wrapping mode. Wrapped parents admit fixed numeric direct Flex owners that remain internally nowrap; non-row chains use the same fixed owner restriction, with zero grow/shrink and omitted or automatic basis; physical offsets retain their sign through main reversal. Absolute stays out of sibling allocation, using the padding box for explicit insets and content alignment for omitted axes. Fixed numeric, percentage and admitted automatic absolute profiles support all main directions and RTL, with numeric or percentage bounds applied before placement. In every wrapping mode, omitted axes use whole-content main/cross alignment; wrap-reverse reverses omitted cross alignment and combines with column RTL exactly once. Paired natural providers keep their exact/unbounded query in every admitted direction. Direct wrapped Text with a generic pixel font and visible fit/overflow may measure automatic height at a resolved numeric or percentage width through the same owned query. Unwrapped Text may measure automatic width at a resolved numeric or percentage height, using its existing Canvas ink-bounds width before bounds and physical anchoring. Generic unwrapped Text also supports natural ink height and both automatic dimensions through one unbounded query before independent numeric clamps; mixed opposing-pair/natural feedback and both-auto aspect remain excluded. On the documented finite direct-child path, automatic absolute axes resolve from opposing numeric or percentage physical insets. With a positive finite aspectRatio, exactly one automatic axis can instead derive from its resolved declared finite numeric or percentage opposite axis. Opposing insets win. Finite numeric or percentage min/max bounds clamp used axes independently after derivation; a clamp does not recouple aspectRatio, and a numeric minimum above its maximum rejects. A direct custom primitive with paired pure measurement providers may instead measure natural automatic width at a declared numeric or percentage height, or natural height at a declared numeric or percentage width. The automatic axis is unbounded; the exact axis uses its declared resolved padding-box value before bounds clamp the used dimensions. In direct declarative Flex chains, static Flex passes the containing box outward while relative Flex owns a local box. Omission retains the legacy local Flex boundary and left/top behavior.

View source — packages/core/src/lib/style/positioning.ts:194

left (optional)
left?: number | `${number}%` | undefined

Left edge coordinate or inset. Explicit absolute Flex insets accept finite numbers or percentages of the containing padding-box axis; relative percentages use the parent content-box axis. See Length.

View source — packages/core/src/lib/style/positioning.ts:196

right (optional)
right?: number | `${number}%` | undefined

Right edge inset. Absolute Flex accepts finite numbers or percentages of the containing padding-box width; relative percentages use the parent content-box width. See Length.

View source — packages/core/src/lib/style/positioning.ts:198

top (optional)
top?: number | `${number}%` | undefined

Top edge coordinate or inset. Explicit absolute Flex insets accept finite numbers or percentages of the containing padding-box axis; relative percentages use the parent content-box axis. See Length.

View source — packages/core/src/lib/style/positioning.ts:200

bottom (optional)
bottom?: number | `${number}%` | undefined

Bottom edge inset. Absolute Flex accepts finite numbers or percentages of the containing padding-box height; relative percentages use the parent content-box height. See Length.

View source — packages/core/src/lib/style/positioning.ts:202

insetStart (optional)
insetStart?: number | `${number}%` | undefined

Experimental direct absolute Flex inline-start inset, mapped through the receiving Flex direction. Overrides the corresponding physical edge, including zero. Percentages use the selected containing padding-box width. See Length.

View source — packages/core/src/lib/style/positioning.ts:204

insetEnd (optional)
insetEnd?: number | `${number}%` | undefined

Experimental direct absolute Flex inline-end inset, mapped through the receiving Flex direction. Overrides the corresponding physical edge. See Length.

View source — packages/core/src/lib/style/positioning.ts:206

aspectRatio (optional)
aspectRatio?: number | undefined

Positive finite width/height ratio. A declared definite axis derives the automatic axis before its bounds; boxSizing selects content or border geometry. See resolveBox.

View source — packages/core/src/lib/style/types.ts:84

boxSizing (optional)
boxSizing?: "border-box" | "content-box" | undefined

Selects whether dimensions, bounds and Flex basis include padding and layout borders. Defaults to content-box. Border-box content floors at zero and the outer box floors at total axis padding plus layout borders. Painted stroke widths remain independent. See ResolvedBoxStyle.

View source — packages/core/src/lib/style/types.ts:89

width (optional)
width?: SizingLength | undefined

Related API: SizingLength.

Horizontal extent in the units of the containing geometry or surface. See SizingLength.

View source — packages/core/src/lib/style/types.ts:91

height (optional)
height?: SizingLength | undefined

Related API: SizingLength.

Vertical extent in the units of the containing geometry or surface. See SizingLength.

View source — packages/core/src/lib/style/types.ts:93

minWidth (optional)
minWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Minimum permitted horizontal width. Finite horizontal Flex intrinsic owners also accept intrinsic sizing requests; automatic remains invalid. See SizingLength.

View source — packages/core/src/lib/style/types.ts:95

maxWidth (optional)
maxWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Maximum permitted horizontal width. Finite horizontal Flex intrinsic owners also accept intrinsic sizing requests; automatic remains invalid. See SizingLength.

View source — packages/core/src/lib/style/types.ts:97

minHeight (optional)
minHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Minimum permitted height. See Length.

View source — packages/core/src/lib/style/types.ts:99

maxHeight (optional)
maxHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Maximum permitted height. See Length.

View source — packages/core/src/lib/style/types.ts:101

padding (optional)
padding?: EdgeValues<number | `${number}%`> | undefined

Related API: EdgeValues.

Padding inside layout borders. Experimental allocated Flex percentages use owner content width for every edge. See EdgeValues, Percentage.

View source — packages/core/src/lib/style/types.ts:103

paddingStart (optional)
paddingStart?: number | `${number}%` | undefined

Nonnegative inline-start padding overriding its physical padding edge. Experimental percentages require an allocated Flex owner and use its content width. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:105

paddingEnd (optional)
paddingEnd?: number | `${number}%` | undefined

Nonnegative inline-end padding overriding its physical padding edge. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:107

borderWidth (optional)
borderWidth?: EdgeValues<number> | undefined

Related API: EdgeValues.

Layout-only physical border insets, in logical pixels. Defaults to zero; does not paint a stroke. See EdgeValues.

View source — packages/core/src/lib/style/types.ts:109

borderStartWidth (optional)
borderStartWidth?: number | undefined

Experimental nonnegative numeric inline-start layout border overriding its physical borderWidth edge. Does not paint a stroke. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:111

borderEndWidth (optional)
borderEndWidth?: number | undefined

Experimental nonnegative numeric inline-end layout border overriding its physical borderWidth edge. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:113

overflow (optional)
overflow?: "clip" | "visible" | undefined

Selects "visible", "clip" for overflow. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:115

margin (optional)
margin?: FlexMargin | undefined

Related API: FlexMargin.

Uniform physical margin in logical Canvas units, a percentage of allocated Flex content width, or auto on supported finite Flex axes. Finite negatives are allowed; specific edges override this value. Consumed by experimental Flex only. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:146

marginTop (optional)
marginTop?: FlexMargin | undefined

Related API: FlexMargin.

Physical top margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:148

marginRight (optional)
marginRight?: FlexMargin | undefined

Related API: FlexMargin.

Physical right margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:150

marginBottom (optional)
marginBottom?: FlexMargin | undefined

Related API: FlexMargin.

Physical bottom margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:152

marginLeft (optional)
marginLeft?: FlexMargin | undefined

Related API: FlexMargin.

Physical left margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:154

marginStart (optional)
marginStart?: FlexMargin | undefined

Related API: FlexMargin.

Inline-start margin overriding the corresponding physical edge and margin shorthand in experimental Flex. Signed percentages use allocated content width. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:156

marginEnd (optional)
marginEnd?: FlexMargin | undefined

Related API: FlexMargin.

Inline-end margin overriding the corresponding physical edge and margin shorthand in experimental Flex. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:158

alignSelf (optional)
alignSelf?: "auto" | "center" | "end" | "flex-end" | "flex-start" | "start" | "stretch" | undefined

This child’s cross-axis or block-axis alignment override. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:160

justifySelf (optional)
justifySelf?: "auto" | "center" | "end" | "start" | "stretch" | undefined

This child’s inline-axis alignment override. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:162

flexBasis (optional)
flexBasis?: SizingLength | undefined

Related API: SizingLength.

Initial main-axis size before flex growth or shrinkage. See SizingLength.

View source — packages/core/src/lib/style/types.ts:164

flexGrow (optional)
flexGrow?: number | undefined

Relative share of positive free space assigned to this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:166

flexShrink (optional)
flexShrink?: number | undefined

Relative factor used when reducing main-axis size. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:168

gridColumnStart (optional)
gridColumnStart?: number | undefined

Explicit starting grid column. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:170

gridColumnSpan (optional)
gridColumnSpan?: number | undefined

Number of columns occupied by this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:172

gridRowStart (optional)
gridRowStart?: number | undefined

Explicit starting grid row. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:174

gridRowSpan (optional)
gridRowSpan?: number | undefined

Number of rows occupied by this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:176

scaleX (optional)
scaleX?: number | undefined

Horizontal scale factor. See GStyle.

View source — packages/core/src/lib/components/g.ts:46

scaleY (optional)
scaleY?: number | undefined

Vertical scale factor. See GStyle.

View source — packages/core/src/lib/components/g.ts:48

rotationDegrees (optional)
rotationDegrees?: number | undefined

Clockwise rotation in degrees.

View source — packages/core/src/lib/components/g.ts:50

rotationOrigin (optional)
rotationOrigin?: [number, number] | undefined

Point around which the rotation is applied. See GStyle.

View source — packages/core/src/lib/components/g.ts:52

translateX (optional)
translateX?: number | undefined

Horizontal translation in the current logical coordinate system. See GStyle.

View source — packages/core/src/lib/components/g.ts:54

translateY (optional)
translateY?: number | undefined

Vertical translation in the current logical coordinate system. See GStyle.

View source — packages/core/src/lib/components/g.ts:56

skewX (optional)
skewX?: number | undefined

Horizontal skew angle in degrees.

View source — packages/core/src/lib/components/g.ts:58

skewY (optional)
skewY?: number | undefined

Vertical skew angle in degrees.

View source — packages/core/src/lib/components/g.ts:60

layoutParticipation (optional)
layoutParticipation?: "contents" | "hidden" | "normal" | undefined

Numeric layout participation. Hidden subtrees retain mounted ownership without geometry or paint; contents retains logical ancestry without owning a box. See SystemStyle.

View source — packages/core/src/lib/types.ts:69

transition (optional)
transition?: PibblTransitionBinding | undefined

Related API: PibblTransitionBinding.

Visibility-transition binding applied to this primitive and its captured descendants. See SystemStyle.

View source — packages/core/src/lib/types.ts:71

custom (optional)
custom?: unknown

Application-defined style payload passed through the runtime. See SystemStyle.

View source — packages/core/src/lib/types.ts:73

filter (optional)
filter?: PibblFilter | readonly PibblFilter[] | undefined

Related API: PibblFilter.

Ordered pixel-only filters applied to the receiving primitive and its descendants. See PibblFilter.

View source — packages/core/src/lib/types.ts:78

Pure tidy-tree inputs including bounds and optional dimensions. GraphLayout

interface TreeOptions<D> extends HierarchyAccessors<D>

Related API: TreeOptions, HierarchyAccessors.

View source — packages/core/src/features/viz/lib/graph/types.ts:398

bounds
readonly bounds: Readonly<{ x: number; y: number; width: number; height: number; }>

Finite local logical bounds for this geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:400

detail (optional)
readonly detail?: Accessor<D, string> | undefined

Related API: Accessor.

Optional reader for a node’s secondary text. LabelGeometry

View source — packages/core/src/features/viz/lib/graph/types.ts:402

nodeSize (optional)
readonly nodeSize?: Size | ((node: D) => Size) | undefined

Related API: Size.

Node size in local logical pixels; defaults to 160 by 56. GraphLayout

  • node — Source record to measure.

Finite local logical size.

View source — packages/core/src/features/viz/lib/graph/types.ts:406

levelGap (optional)
readonly levelGap?: number | undefined

Gap between hierarchy levels in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:412

siblingGap (optional)
readonly siblingGap?: number | undefined

Gap between sibling subtrees in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:414

keyBy
readonly keyBy: Accessor<D, VizKey>

Related API: Accessor, VizKey.

Reads each hierarchy record’s stable key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:359

childrenBy
readonly childrenBy: Accessor<D, readonly D[] | null | undefined>

Related API: Accessor.

Reads ordered child records; null and undefined mean no children. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:361

label (optional)
readonly label?: Accessor<D, string> | undefined

Related API: Accessor.

Optional reader for a node’s primary text. LabelGeometry

View source — packages/core/src/features/viz/lib/graph/types.ts:363

collapsed (optional)
readonly collapsed?: ((node: D) => boolean) | undefined

Whether this item hides its descendants. GraphLayout

  • node — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:367

Reactive hierarchy data and presentation for TidyTree. GraphLayout

interface TidyTreeProps<D> extends
HierarchyAccessors<D>,
GraphPresentation<D, TreeEdge<D>, TreeNodeGeometry<D>>

Related API: TidyTreeProps, HierarchyAccessors, GraphPresentation, TreeEdge, TreeNodeGeometry.

View source — packages/core/src/features/viz/lib/graph/types.ts:417

root
readonly root: SignalValue<D>

Related API: SignalValue.

Hierarchy root; publish a new root to update. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:422

detail (optional)
readonly detail?: Accessor<D, string> | undefined

Related API: Accessor.

Optional reader for a node’s secondary text. LabelGeometry

View source — packages/core/src/features/viz/lib/graph/types.ts:424

nodeSize (optional)
readonly nodeSize?: Size | ((node: D) => Size) | undefined

Related API: Size.

Node size in local logical pixels; defaults to 160 by 56. GraphLayout

  • node — Source record to measure.

Finite local logical size.

View source — packages/core/src/features/viz/lib/graph/types.ts:428

renderNode (optional)
readonly renderNode?: ((node: TreeNodeGeometry<D>) => PibblNode) | undefined

Related API: TreeNodeGeometry, PibblNode.

Replaces the default node mark with this composition. GraphLayout

  • node — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:436

onNodeClick (optional)
readonly onNodeClick?: ((node: TreeNodeGeometry<D>, event: ClickEvent) => void) | undefined

Related API: TreeNodeGeometry.

Receives clicks on a node mark. GraphLayout

  • node — The source record or geometry supplied by Pibbl.

  • event — The source record or geometry supplied by Pibbl.

View source — packages/core/src/features/viz/lib/graph/types.ts:440

style (optional)
readonly style?: Style<TreeStyle> | undefined

Related API: Style, TreeStyle.

Frame style and responsive size allocation. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:442

nodeStyle (optional)
readonly nodeStyle?: MarkStyle<TreeNodeGeometry<D>, NodeStyle> | undefined

Related API: MarkStyle, TreeNodeGeometry, NodeStyle.

Style or geometry-aware style for node marks. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:156

edgeStyle (optional)
readonly edgeStyle?: MarkStyle<GraphEdgeGeometry<TreeEdge<D>>, EdgeStyle> | undefined

Related API: MarkStyle, GraphEdgeGeometry, TreeEdge, EdgeStyle.

Style or geometry-aware style for edge marks. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:158

labelStyle (optional)
readonly labelStyle?: MarkStyle<TreeNodeGeometry<D>, LabelStyle> | undefined

Related API: MarkStyle, TreeNodeGeometry, LabelStyle.

Style for decorative labels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:160

renderEdge (optional)
readonly renderEdge?: ((edge: GraphEdgeGeometry<TreeEdge<D>>) => PibblNode) | undefined

Related API: GraphEdgeGeometry, TreeEdge, PibblNode.

Replaces the default edge mark with this composition. GraphLayout

  • edge — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:168

onEdgeClick (optional)
readonly onEdgeClick?: ((edge: GraphEdgeGeometry<TreeEdge<D>>, event: ClickEvent) => void) | undefined

Related API: GraphEdgeGeometry, TreeEdge.

Receives clicks on an edge mark. GraphLayout

  • edge — The source record or geometry supplied by Pibbl.

  • event — The source record or geometry supplied by Pibbl.

View source — packages/core/src/features/viz/lib/graph/types.ts:176

keyBy
readonly keyBy: Accessor<D, VizKey>

Related API: Accessor, VizKey.

Reads each hierarchy record’s stable key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:359

childrenBy
readonly childrenBy: Accessor<D, readonly D[] | null | undefined>

Related API: Accessor.

Reads ordered child records; null and undefined mean no children. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:361

label (optional)
readonly label?: Accessor<D, string> | undefined

Related API: Accessor.

Optional reader for a node’s primary text. LabelGeometry

View source — packages/core/src/features/viz/lib/graph/types.ts:363

collapsed (optional)
readonly collapsed?: ((node: D) => boolean) | undefined

Whether this item hides its descendants. GraphLayout

  • node — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:367

Ordered row, column, and relation records for an adjacency matrix. GraphLayout

interface MatrixData<R, C, E>

Related API: MatrixData.

View source — packages/core/src/features/viz/lib/graph/types.ts:446

rows
readonly rows: readonly R[]

Ordered source row records. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:448

columns
readonly columns: readonly C[]

Ordered source column records. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:450

relations
readonly relations: readonly E[]

Source relation records. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:452

Typed matrix keys, quantity reader, labels, and display unit. GraphLayout

interface MatrixAccessors<R, C, E>

Related API: MatrixAccessors.

View source — packages/core/src/features/viz/lib/graph/types.ts:455

rowKey
readonly rowKey: Accessor<R, VizKey>

Related API: Accessor, VizKey.

Stable row key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:457

columnKey
readonly columnKey: Accessor<C, VizKey>

Related API: Accessor, VizKey.

Stable column key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:459

source
readonly source: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads an edge source key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:461

target
readonly target: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads an edge target key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:463

value
readonly value: Accessor<E, number>

Related API: Accessor.

Reads the finite quantitative value. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:465

rowLabel (optional)
readonly rowLabel?: Accessor<R, string> | undefined

Related API: Accessor.

Reads a row label. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:467

columnLabel (optional)
readonly columnLabel?: Accessor<C, string> | undefined

Related API: Accessor.

Reads a column label. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:469

unit
readonly unit: string

Display unit for quantitative values. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:471

formatValue (optional)
readonly formatValue?: ((value: number) => string) | undefined

Formats a quantitative value for display. GraphLayout

  • value — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:475

Immutable aggregate geometry for one ordered row/column pair. GraphLayout

interface MatrixCellGeometry<R, C, E>

Related API: MatrixCellGeometry.

View source — packages/core/src/features/viz/lib/graph/types.ts:478

row
readonly row: R

Original row record. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:480

column
readonly column: C

Original column record. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:482

rowKey
readonly rowKey: VizKey

Related API: VizKey.

Stable row key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:484

columnKey
readonly columnKey: VizKey

Related API: VizKey.

Stable column key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:486

records
readonly records: readonly E[]

Original records represented by this aggregate. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:488

value
readonly value: number | null

Reads the finite quantitative value. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:490

bounds
readonly bounds: Readonly<{ x: number; y: number; width: number; height: number; }>

Finite local logical bounds for this geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:492

label
readonly label: LabelGeometry | null

Related API: LabelGeometry.

Decorative label geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:494

Immutable matrix cells and decorative axis labels. GraphLayout

interface MatrixLayout<R, C, E>

Related API: MatrixLayout.

View source — packages/core/src/features/viz/lib/graph/types.ts:497

bounds
readonly bounds: Readonly<{ x: number; y: number; width: number; height: number; }>

Finite local logical bounds for this geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:499

unit
readonly unit: string

Display unit for quantitative values. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:501

cells
readonly cells: readonly MatrixCellGeometry<R, C, E>[]

Related API: MatrixCellGeometry.

Immutable cells in source-stable layout order. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:503

rowLabels
readonly rowLabels: readonly LabelGeometry[]

Related API: LabelGeometry.

Decorative labels for matrix rows. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:505

columnLabels
readonly columnLabels: readonly LabelGeometry[]

Related API: LabelGeometry.

Decorative labels for matrix columns. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:507

Frame options for matrix gaps and label reservations. GraphLayout

interface MatrixStyle extends GStyle

Related API: MatrixStyle, GStyle.

View source — packages/core/src/features/viz/lib/graph/types.ts:510

cellGap (optional)
readonly cellGap?: number | undefined

Gap between cells in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:512

rowLabelWidth (optional)
readonly rowLabelWidth?: number | undefined

Reserved width for matrix row labels in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:514

columnLabelHeight (optional)
readonly columnLabelHeight?: number | undefined

Reserved height for matrix column labels in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:516

position (optional)
position?: "absolute" | "relative" | "static" | undefined

Experimental direct-Flex placement mode. In a finite Flex, static keeps the allocated slot and ignores insets; relative offsets final geometry once without moving siblings. Primitive static/relative leaves support every main/writing direction and wrapping mode. Wrapped parents admit fixed numeric direct Flex owners that remain internally nowrap; non-row chains use the same fixed owner restriction, with zero grow/shrink and omitted or automatic basis; physical offsets retain their sign through main reversal. Absolute stays out of sibling allocation, using the padding box for explicit insets and content alignment for omitted axes. Fixed numeric, percentage and admitted automatic absolute profiles support all main directions and RTL, with numeric or percentage bounds applied before placement. In every wrapping mode, omitted axes use whole-content main/cross alignment; wrap-reverse reverses omitted cross alignment and combines with column RTL exactly once. Paired natural providers keep their exact/unbounded query in every admitted direction. Direct wrapped Text with a generic pixel font and visible fit/overflow may measure automatic height at a resolved numeric or percentage width through the same owned query. Unwrapped Text may measure automatic width at a resolved numeric or percentage height, using its existing Canvas ink-bounds width before bounds and physical anchoring. Generic unwrapped Text also supports natural ink height and both automatic dimensions through one unbounded query before independent numeric clamps; mixed opposing-pair/natural feedback and both-auto aspect remain excluded. On the documented finite direct-child path, automatic absolute axes resolve from opposing numeric or percentage physical insets. With a positive finite aspectRatio, exactly one automatic axis can instead derive from its resolved declared finite numeric or percentage opposite axis. Opposing insets win. Finite numeric or percentage min/max bounds clamp used axes independently after derivation; a clamp does not recouple aspectRatio, and a numeric minimum above its maximum rejects. A direct custom primitive with paired pure measurement providers may instead measure natural automatic width at a declared numeric or percentage height, or natural height at a declared numeric or percentage width. The automatic axis is unbounded; the exact axis uses its declared resolved padding-box value before bounds clamp the used dimensions. In direct declarative Flex chains, static Flex passes the containing box outward while relative Flex owns a local box. Omission retains the legacy local Flex boundary and left/top behavior.

View source — packages/core/src/lib/style/positioning.ts:194

left (optional)
left?: number | `${number}%` | undefined

Left edge coordinate or inset. Explicit absolute Flex insets accept finite numbers or percentages of the containing padding-box axis; relative percentages use the parent content-box axis. See Length.

View source — packages/core/src/lib/style/positioning.ts:196

right (optional)
right?: number | `${number}%` | undefined

Right edge inset. Absolute Flex accepts finite numbers or percentages of the containing padding-box width; relative percentages use the parent content-box width. See Length.

View source — packages/core/src/lib/style/positioning.ts:198

top (optional)
top?: number | `${number}%` | undefined

Top edge coordinate or inset. Explicit absolute Flex insets accept finite numbers or percentages of the containing padding-box axis; relative percentages use the parent content-box axis. See Length.

View source — packages/core/src/lib/style/positioning.ts:200

bottom (optional)
bottom?: number | `${number}%` | undefined

Bottom edge inset. Absolute Flex accepts finite numbers or percentages of the containing padding-box height; relative percentages use the parent content-box height. See Length.

View source — packages/core/src/lib/style/positioning.ts:202

insetStart (optional)
insetStart?: number | `${number}%` | undefined

Experimental direct absolute Flex inline-start inset, mapped through the receiving Flex direction. Overrides the corresponding physical edge, including zero. Percentages use the selected containing padding-box width. See Length.

View source — packages/core/src/lib/style/positioning.ts:204

insetEnd (optional)
insetEnd?: number | `${number}%` | undefined

Experimental direct absolute Flex inline-end inset, mapped through the receiving Flex direction. Overrides the corresponding physical edge. See Length.

View source — packages/core/src/lib/style/positioning.ts:206

aspectRatio (optional)
aspectRatio?: number | undefined

Positive finite width/height ratio. A declared definite axis derives the automatic axis before its bounds; boxSizing selects content or border geometry. See resolveBox.

View source — packages/core/src/lib/style/types.ts:84

boxSizing (optional)
boxSizing?: "border-box" | "content-box" | undefined

Selects whether dimensions, bounds and Flex basis include padding and layout borders. Defaults to content-box. Border-box content floors at zero and the outer box floors at total axis padding plus layout borders. Painted stroke widths remain independent. See ResolvedBoxStyle.

View source — packages/core/src/lib/style/types.ts:89

width (optional)
width?: SizingLength | undefined

Related API: SizingLength.

Horizontal extent in the units of the containing geometry or surface. See SizingLength.

View source — packages/core/src/lib/style/types.ts:91

height (optional)
height?: SizingLength | undefined

Related API: SizingLength.

Vertical extent in the units of the containing geometry or surface. See SizingLength.

View source — packages/core/src/lib/style/types.ts:93

minWidth (optional)
minWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Minimum permitted horizontal width. Finite horizontal Flex intrinsic owners also accept intrinsic sizing requests; automatic remains invalid. See SizingLength.

View source — packages/core/src/lib/style/types.ts:95

maxWidth (optional)
maxWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Maximum permitted horizontal width. Finite horizontal Flex intrinsic owners also accept intrinsic sizing requests; automatic remains invalid. See SizingLength.

View source — packages/core/src/lib/style/types.ts:97

minHeight (optional)
minHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Minimum permitted height. See Length.

View source — packages/core/src/lib/style/types.ts:99

maxHeight (optional)
maxHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Maximum permitted height. See Length.

View source — packages/core/src/lib/style/types.ts:101

padding (optional)
padding?: EdgeValues<number | `${number}%`> | undefined

Related API: EdgeValues.

Padding inside layout borders. Experimental allocated Flex percentages use owner content width for every edge. See EdgeValues, Percentage.

View source — packages/core/src/lib/style/types.ts:103

paddingStart (optional)
paddingStart?: number | `${number}%` | undefined

Nonnegative inline-start padding overriding its physical padding edge. Experimental percentages require an allocated Flex owner and use its content width. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:105

paddingEnd (optional)
paddingEnd?: number | `${number}%` | undefined

Nonnegative inline-end padding overriding its physical padding edge. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:107

borderWidth (optional)
borderWidth?: EdgeValues<number> | undefined

Related API: EdgeValues.

Layout-only physical border insets, in logical pixels. Defaults to zero; does not paint a stroke. See EdgeValues.

View source — packages/core/src/lib/style/types.ts:109

borderStartWidth (optional)
borderStartWidth?: number | undefined

Experimental nonnegative numeric inline-start layout border overriding its physical borderWidth edge. Does not paint a stroke. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:111

borderEndWidth (optional)
borderEndWidth?: number | undefined

Experimental nonnegative numeric inline-end layout border overriding its physical borderWidth edge. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:113

overflow (optional)
overflow?: "clip" | "visible" | undefined

Selects "visible", "clip" for overflow. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:115

margin (optional)
margin?: FlexMargin | undefined

Related API: FlexMargin.

Uniform physical margin in logical Canvas units, a percentage of allocated Flex content width, or auto on supported finite Flex axes. Finite negatives are allowed; specific edges override this value. Consumed by experimental Flex only. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:146

marginTop (optional)
marginTop?: FlexMargin | undefined

Related API: FlexMargin.

Physical top margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:148

marginRight (optional)
marginRight?: FlexMargin | undefined

Related API: FlexMargin.

Physical right margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:150

marginBottom (optional)
marginBottom?: FlexMargin | undefined

Related API: FlexMargin.

Physical bottom margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:152

marginLeft (optional)
marginLeft?: FlexMargin | undefined

Related API: FlexMargin.

Physical left margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:154

marginStart (optional)
marginStart?: FlexMargin | undefined

Related API: FlexMargin.

Inline-start margin overriding the corresponding physical edge and margin shorthand in experimental Flex. Signed percentages use allocated content width. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:156

marginEnd (optional)
marginEnd?: FlexMargin | undefined

Related API: FlexMargin.

Inline-end margin overriding the corresponding physical edge and margin shorthand in experimental Flex. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:158

alignSelf (optional)
alignSelf?: "auto" | "center" | "end" | "flex-end" | "flex-start" | "start" | "stretch" | undefined

This child’s cross-axis or block-axis alignment override. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:160

justifySelf (optional)
justifySelf?: "auto" | "center" | "end" | "start" | "stretch" | undefined

This child’s inline-axis alignment override. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:162

flexBasis (optional)
flexBasis?: SizingLength | undefined

Related API: SizingLength.

Initial main-axis size before flex growth or shrinkage. See SizingLength.

View source — packages/core/src/lib/style/types.ts:164

flexGrow (optional)
flexGrow?: number | undefined

Relative share of positive free space assigned to this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:166

flexShrink (optional)
flexShrink?: number | undefined

Relative factor used when reducing main-axis size. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:168

gridColumnStart (optional)
gridColumnStart?: number | undefined

Explicit starting grid column. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:170

gridColumnSpan (optional)
gridColumnSpan?: number | undefined

Number of columns occupied by this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:172

gridRowStart (optional)
gridRowStart?: number | undefined

Explicit starting grid row. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:174

gridRowSpan (optional)
gridRowSpan?: number | undefined

Number of rows occupied by this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:176

scaleX (optional)
scaleX?: number | undefined

Horizontal scale factor. See GStyle.

View source — packages/core/src/lib/components/g.ts:46

scaleY (optional)
scaleY?: number | undefined

Vertical scale factor. See GStyle.

View source — packages/core/src/lib/components/g.ts:48

rotationDegrees (optional)
rotationDegrees?: number | undefined

Clockwise rotation in degrees.

View source — packages/core/src/lib/components/g.ts:50

rotationOrigin (optional)
rotationOrigin?: [number, number] | undefined

Point around which the rotation is applied. See GStyle.

View source — packages/core/src/lib/components/g.ts:52

translateX (optional)
translateX?: number | undefined

Horizontal translation in the current logical coordinate system. See GStyle.

View source — packages/core/src/lib/components/g.ts:54

translateY (optional)
translateY?: number | undefined

Vertical translation in the current logical coordinate system. See GStyle.

View source — packages/core/src/lib/components/g.ts:56

skewX (optional)
skewX?: number | undefined

Horizontal skew angle in degrees.

View source — packages/core/src/lib/components/g.ts:58

skewY (optional)
skewY?: number | undefined

Vertical skew angle in degrees.

View source — packages/core/src/lib/components/g.ts:60

layoutParticipation (optional)
layoutParticipation?: "contents" | "hidden" | "normal" | undefined

Numeric layout participation. Hidden subtrees retain mounted ownership without geometry or paint; contents retains logical ancestry without owning a box. See SystemStyle.

View source — packages/core/src/lib/types.ts:69

transition (optional)
transition?: PibblTransitionBinding | undefined

Related API: PibblTransitionBinding.

Visibility-transition binding applied to this primitive and its captured descendants. See SystemStyle.

View source — packages/core/src/lib/types.ts:71

custom (optional)
custom?: unknown

Application-defined style payload passed through the runtime. See SystemStyle.

View source — packages/core/src/lib/types.ts:73

filter (optional)
filter?: PibblFilter | readonly PibblFilter[] | undefined

Related API: PibblFilter.

Ordered pixel-only filters applied to the receiving primitive and its descendants. See PibblFilter.

View source — packages/core/src/lib/types.ts:78

Pure adjacency-matrix inputs and finite output bounds. GraphLayout

interface MatrixOptions<R, C, E> extends MatrixAccessors<R, C, E>

Related API: MatrixOptions, MatrixAccessors.

View source — packages/core/src/features/viz/lib/graph/types.ts:519

bounds
readonly bounds: Readonly<{ x: number; y: number; width: number; height: number; }>

Finite local logical bounds for this geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:521

cellGap (optional)
readonly cellGap?: number | undefined

Gap between cells in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:523

rowLabelWidth (optional)
readonly rowLabelWidth?: number | undefined

Reserved width for matrix row labels in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:525

columnLabelHeight (optional)
readonly columnLabelHeight?: number | undefined

Reserved height for matrix column labels in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:527

rowKey
readonly rowKey: Accessor<R, VizKey>

Related API: Accessor, VizKey.

Stable row key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:457

columnKey
readonly columnKey: Accessor<C, VizKey>

Related API: Accessor, VizKey.

Stable column key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:459

source
readonly source: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads an edge source key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:461

target
readonly target: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads an edge target key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:463

value
readonly value: Accessor<E, number>

Related API: Accessor.

Reads the finite quantitative value. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:465

rowLabel (optional)
readonly rowLabel?: Accessor<R, string> | undefined

Related API: Accessor.

Reads a row label. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:467

columnLabel (optional)
readonly columnLabel?: Accessor<C, string> | undefined

Related API: Accessor.

Reads a column label. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:469

unit
readonly unit: string

Display unit for quantitative values. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:471

formatValue (optional)
readonly formatValue?: ((value: number) => string) | undefined

Formats a quantitative value for display. GraphLayout

  • value — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:475

Reactive matrix data and cell presentation. GraphLayout

interface AdjacencyMatrixProps<R, C, E> extends MatrixAccessors<
R,
C,
E
>

Related API: AdjacencyMatrixProps, MatrixAccessors.

View source — packages/core/src/features/viz/lib/graph/types.ts:530

data
readonly data: SignalValue<MatrixData<R, C, E>>

Related API: SignalValue, MatrixData.

Input records; publish a new snapshot to update. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:536

style (optional)
readonly style?: Style<MatrixStyle> | undefined

Related API: Style, MatrixStyle.

Frame style and responsive size allocation. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:538

cellStyle (optional)
readonly cellStyle?: MarkStyle<MatrixCellGeometry<R, C, E>, NodeStyle> | undefined

Related API: MarkStyle, MatrixCellGeometry, NodeStyle.

Style or geometry-aware style for cell marks. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:540

labelStyle (optional)
readonly labelStyle?: Style<LabelStyle> | undefined

Related API: Style, LabelStyle.

Style for decorative labels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:542

renderCell (optional)
readonly renderCell?: ((cell: MatrixCellGeometry<R, C, E>) => PibblNode) | undefined

Related API: MatrixCellGeometry, PibblNode.

Replaces the default cell mark with this composition. GraphLayout

  • cell — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:546

onCellClick (optional)
readonly onCellClick?: ((cell: MatrixCellGeometry<R, C, E>, event: ClickEvent) => void) | undefined

Related API: MatrixCellGeometry.

Receives clicks on a cell mark. GraphLayout

  • cell — The source record or geometry supplied by Pibbl.

  • event — The source record or geometry supplied by Pibbl.

View source — packages/core/src/features/viz/lib/graph/types.ts:550

rowKey
readonly rowKey: Accessor<R, VizKey>

Related API: Accessor, VizKey.

Stable row key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:457

columnKey
readonly columnKey: Accessor<C, VizKey>

Related API: Accessor, VizKey.

Stable column key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:459

source
readonly source: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads an edge source key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:461

target
readonly target: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads an edge target key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:463

value
readonly value: Accessor<E, number>

Related API: Accessor.

Reads the finite quantitative value. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:465

rowLabel (optional)
readonly rowLabel?: Accessor<R, string> | undefined

Related API: Accessor.

Reads a row label. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:467

columnLabel (optional)
readonly columnLabel?: Accessor<C, string> | undefined

Related API: Accessor.

Reads a column label. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:469

unit
readonly unit: string

Display unit for quantitative values. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:471

formatValue (optional)
readonly formatValue?: ((value: number) => string) | undefined

Formats a quantitative value for display. GraphLayout

  • value — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:475

Geometry, paint, events, and content for one matrix cell. GraphLayout

interface MatrixCellProps<R, C, E> extends MarkInteraction

Related API: MatrixCellProps, MarkInteraction.

View source — packages/core/src/features/viz/lib/graph/types.ts:556

cell
readonly cell: MatrixCellGeometry<R, C, E>

Related API: MatrixCellGeometry.

Immutable cell geometry and its original records. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:558

style (optional)
readonly style?: Style<NodeStyle> | undefined

Related API: Style, NodeStyle.

Frame style and responsive size allocation. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:560

children (optional)
readonly children?: PibblNode

Related API: PibblNode.

Optional content painted with this mark. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:562

pointerEvents (optional)
readonly pointerEvents?: PibblPointerEvents | undefined

Related API: PibblPointerEvents.

Whether this content participates in pointer targeting. See PibblPointerEvents.

View source — packages/core/src/lib/events/types.ts:126

keyboardFocusable (optional)
readonly keyboardFocusable?: boolean | undefined

Whether the mark enters logical keyboard focus. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:185

keyboardNavigationBounds (optional)
readonly keyboardNavigationBounds?: Readonly<{ x: number; y: number; width: number; height: number; }> | undefined

Logical bounds used for keyboard navigation. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:187

Node geometry annotated with incoming, outgoing, and net quantities. GraphLayout

interface SankeyNodeGeometry<N> extends GraphNodeGeometry<N>

Related API: SankeyNodeGeometry, GraphNodeGeometry.

View source — packages/core/src/features/viz/lib/graph/types.ts:566

incomingValue
readonly incomingValue: number

Total value arriving at this node. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:568

outgoingValue
readonly outgoingValue: number

Total value leaving this node. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:570

netValue
readonly netValue: number

Outgoing value minus incoming value. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:572

key
readonly key: VizKey

Related API: VizKey.

Stable application-provided key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:101

datum
readonly datum: N

Original application record. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:103

bounds
readonly bounds: Readonly<{ x: number; y: number; width: number; height: number; }>

Finite local logical bounds for this geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:105

label
readonly label: LabelGeometry

Related API: LabelGeometry.

Decorative label geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:107

detail
readonly detail: LabelGeometry | null

Related API: LabelGeometry.

Optional secondary label geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:109

Flow geometry annotated with its source quantity and pixel thickness. GraphLayout

interface SankeyFlowGeometry<E> extends GraphEdgeGeometry<E>

Related API: SankeyFlowGeometry, GraphEdgeGeometry.

View source — packages/core/src/features/viz/lib/graph/types.ts:575

value
readonly value: number

Reads the finite quantitative value. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:577

unit
readonly unit: string

Display unit for quantitative values. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:579

sourceSpan
readonly sourceSpan: Readonly<{ top: Point; bottom: Point; }>

Related API: Point.

Source-side flow attachment span. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:581

targetSpan
readonly targetSpan: Readonly<{ top: Point; bottom: Point; }>

Related API: Point.

Target-side flow attachment span. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:588

thickness
readonly thickness: number

Flow width in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:595

key
readonly key: VizKey

Related API: VizKey.

Stable application-provided key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:126

datum
readonly datum: E

Original application record. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:128

sourceKey
readonly sourceKey: VizKey

Related API: VizKey.

Stable key of the edge source node. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:130

targetKey
readonly targetKey: VizKey

Related API: VizKey.

Stable key of the edge target node. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:132

route
readonly route: GraphRoute

Related API: GraphRoute.

Structured route used to produce the serialized path. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:134

path
readonly path: string

SVG path serialization of the route. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:136

arrowPath
readonly arrowPath: string | null

Optional SVG path for the route arrow. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:138

Immutable Sankey nodes and flows with their display unit. GraphLayout

interface SankeyLayout<N, E>

Related API: SankeyLayout.

View source — packages/core/src/features/viz/lib/graph/types.ts:598

bounds
readonly bounds: Readonly<{ x: number; y: number; width: number; height: number; }>

Finite local logical bounds for this geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:600

unit
readonly unit: string

Display unit for quantitative values. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:602

nodes
readonly nodes: readonly SankeyNodeGeometry<N>[]

Related API: SankeyNodeGeometry.

Source nodes in application order. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:604

flows
readonly flows: readonly SankeyFlowGeometry<E>[]

Related API: SankeyFlowGeometry.

Immutable Sankey flow geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:606

Typed Sankey keys, flow quantity reader, and display unit. GraphLayout

interface SankeyAccessors<N, E> extends GraphAccessors<N, E>

Related API: SankeyAccessors, GraphAccessors.

View source — packages/core/src/features/viz/lib/graph/types.ts:609

value
readonly value: Accessor<E, number>

Related API: Accessor.

Reads the finite quantitative value. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:611

unit
readonly unit: string

Display unit for quantitative values. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:613

formatValue (optional)
readonly formatValue?: ((value: number) => string) | undefined

Formats a quantitative value for display. GraphLayout

  • value — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:617

nodeKey
readonly nodeKey: Accessor<N, VizKey>

Related API: Accessor, VizKey.

Reads each node’s stable key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:86

edgeKey
readonly edgeKey: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads each edge’s stable key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:88

source
readonly source: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads an edge source key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:90

target
readonly target: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads an edge target key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:92

label (optional)
readonly label?: Accessor<N, string> | undefined

Related API: Accessor.

Optional reader for a node’s primary text. LabelGeometry

View source — packages/core/src/features/viz/lib/graph/types.ts:94

detail (optional)
readonly detail?: Accessor<N, string> | undefined

Related API: Accessor.

Optional reader for a node’s secondary text. LabelGeometry

View source — packages/core/src/features/viz/lib/graph/types.ts:96

Frame options for Sankey node width and separation. GraphLayout

interface SankeyStyle extends GStyle

Related API: SankeyStyle, GStyle.

View source — packages/core/src/features/viz/lib/graph/types.ts:620

nodeWidth (optional)
readonly nodeWidth?: number | undefined

Width of Sankey nodes in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:622

nodeGap (optional)
readonly nodeGap?: number | undefined

Minimum gap between node marks in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:624

position (optional)
position?: "absolute" | "relative" | "static" | undefined

Experimental direct-Flex placement mode. In a finite Flex, static keeps the allocated slot and ignores insets; relative offsets final geometry once without moving siblings. Primitive static/relative leaves support every main/writing direction and wrapping mode. Wrapped parents admit fixed numeric direct Flex owners that remain internally nowrap; non-row chains use the same fixed owner restriction, with zero grow/shrink and omitted or automatic basis; physical offsets retain their sign through main reversal. Absolute stays out of sibling allocation, using the padding box for explicit insets and content alignment for omitted axes. Fixed numeric, percentage and admitted automatic absolute profiles support all main directions and RTL, with numeric or percentage bounds applied before placement. In every wrapping mode, omitted axes use whole-content main/cross alignment; wrap-reverse reverses omitted cross alignment and combines with column RTL exactly once. Paired natural providers keep their exact/unbounded query in every admitted direction. Direct wrapped Text with a generic pixel font and visible fit/overflow may measure automatic height at a resolved numeric or percentage width through the same owned query. Unwrapped Text may measure automatic width at a resolved numeric or percentage height, using its existing Canvas ink-bounds width before bounds and physical anchoring. Generic unwrapped Text also supports natural ink height and both automatic dimensions through one unbounded query before independent numeric clamps; mixed opposing-pair/natural feedback and both-auto aspect remain excluded. On the documented finite direct-child path, automatic absolute axes resolve from opposing numeric or percentage physical insets. With a positive finite aspectRatio, exactly one automatic axis can instead derive from its resolved declared finite numeric or percentage opposite axis. Opposing insets win. Finite numeric or percentage min/max bounds clamp used axes independently after derivation; a clamp does not recouple aspectRatio, and a numeric minimum above its maximum rejects. A direct custom primitive with paired pure measurement providers may instead measure natural automatic width at a declared numeric or percentage height, or natural height at a declared numeric or percentage width. The automatic axis is unbounded; the exact axis uses its declared resolved padding-box value before bounds clamp the used dimensions. In direct declarative Flex chains, static Flex passes the containing box outward while relative Flex owns a local box. Omission retains the legacy local Flex boundary and left/top behavior.

View source — packages/core/src/lib/style/positioning.ts:194

left (optional)
left?: number | `${number}%` | undefined

Left edge coordinate or inset. Explicit absolute Flex insets accept finite numbers or percentages of the containing padding-box axis; relative percentages use the parent content-box axis. See Length.

View source — packages/core/src/lib/style/positioning.ts:196

right (optional)
right?: number | `${number}%` | undefined

Right edge inset. Absolute Flex accepts finite numbers or percentages of the containing padding-box width; relative percentages use the parent content-box width. See Length.

View source — packages/core/src/lib/style/positioning.ts:198

top (optional)
top?: number | `${number}%` | undefined

Top edge coordinate or inset. Explicit absolute Flex insets accept finite numbers or percentages of the containing padding-box axis; relative percentages use the parent content-box axis. See Length.

View source — packages/core/src/lib/style/positioning.ts:200

bottom (optional)
bottom?: number | `${number}%` | undefined

Bottom edge inset. Absolute Flex accepts finite numbers or percentages of the containing padding-box height; relative percentages use the parent content-box height. See Length.

View source — packages/core/src/lib/style/positioning.ts:202

insetStart (optional)
insetStart?: number | `${number}%` | undefined

Experimental direct absolute Flex inline-start inset, mapped through the receiving Flex direction. Overrides the corresponding physical edge, including zero. Percentages use the selected containing padding-box width. See Length.

View source — packages/core/src/lib/style/positioning.ts:204

insetEnd (optional)
insetEnd?: number | `${number}%` | undefined

Experimental direct absolute Flex inline-end inset, mapped through the receiving Flex direction. Overrides the corresponding physical edge. See Length.

View source — packages/core/src/lib/style/positioning.ts:206

aspectRatio (optional)
aspectRatio?: number | undefined

Positive finite width/height ratio. A declared definite axis derives the automatic axis before its bounds; boxSizing selects content or border geometry. See resolveBox.

View source — packages/core/src/lib/style/types.ts:84

boxSizing (optional)
boxSizing?: "border-box" | "content-box" | undefined

Selects whether dimensions, bounds and Flex basis include padding and layout borders. Defaults to content-box. Border-box content floors at zero and the outer box floors at total axis padding plus layout borders. Painted stroke widths remain independent. See ResolvedBoxStyle.

View source — packages/core/src/lib/style/types.ts:89

width (optional)
width?: SizingLength | undefined

Related API: SizingLength.

Horizontal extent in the units of the containing geometry or surface. See SizingLength.

View source — packages/core/src/lib/style/types.ts:91

height (optional)
height?: SizingLength | undefined

Related API: SizingLength.

Vertical extent in the units of the containing geometry or surface. See SizingLength.

View source — packages/core/src/lib/style/types.ts:93

minWidth (optional)
minWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Minimum permitted horizontal width. Finite horizontal Flex intrinsic owners also accept intrinsic sizing requests; automatic remains invalid. See SizingLength.

View source — packages/core/src/lib/style/types.ts:95

maxWidth (optional)
maxWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Maximum permitted horizontal width. Finite horizontal Flex intrinsic owners also accept intrinsic sizing requests; automatic remains invalid. See SizingLength.

View source — packages/core/src/lib/style/types.ts:97

minHeight (optional)
minHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Minimum permitted height. See Length.

View source — packages/core/src/lib/style/types.ts:99

maxHeight (optional)
maxHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Maximum permitted height. See Length.

View source — packages/core/src/lib/style/types.ts:101

padding (optional)
padding?: EdgeValues<number | `${number}%`> | undefined

Related API: EdgeValues.

Padding inside layout borders. Experimental allocated Flex percentages use owner content width for every edge. See EdgeValues, Percentage.

View source — packages/core/src/lib/style/types.ts:103

paddingStart (optional)
paddingStart?: number | `${number}%` | undefined

Nonnegative inline-start padding overriding its physical padding edge. Experimental percentages require an allocated Flex owner and use its content width. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:105

paddingEnd (optional)
paddingEnd?: number | `${number}%` | undefined

Nonnegative inline-end padding overriding its physical padding edge. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:107

borderWidth (optional)
borderWidth?: EdgeValues<number> | undefined

Related API: EdgeValues.

Layout-only physical border insets, in logical pixels. Defaults to zero; does not paint a stroke. See EdgeValues.

View source — packages/core/src/lib/style/types.ts:109

borderStartWidth (optional)
borderStartWidth?: number | undefined

Experimental nonnegative numeric inline-start layout border overriding its physical borderWidth edge. Does not paint a stroke. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:111

borderEndWidth (optional)
borderEndWidth?: number | undefined

Experimental nonnegative numeric inline-end layout border overriding its physical borderWidth edge. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:113

overflow (optional)
overflow?: "clip" | "visible" | undefined

Selects "visible", "clip" for overflow. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:115

margin (optional)
margin?: FlexMargin | undefined

Related API: FlexMargin.

Uniform physical margin in logical Canvas units, a percentage of allocated Flex content width, or auto on supported finite Flex axes. Finite negatives are allowed; specific edges override this value. Consumed by experimental Flex only. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:146

marginTop (optional)
marginTop?: FlexMargin | undefined

Related API: FlexMargin.

Physical top margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:148

marginRight (optional)
marginRight?: FlexMargin | undefined

Related API: FlexMargin.

Physical right margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:150

marginBottom (optional)
marginBottom?: FlexMargin | undefined

Related API: FlexMargin.

Physical bottom margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:152

marginLeft (optional)
marginLeft?: FlexMargin | undefined

Related API: FlexMargin.

Physical left margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:154

marginStart (optional)
marginStart?: FlexMargin | undefined

Related API: FlexMargin.

Inline-start margin overriding the corresponding physical edge and margin shorthand in experimental Flex. Signed percentages use allocated content width. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:156

marginEnd (optional)
marginEnd?: FlexMargin | undefined

Related API: FlexMargin.

Inline-end margin overriding the corresponding physical edge and margin shorthand in experimental Flex. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:158

alignSelf (optional)
alignSelf?: "auto" | "center" | "end" | "flex-end" | "flex-start" | "start" | "stretch" | undefined

This child’s cross-axis or block-axis alignment override. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:160

justifySelf (optional)
justifySelf?: "auto" | "center" | "end" | "start" | "stretch" | undefined

This child’s inline-axis alignment override. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:162

flexBasis (optional)
flexBasis?: SizingLength | undefined

Related API: SizingLength.

Initial main-axis size before flex growth or shrinkage. See SizingLength.

View source — packages/core/src/lib/style/types.ts:164

flexGrow (optional)
flexGrow?: number | undefined

Relative share of positive free space assigned to this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:166

flexShrink (optional)
flexShrink?: number | undefined

Relative factor used when reducing main-axis size. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:168

gridColumnStart (optional)
gridColumnStart?: number | undefined

Explicit starting grid column. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:170

gridColumnSpan (optional)
gridColumnSpan?: number | undefined

Number of columns occupied by this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:172

gridRowStart (optional)
gridRowStart?: number | undefined

Explicit starting grid row. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:174

gridRowSpan (optional)
gridRowSpan?: number | undefined

Number of rows occupied by this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:176

scaleX (optional)
scaleX?: number | undefined

Horizontal scale factor. See GStyle.

View source — packages/core/src/lib/components/g.ts:46

scaleY (optional)
scaleY?: number | undefined

Vertical scale factor. See GStyle.

View source — packages/core/src/lib/components/g.ts:48

rotationDegrees (optional)
rotationDegrees?: number | undefined

Clockwise rotation in degrees.

View source — packages/core/src/lib/components/g.ts:50

rotationOrigin (optional)
rotationOrigin?: [number, number] | undefined

Point around which the rotation is applied. See GStyle.

View source — packages/core/src/lib/components/g.ts:52

translateX (optional)
translateX?: number | undefined

Horizontal translation in the current logical coordinate system. See GStyle.

View source — packages/core/src/lib/components/g.ts:54

translateY (optional)
translateY?: number | undefined

Vertical translation in the current logical coordinate system. See GStyle.

View source — packages/core/src/lib/components/g.ts:56

skewX (optional)
skewX?: number | undefined

Horizontal skew angle in degrees.

View source — packages/core/src/lib/components/g.ts:58

skewY (optional)
skewY?: number | undefined

Vertical skew angle in degrees.

View source — packages/core/src/lib/components/g.ts:60

layoutParticipation (optional)
layoutParticipation?: "contents" | "hidden" | "normal" | undefined

Numeric layout participation. Hidden subtrees retain mounted ownership without geometry or paint; contents retains logical ancestry without owning a box. See SystemStyle.

View source — packages/core/src/lib/types.ts:69

transition (optional)
transition?: PibblTransitionBinding | undefined

Related API: PibblTransitionBinding.

Visibility-transition binding applied to this primitive and its captured descendants. See SystemStyle.

View source — packages/core/src/lib/types.ts:71

custom (optional)
custom?: unknown

Application-defined style payload passed through the runtime. See SystemStyle.

View source — packages/core/src/lib/types.ts:73

filter (optional)
filter?: PibblFilter | readonly PibblFilter[] | undefined

Related API: PibblFilter.

Ordered pixel-only filters applied to the receiving primitive and its descendants. See PibblFilter.

View source — packages/core/src/lib/types.ts:78

Pure Sankey inputs and finite output bounds. GraphLayout

interface SankeyOptions<N, E> extends SankeyAccessors<N, E>

Related API: SankeyOptions, SankeyAccessors.

View source — packages/core/src/features/viz/lib/graph/types.ts:627

bounds
readonly bounds: Readonly<{ x: number; y: number; width: number; height: number; }>

Finite local logical bounds for this geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:629

nodeWidth (optional)
readonly nodeWidth?: number | undefined

Width of Sankey nodes in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:631

nodeGap (optional)
readonly nodeGap?: number | undefined

Minimum gap between node marks in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:633

nodeKey
readonly nodeKey: Accessor<N, VizKey>

Related API: Accessor, VizKey.

Reads each node’s stable key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:86

edgeKey
readonly edgeKey: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads each edge’s stable key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:88

source
readonly source: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads an edge source key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:90

target
readonly target: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads an edge target key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:92

label (optional)
readonly label?: Accessor<N, string> | undefined

Related API: Accessor.

Optional reader for a node’s primary text. LabelGeometry

View source — packages/core/src/features/viz/lib/graph/types.ts:94

detail (optional)
readonly detail?: Accessor<N, string> | undefined

Related API: Accessor.

Optional reader for a node’s secondary text. LabelGeometry

View source — packages/core/src/features/viz/lib/graph/types.ts:96

value
readonly value: Accessor<E, number>

Related API: Accessor.

Reads the finite quantitative value. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:611

unit
readonly unit: string

Display unit for quantitative values. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:613

formatValue (optional)
readonly formatValue?: ((value: number) => string) | undefined

Formats a quantitative value for display. GraphLayout

  • value — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:617

Reactive Sankey data and default flow/node presentation. GraphLayout

interface SankeyProps<N, E> extends SankeyAccessors<N, E>

Related API: SankeyProps, SankeyAccessors.

View source — packages/core/src/features/viz/lib/graph/types.ts:636

graph
readonly graph: SignalValue<GraphData<N, E>>

Related API: SignalValue, GraphData.

Graph records; publish a new snapshot to update. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:638

style (optional)
readonly style?: Style<SankeyStyle> | undefined

Related API: Style, SankeyStyle.

Frame style and responsive size allocation. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:640

nodeStyle (optional)
readonly nodeStyle?: MarkStyle<SankeyNodeGeometry<N>, NodeStyle> | undefined

Related API: MarkStyle, SankeyNodeGeometry, NodeStyle.

Style or geometry-aware style for node marks. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:642

flowStyle (optional)
readonly flowStyle?: MarkStyle<SankeyFlowGeometry<E>, EdgeStyle> | undefined

Related API: MarkStyle, SankeyFlowGeometry, EdgeStyle.

Style or geometry-aware style for flow marks. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:644

labelStyle (optional)
readonly labelStyle?: Style<LabelStyle> | undefined

Related API: Style, LabelStyle.

Style for decorative labels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:646

renderNode (optional)
readonly renderNode?: ((node: SankeyNodeGeometry<N>) => PibblNode) | undefined

Related API: SankeyNodeGeometry, PibblNode.

Replaces the default node mark with this composition. GraphLayout

  • node — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:650

renderFlow (optional)
readonly renderFlow?: ((flow: SankeyFlowGeometry<E>) => PibblNode) | undefined

Related API: SankeyFlowGeometry, PibblNode.

Replaces the default flow mark with this composition. GraphLayout

  • flow — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:654

onNodeClick (optional)
readonly onNodeClick?: ((node: SankeyNodeGeometry<N>, event: ClickEvent) => void) | undefined

Related API: SankeyNodeGeometry.

Receives clicks on a node mark. GraphLayout

  • node — The source record or geometry supplied by Pibbl.

  • event — The source record or geometry supplied by Pibbl.

View source — packages/core/src/features/viz/lib/graph/types.ts:658

onFlowClick (optional)
readonly onFlowClick?: ((flow: SankeyFlowGeometry<E>, event: ClickEvent) => void) | undefined

Related API: SankeyFlowGeometry.

Receives clicks on a flow mark. GraphLayout

  • flow — The source record or geometry supplied by Pibbl.

  • event — The source record or geometry supplied by Pibbl.

View source — packages/core/src/features/viz/lib/graph/types.ts:665

nodeKey
readonly nodeKey: Accessor<N, VizKey>

Related API: Accessor, VizKey.

Reads each node’s stable key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:86

edgeKey
readonly edgeKey: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads each edge’s stable key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:88

source
readonly source: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads an edge source key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:90

target
readonly target: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads an edge target key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:92

label (optional)
readonly label?: Accessor<N, string> | undefined

Related API: Accessor.

Optional reader for a node’s primary text. LabelGeometry

View source — packages/core/src/features/viz/lib/graph/types.ts:94

detail (optional)
readonly detail?: Accessor<N, string> | undefined

Related API: Accessor.

Optional reader for a node’s secondary text. LabelGeometry

View source — packages/core/src/features/viz/lib/graph/types.ts:96

value
readonly value: Accessor<E, number>

Related API: Accessor.

Reads the finite quantitative value. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:611

unit
readonly unit: string

Display unit for quantitative values. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:613

formatValue (optional)
readonly formatValue?: ((value: number) => string) | undefined

Formats a quantitative value for display. GraphLayout

  • value — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:617

Ordered left, right, and edge records for a two-sided graph. GraphLayout

interface BipartiteData<L, R, E>

Related API: BipartiteData.

View source — packages/core/src/features/viz/lib/graph/types.ts:672

left
readonly left: readonly L[]

Left-side endpoint geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:674

right
readonly right: readonly R[]

Right-side endpoint geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:676

edges
readonly edges: readonly E[]

Source edges in application order. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:678

Typed keys and optional labels for both graph sides. GraphLayout

interface BipartiteAccessors<L, R, E>

Related API: BipartiteAccessors.

View source — packages/core/src/features/viz/lib/graph/types.ts:681

leftKey
readonly leftKey: Accessor<L, VizKey>

Related API: Accessor, VizKey.

Reads each left-side record’s stable key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:683

rightKey
readonly rightKey: Accessor<R, VizKey>

Related API: Accessor, VizKey.

Reads each right-side record’s stable key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:685

edgeKey
readonly edgeKey: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads each edge’s stable key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:687

source
readonly source: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads an edge source key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:689

target
readonly target: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads an edge target key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:691

leftLabel (optional)
readonly leftLabel?: Accessor<L, string> | undefined

Related API: Accessor.

Optional reader for a left-side label. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:693

rightLabel (optional)
readonly rightLabel?: Accessor<R, string> | undefined

Related API: Accessor.

Optional reader for a right-side label. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:695

Edge geometry retaining side-qualified endpoints. GraphLayout

interface BipartiteEdgeGeometry<L, R, E> extends GraphEdgeGeometry<E>

Related API: BipartiteEdgeGeometry, GraphEdgeGeometry.

View source — packages/core/src/features/viz/lib/graph/types.ts:698

left
readonly left: GraphNodeGeometry<L>

Related API: GraphNodeGeometry.

Left-side endpoint geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:700

right
readonly right: GraphNodeGeometry<R>

Related API: GraphNodeGeometry.

Right-side endpoint geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:702

key
readonly key: VizKey

Related API: VizKey.

Stable application-provided key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:126

datum
readonly datum: E

Original application record. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:128

sourceKey
readonly sourceKey: VizKey

Related API: VizKey.

Stable key of the edge source node. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:130

targetKey
readonly targetKey: VizKey

Related API: VizKey.

Stable key of the edge target node. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:132

route
readonly route: GraphRoute

Related API: GraphRoute.

Structured route used to produce the serialized path. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:134

path
readonly path: string

SVG path serialization of the route. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:136

arrowPath
readonly arrowPath: string | null

Optional SVG path for the route arrow. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:138

Immutable left nodes, right nodes, and their connecting edges. GraphLayout

interface BipartiteLayout<L, R, E>

Related API: BipartiteLayout.

View source — packages/core/src/features/viz/lib/graph/types.ts:705

bounds
readonly bounds: Readonly<{ x: number; y: number; width: number; height: number; }>

Finite local logical bounds for this geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:707

left
readonly left: readonly GraphNodeGeometry<L>[]

Related API: GraphNodeGeometry.

Left-side endpoint geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:709

right
readonly right: readonly GraphNodeGeometry<R>[]

Related API: GraphNodeGeometry.

Right-side endpoint geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:711

edges
readonly edges: readonly BipartiteEdgeGeometry<L, R, E>[]

Related API: BipartiteEdgeGeometry.

Source edges in application order. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:713

Frame options for two-sided graph columns and node spacing. GraphLayout

interface BipartiteStyle extends GStyle

Related API: BipartiteStyle, GStyle.

View source — packages/core/src/features/viz/lib/graph/types.ts:716

columnGap (optional)
readonly columnGap?: number | undefined

Distance between bipartite columns in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:718

nodeGap (optional)
readonly nodeGap?: number | undefined

Minimum gap between node marks in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:720

position (optional)
position?: "absolute" | "relative" | "static" | undefined

Experimental direct-Flex placement mode. In a finite Flex, static keeps the allocated slot and ignores insets; relative offsets final geometry once without moving siblings. Primitive static/relative leaves support every main/writing direction and wrapping mode. Wrapped parents admit fixed numeric direct Flex owners that remain internally nowrap; non-row chains use the same fixed owner restriction, with zero grow/shrink and omitted or automatic basis; physical offsets retain their sign through main reversal. Absolute stays out of sibling allocation, using the padding box for explicit insets and content alignment for omitted axes. Fixed numeric, percentage and admitted automatic absolute profiles support all main directions and RTL, with numeric or percentage bounds applied before placement. In every wrapping mode, omitted axes use whole-content main/cross alignment; wrap-reverse reverses omitted cross alignment and combines with column RTL exactly once. Paired natural providers keep their exact/unbounded query in every admitted direction. Direct wrapped Text with a generic pixel font and visible fit/overflow may measure automatic height at a resolved numeric or percentage width through the same owned query. Unwrapped Text may measure automatic width at a resolved numeric or percentage height, using its existing Canvas ink-bounds width before bounds and physical anchoring. Generic unwrapped Text also supports natural ink height and both automatic dimensions through one unbounded query before independent numeric clamps; mixed opposing-pair/natural feedback and both-auto aspect remain excluded. On the documented finite direct-child path, automatic absolute axes resolve from opposing numeric or percentage physical insets. With a positive finite aspectRatio, exactly one automatic axis can instead derive from its resolved declared finite numeric or percentage opposite axis. Opposing insets win. Finite numeric or percentage min/max bounds clamp used axes independently after derivation; a clamp does not recouple aspectRatio, and a numeric minimum above its maximum rejects. A direct custom primitive with paired pure measurement providers may instead measure natural automatic width at a declared numeric or percentage height, or natural height at a declared numeric or percentage width. The automatic axis is unbounded; the exact axis uses its declared resolved padding-box value before bounds clamp the used dimensions. In direct declarative Flex chains, static Flex passes the containing box outward while relative Flex owns a local box. Omission retains the legacy local Flex boundary and left/top behavior.

View source — packages/core/src/lib/style/positioning.ts:194

left (optional)
left?: number | `${number}%` | undefined

Left edge coordinate or inset. Explicit absolute Flex insets accept finite numbers or percentages of the containing padding-box axis; relative percentages use the parent content-box axis. See Length.

View source — packages/core/src/lib/style/positioning.ts:196

right (optional)
right?: number | `${number}%` | undefined

Right edge inset. Absolute Flex accepts finite numbers or percentages of the containing padding-box width; relative percentages use the parent content-box width. See Length.

View source — packages/core/src/lib/style/positioning.ts:198

top (optional)
top?: number | `${number}%` | undefined

Top edge coordinate or inset. Explicit absolute Flex insets accept finite numbers or percentages of the containing padding-box axis; relative percentages use the parent content-box axis. See Length.

View source — packages/core/src/lib/style/positioning.ts:200

bottom (optional)
bottom?: number | `${number}%` | undefined

Bottom edge inset. Absolute Flex accepts finite numbers or percentages of the containing padding-box height; relative percentages use the parent content-box height. See Length.

View source — packages/core/src/lib/style/positioning.ts:202

insetStart (optional)
insetStart?: number | `${number}%` | undefined

Experimental direct absolute Flex inline-start inset, mapped through the receiving Flex direction. Overrides the corresponding physical edge, including zero. Percentages use the selected containing padding-box width. See Length.

View source — packages/core/src/lib/style/positioning.ts:204

insetEnd (optional)
insetEnd?: number | `${number}%` | undefined

Experimental direct absolute Flex inline-end inset, mapped through the receiving Flex direction. Overrides the corresponding physical edge. See Length.

View source — packages/core/src/lib/style/positioning.ts:206

aspectRatio (optional)
aspectRatio?: number | undefined

Positive finite width/height ratio. A declared definite axis derives the automatic axis before its bounds; boxSizing selects content or border geometry. See resolveBox.

View source — packages/core/src/lib/style/types.ts:84

boxSizing (optional)
boxSizing?: "border-box" | "content-box" | undefined

Selects whether dimensions, bounds and Flex basis include padding and layout borders. Defaults to content-box. Border-box content floors at zero and the outer box floors at total axis padding plus layout borders. Painted stroke widths remain independent. See ResolvedBoxStyle.

View source — packages/core/src/lib/style/types.ts:89

width (optional)
width?: SizingLength | undefined

Related API: SizingLength.

Horizontal extent in the units of the containing geometry or surface. See SizingLength.

View source — packages/core/src/lib/style/types.ts:91

height (optional)
height?: SizingLength | undefined

Related API: SizingLength.

Vertical extent in the units of the containing geometry or surface. See SizingLength.

View source — packages/core/src/lib/style/types.ts:93

minWidth (optional)
minWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Minimum permitted horizontal width. Finite horizontal Flex intrinsic owners also accept intrinsic sizing requests; automatic remains invalid. See SizingLength.

View source — packages/core/src/lib/style/types.ts:95

maxWidth (optional)
maxWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Maximum permitted horizontal width. Finite horizontal Flex intrinsic owners also accept intrinsic sizing requests; automatic remains invalid. See SizingLength.

View source — packages/core/src/lib/style/types.ts:97

minHeight (optional)
minHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Minimum permitted height. See Length.

View source — packages/core/src/lib/style/types.ts:99

maxHeight (optional)
maxHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Maximum permitted height. See Length.

View source — packages/core/src/lib/style/types.ts:101

padding (optional)
padding?: EdgeValues<number | `${number}%`> | undefined

Related API: EdgeValues.

Padding inside layout borders. Experimental allocated Flex percentages use owner content width for every edge. See EdgeValues, Percentage.

View source — packages/core/src/lib/style/types.ts:103

paddingStart (optional)
paddingStart?: number | `${number}%` | undefined

Nonnegative inline-start padding overriding its physical padding edge. Experimental percentages require an allocated Flex owner and use its content width. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:105

paddingEnd (optional)
paddingEnd?: number | `${number}%` | undefined

Nonnegative inline-end padding overriding its physical padding edge. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:107

borderWidth (optional)
borderWidth?: EdgeValues<number> | undefined

Related API: EdgeValues.

Layout-only physical border insets, in logical pixels. Defaults to zero; does not paint a stroke. See EdgeValues.

View source — packages/core/src/lib/style/types.ts:109

borderStartWidth (optional)
borderStartWidth?: number | undefined

Experimental nonnegative numeric inline-start layout border overriding its physical borderWidth edge. Does not paint a stroke. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:111

borderEndWidth (optional)
borderEndWidth?: number | undefined

Experimental nonnegative numeric inline-end layout border overriding its physical borderWidth edge. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:113

overflow (optional)
overflow?: "clip" | "visible" | undefined

Selects "visible", "clip" for overflow. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:115

margin (optional)
margin?: FlexMargin | undefined

Related API: FlexMargin.

Uniform physical margin in logical Canvas units, a percentage of allocated Flex content width, or auto on supported finite Flex axes. Finite negatives are allowed; specific edges override this value. Consumed by experimental Flex only. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:146

marginTop (optional)
marginTop?: FlexMargin | undefined

Related API: FlexMargin.

Physical top margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:148

marginRight (optional)
marginRight?: FlexMargin | undefined

Related API: FlexMargin.

Physical right margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:150

marginBottom (optional)
marginBottom?: FlexMargin | undefined

Related API: FlexMargin.

Physical bottom margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:152

marginLeft (optional)
marginLeft?: FlexMargin | undefined

Related API: FlexMargin.

Physical left margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:154

marginStart (optional)
marginStart?: FlexMargin | undefined

Related API: FlexMargin.

Inline-start margin overriding the corresponding physical edge and margin shorthand in experimental Flex. Signed percentages use allocated content width. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:156

marginEnd (optional)
marginEnd?: FlexMargin | undefined

Related API: FlexMargin.

Inline-end margin overriding the corresponding physical edge and margin shorthand in experimental Flex. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:158

alignSelf (optional)
alignSelf?: "auto" | "center" | "end" | "flex-end" | "flex-start" | "start" | "stretch" | undefined

This child’s cross-axis or block-axis alignment override. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:160

justifySelf (optional)
justifySelf?: "auto" | "center" | "end" | "start" | "stretch" | undefined

This child’s inline-axis alignment override. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:162

flexBasis (optional)
flexBasis?: SizingLength | undefined

Related API: SizingLength.

Initial main-axis size before flex growth or shrinkage. See SizingLength.

View source — packages/core/src/lib/style/types.ts:164

flexGrow (optional)
flexGrow?: number | undefined

Relative share of positive free space assigned to this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:166

flexShrink (optional)
flexShrink?: number | undefined

Relative factor used when reducing main-axis size. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:168

gridColumnStart (optional)
gridColumnStart?: number | undefined

Explicit starting grid column. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:170

gridColumnSpan (optional)
gridColumnSpan?: number | undefined

Number of columns occupied by this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:172

gridRowStart (optional)
gridRowStart?: number | undefined

Explicit starting grid row. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:174

gridRowSpan (optional)
gridRowSpan?: number | undefined

Number of rows occupied by this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:176

scaleX (optional)
scaleX?: number | undefined

Horizontal scale factor. See GStyle.

View source — packages/core/src/lib/components/g.ts:46

scaleY (optional)
scaleY?: number | undefined

Vertical scale factor. See GStyle.

View source — packages/core/src/lib/components/g.ts:48

rotationDegrees (optional)
rotationDegrees?: number | undefined

Clockwise rotation in degrees.

View source — packages/core/src/lib/components/g.ts:50

rotationOrigin (optional)
rotationOrigin?: [number, number] | undefined

Point around which the rotation is applied. See GStyle.

View source — packages/core/src/lib/components/g.ts:52

translateX (optional)
translateX?: number | undefined

Horizontal translation in the current logical coordinate system. See GStyle.

View source — packages/core/src/lib/components/g.ts:54

translateY (optional)
translateY?: number | undefined

Vertical translation in the current logical coordinate system. See GStyle.

View source — packages/core/src/lib/components/g.ts:56

skewX (optional)
skewX?: number | undefined

Horizontal skew angle in degrees.

View source — packages/core/src/lib/components/g.ts:58

skewY (optional)
skewY?: number | undefined

Vertical skew angle in degrees.

View source — packages/core/src/lib/components/g.ts:60

layoutParticipation (optional)
layoutParticipation?: "contents" | "hidden" | "normal" | undefined

Numeric layout participation. Hidden subtrees retain mounted ownership without geometry or paint; contents retains logical ancestry without owning a box. See SystemStyle.

View source — packages/core/src/lib/types.ts:69

transition (optional)
transition?: PibblTransitionBinding | undefined

Related API: PibblTransitionBinding.

Visibility-transition binding applied to this primitive and its captured descendants. See SystemStyle.

View source — packages/core/src/lib/types.ts:71

custom (optional)
custom?: unknown

Application-defined style payload passed through the runtime. See SystemStyle.

View source — packages/core/src/lib/types.ts:73

filter (optional)
filter?: PibblFilter | readonly PibblFilter[] | undefined

Related API: PibblFilter.

Ordered pixel-only filters applied to the receiving primitive and its descendants. See PibblFilter.

View source — packages/core/src/lib/types.ts:78

Pure bipartite inputs, side dimensions, and finite bounds. GraphLayout

interface BipartiteOptions<L, R, E> extends BipartiteAccessors<L, R, E>

Related API: BipartiteOptions, BipartiteAccessors.

View source — packages/core/src/features/viz/lib/graph/types.ts:723

bounds
readonly bounds: Readonly<{ x: number; y: number; width: number; height: number; }>

Finite local logical bounds for this geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:725

leftSize (optional)
readonly leftSize?: Size | ((datum: L) => Size) | undefined

Related API: Size.

Optional left-node size reader in local logical pixels. GraphLayout

  • datum — Left-side source record to measure.

Finite local logical size.

View source — packages/core/src/features/viz/lib/graph/types.ts:729

rightSize (optional)
readonly rightSize?: Size | ((datum: R) => Size) | undefined

Related API: Size.

Optional right-node size reader in local logical pixels. GraphLayout

  • datum — Right-side source record to measure.

Finite local logical size.

View source — packages/core/src/features/viz/lib/graph/types.ts:737

columnGap (optional)
readonly columnGap?: number | undefined

Distance between bipartite columns in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:743

nodeGap (optional)
readonly nodeGap?: number | undefined

Minimum gap between node marks in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:745

leftKey
readonly leftKey: Accessor<L, VizKey>

Related API: Accessor, VizKey.

Reads each left-side record’s stable key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:683

rightKey
readonly rightKey: Accessor<R, VizKey>

Related API: Accessor, VizKey.

Reads each right-side record’s stable key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:685

edgeKey
readonly edgeKey: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads each edge’s stable key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:687

source
readonly source: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads an edge source key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:689

target
readonly target: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads an edge target key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:691

leftLabel (optional)
readonly leftLabel?: Accessor<L, string> | undefined

Related API: Accessor.

Optional reader for a left-side label. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:693

rightLabel (optional)
readonly rightLabel?: Accessor<R, string> | undefined

Related API: Accessor.

Optional reader for a right-side label. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:695

Reactive bipartite data and side-specific mark presentation. GraphLayout

interface BipartiteGraphProps<L, R, E> extends BipartiteAccessors<
L,
R,
E
>

Related API: BipartiteGraphProps, BipartiteAccessors.

View source — packages/core/src/features/viz/lib/graph/types.ts:748

graph
readonly graph: SignalValue<BipartiteData<L, R, E>>

Related API: SignalValue, BipartiteData.

Graph records; publish a new snapshot to update. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:754

leftSize (optional)
readonly leftSize?: Size | ((datum: L) => Size) | undefined

Related API: Size.

Optional left-node size reader in local logical pixels. GraphLayout

  • datum — Left-side source record to measure.

Finite local logical size.

View source — packages/core/src/features/viz/lib/graph/types.ts:758

rightSize (optional)
readonly rightSize?: Size | ((datum: R) => Size) | undefined

Related API: Size.

Optional right-node size reader in local logical pixels. GraphLayout

  • datum — Right-side source record to measure.

Finite local logical size.

View source — packages/core/src/features/viz/lib/graph/types.ts:766

style (optional)
readonly style?: Style<BipartiteStyle> | undefined

Related API: Style, BipartiteStyle.

Frame style and responsive size allocation. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:772

leftNodeStyle (optional)
readonly leftNodeStyle?: MarkStyle<GraphNodeGeometry<L>, NodeStyle> | undefined

Related API: MarkStyle, GraphNodeGeometry, NodeStyle.

Style or geometry-aware style for left nodes. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:774

rightNodeStyle (optional)
readonly rightNodeStyle?: MarkStyle<GraphNodeGeometry<R>, NodeStyle> | undefined

Related API: MarkStyle, GraphNodeGeometry, NodeStyle.

Style or geometry-aware style for right nodes. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:776

edgeStyle (optional)
readonly edgeStyle?: MarkStyle<BipartiteEdgeGeometry<L, R, E>, EdgeStyle> | undefined

Related API: MarkStyle, BipartiteEdgeGeometry, EdgeStyle.

Style or geometry-aware style for edge marks. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:778

labelStyle (optional)
readonly labelStyle?: Style<LabelStyle> | undefined

Related API: Style, LabelStyle.

Style for decorative labels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:780

renderLeftNode (optional)
readonly renderLeftNode?: ((node: GraphNodeGeometry<L>) => PibblNode) | undefined

Related API: GraphNodeGeometry, PibblNode.

Replaces a default left-node mark. GraphLayout

  • node — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:784

renderRightNode (optional)
readonly renderRightNode?: ((node: GraphNodeGeometry<R>) => PibblNode) | undefined

Related API: GraphNodeGeometry, PibblNode.

Replaces a default right-node mark. GraphLayout

  • node — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:788

renderEdge (optional)
readonly renderEdge?: ((edge: BipartiteEdgeGeometry<L, R, E>) => PibblNode) | undefined

Related API: BipartiteEdgeGeometry, PibblNode.

Replaces the default edge mark with this composition. GraphLayout

  • edge — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:792

onLeftNodeClick (optional)
readonly onLeftNodeClick?: ((node: GraphNodeGeometry<L>, event: ClickEvent) => void) | undefined

Related API: GraphNodeGeometry.

Receives clicks on left-side nodes. GraphLayout

  • node — The source record or geometry supplied by Pibbl.

  • event — The source record or geometry supplied by Pibbl.

View source — packages/core/src/features/viz/lib/graph/types.ts:796

onRightNodeClick (optional)
readonly onRightNodeClick?: ((node: GraphNodeGeometry<R>, event: ClickEvent) => void) | undefined

Related API: GraphNodeGeometry.

Receives clicks on right-side nodes. GraphLayout

  • node — The source record or geometry supplied by Pibbl.

  • event — The source record or geometry supplied by Pibbl.

View source — packages/core/src/features/viz/lib/graph/types.ts:803

onEdgeClick (optional)
readonly onEdgeClick?: ((edge: BipartiteEdgeGeometry<L, R, E>, event: ClickEvent) => void) | undefined

Related API: BipartiteEdgeGeometry.

Receives clicks on an edge mark. GraphLayout

  • edge — The source record or geometry supplied by Pibbl.

  • event — The source record or geometry supplied by Pibbl.

View source — packages/core/src/features/viz/lib/graph/types.ts:810

leftKey
readonly leftKey: Accessor<L, VizKey>

Related API: Accessor, VizKey.

Reads each left-side record’s stable key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:683

rightKey
readonly rightKey: Accessor<R, VizKey>

Related API: Accessor, VizKey.

Reads each right-side record’s stable key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:685

edgeKey
readonly edgeKey: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads each edge’s stable key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:687

source
readonly source: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads an edge source key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:689

target
readonly target: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads an edge target key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:691

leftLabel (optional)
readonly leftLabel?: Accessor<L, string> | undefined

Related API: Accessor.

Optional reader for a left-side label. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:693

rightLabel (optional)
readonly rightLabel?: Accessor<R, string> | undefined

Related API: Accessor.

Optional reader for a right-side label. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:695

Hierarchy readers plus a leaf quantity, unit, and optional formatter. GraphLayout

interface PartitionAccessors<D> extends HierarchyAccessors<D>

Related API: PartitionAccessors, HierarchyAccessors.

View source — packages/core/src/features/viz/lib/graph/types.ts:817

value
readonly value: Accessor<D, number>

Related API: Accessor.

Reads the finite quantitative value. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:819

unit
readonly unit: string

Display unit for quantitative values. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:821

formatValue (optional)
readonly formatValue?: ((value: number) => string) | undefined

Formats a quantitative value for display. GraphLayout

  • value — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:825

keyBy
readonly keyBy: Accessor<D, VizKey>

Related API: Accessor, VizKey.

Reads each hierarchy record’s stable key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:359

childrenBy
readonly childrenBy: Accessor<D, readonly D[] | null | undefined>

Related API: Accessor.

Reads ordered child records; null and undefined mean no children. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:361

label (optional)
readonly label?: Accessor<D, string> | undefined

Related API: Accessor.

Optional reader for a node’s primary text. LabelGeometry

View source — packages/core/src/features/viz/lib/graph/types.ts:363

collapsed (optional)
readonly collapsed?: ((node: D) => boolean) | undefined

Whether this item hides its descendants. GraphLayout

  • node — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:367

Immutable hierarchy-cell geometry with aggregate quantity metadata. GraphLayout

interface PartitionCellGeometry<D>

Related API: PartitionCellGeometry.

View source — packages/core/src/features/viz/lib/graph/types.ts:828

key
readonly key: VizKey

Related API: VizKey.

Stable application-provided key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:830

datum
readonly datum: D

Original application record. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:832

parentKey
readonly parentKey: VizKey | null

Related API: VizKey.

Parent key, or null for a top-level item. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:834

depth
readonly depth: number

Zero-based hierarchy depth. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:836

value
readonly value: number

Reads the finite quantitative value. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:838

fraction
readonly fraction: number

Share of the root total from zero through one. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:840

isLeaf
readonly isLeaf: boolean

Whether the original record has no children. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:842

collapsed
readonly collapsed: boolean

Whether this item hides its descendants. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:844

bounds
readonly bounds: Readonly<{ x: number; y: number; width: number; height: number; }>

Finite local logical bounds for this geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:846

label
readonly label: LabelGeometry | null

Related API: LabelGeometry.

Decorative label geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:848

Immutable hierarchy partition cells and root total. GraphLayout

interface PartitionLayout<D>

Related API: PartitionLayout.

View source — packages/core/src/features/viz/lib/graph/types.ts:851

bounds
readonly bounds: Readonly<{ x: number; y: number; width: number; height: number; }>

Finite local logical bounds for this geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:853

rootKey
readonly rootKey: VizKey

Related API: VizKey.

Stable key of the hierarchy root. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:855

total
readonly total: number

Sum of all source leaf values. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:857

unit
readonly unit: string

Display unit for quantitative values. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:859

cells
readonly cells: readonly PartitionCellGeometry<D>[]

Related API: PartitionCellGeometry.

Immutable cells in source-stable layout order. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:861

Default partition-cell paint, rendering, and click behavior. GraphLayout

interface PartitionPresentation<D>

Related API: PartitionPresentation.

View source — packages/core/src/features/viz/lib/graph/types.ts:864

cellStyle (optional)
readonly cellStyle?: MarkStyle<PartitionCellGeometry<D>, NodeStyle> | undefined

Related API: MarkStyle, PartitionCellGeometry, NodeStyle.

Style or geometry-aware style for cell marks. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:866

labelStyle (optional)
readonly labelStyle?: Style<LabelStyle> | undefined

Related API: Style, LabelStyle.

Style for decorative labels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:868

renderCell (optional)
readonly renderCell?: ((cell: PartitionCellGeometry<D>) => PibblNode) | undefined

Related API: PartitionCellGeometry, PibblNode.

Replaces the default cell mark with this composition. GraphLayout

  • cell — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:872

onCellClick (optional)
readonly onCellClick?: ((cell: PartitionCellGeometry<D>, event: ClickEvent) => void) | undefined

Related API: PartitionCellGeometry.

Receives clicks on a cell mark. GraphLayout

  • cell — The source record or geometry supplied by Pibbl.

  • event — The source record or geometry supplied by Pibbl.

View source — packages/core/src/features/viz/lib/graph/types.ts:876

Frame options for squarified-cell gaps, padding, and headers. GraphLayout

interface TreemapStyle extends GStyle

Related API: TreemapStyle, GStyle.

View source — packages/core/src/features/viz/lib/graph/types.ts:882

cellGap (optional)
readonly cellGap?: number | undefined

Gap between cells in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:884

padding (optional)
readonly padding?: number | undefined

Inset inside each parent cell in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:886

headerHeight (optional)
readonly headerHeight?: number | undefined

Reserved parent-header height in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:888

position (optional)
position?: "absolute" | "relative" | "static" | undefined

Experimental direct-Flex placement mode. In a finite Flex, static keeps the allocated slot and ignores insets; relative offsets final geometry once without moving siblings. Primitive static/relative leaves support every main/writing direction and wrapping mode. Wrapped parents admit fixed numeric direct Flex owners that remain internally nowrap; non-row chains use the same fixed owner restriction, with zero grow/shrink and omitted or automatic basis; physical offsets retain their sign through main reversal. Absolute stays out of sibling allocation, using the padding box for explicit insets and content alignment for omitted axes. Fixed numeric, percentage and admitted automatic absolute profiles support all main directions and RTL, with numeric or percentage bounds applied before placement. In every wrapping mode, omitted axes use whole-content main/cross alignment; wrap-reverse reverses omitted cross alignment and combines with column RTL exactly once. Paired natural providers keep their exact/unbounded query in every admitted direction. Direct wrapped Text with a generic pixel font and visible fit/overflow may measure automatic height at a resolved numeric or percentage width through the same owned query. Unwrapped Text may measure automatic width at a resolved numeric or percentage height, using its existing Canvas ink-bounds width before bounds and physical anchoring. Generic unwrapped Text also supports natural ink height and both automatic dimensions through one unbounded query before independent numeric clamps; mixed opposing-pair/natural feedback and both-auto aspect remain excluded. On the documented finite direct-child path, automatic absolute axes resolve from opposing numeric or percentage physical insets. With a positive finite aspectRatio, exactly one automatic axis can instead derive from its resolved declared finite numeric or percentage opposite axis. Opposing insets win. Finite numeric or percentage min/max bounds clamp used axes independently after derivation; a clamp does not recouple aspectRatio, and a numeric minimum above its maximum rejects. A direct custom primitive with paired pure measurement providers may instead measure natural automatic width at a declared numeric or percentage height, or natural height at a declared numeric or percentage width. The automatic axis is unbounded; the exact axis uses its declared resolved padding-box value before bounds clamp the used dimensions. In direct declarative Flex chains, static Flex passes the containing box outward while relative Flex owns a local box. Omission retains the legacy local Flex boundary and left/top behavior.

View source — packages/core/src/lib/style/positioning.ts:194

left (optional)
left?: number | `${number}%` | undefined

Left edge coordinate or inset. Explicit absolute Flex insets accept finite numbers or percentages of the containing padding-box axis; relative percentages use the parent content-box axis. See Length.

View source — packages/core/src/lib/style/positioning.ts:196

right (optional)
right?: number | `${number}%` | undefined

Right edge inset. Absolute Flex accepts finite numbers or percentages of the containing padding-box width; relative percentages use the parent content-box width. See Length.

View source — packages/core/src/lib/style/positioning.ts:198

top (optional)
top?: number | `${number}%` | undefined

Top edge coordinate or inset. Explicit absolute Flex insets accept finite numbers or percentages of the containing padding-box axis; relative percentages use the parent content-box axis. See Length.

View source — packages/core/src/lib/style/positioning.ts:200

bottom (optional)
bottom?: number | `${number}%` | undefined

Bottom edge inset. Absolute Flex accepts finite numbers or percentages of the containing padding-box height; relative percentages use the parent content-box height. See Length.

View source — packages/core/src/lib/style/positioning.ts:202

insetStart (optional)
insetStart?: number | `${number}%` | undefined

Experimental direct absolute Flex inline-start inset, mapped through the receiving Flex direction. Overrides the corresponding physical edge, including zero. Percentages use the selected containing padding-box width. See Length.

View source — packages/core/src/lib/style/positioning.ts:204

insetEnd (optional)
insetEnd?: number | `${number}%` | undefined

Experimental direct absolute Flex inline-end inset, mapped through the receiving Flex direction. Overrides the corresponding physical edge. See Length.

View source — packages/core/src/lib/style/positioning.ts:206

aspectRatio (optional)
aspectRatio?: number | undefined

Positive finite width/height ratio. A declared definite axis derives the automatic axis before its bounds; boxSizing selects content or border geometry. See resolveBox.

View source — packages/core/src/lib/style/types.ts:84

boxSizing (optional)
boxSizing?: "border-box" | "content-box" | undefined

Selects whether dimensions, bounds and Flex basis include padding and layout borders. Defaults to content-box. Border-box content floors at zero and the outer box floors at total axis padding plus layout borders. Painted stroke widths remain independent. See ResolvedBoxStyle.

View source — packages/core/src/lib/style/types.ts:89

width (optional)
width?: SizingLength | undefined

Related API: SizingLength.

Horizontal extent in the units of the containing geometry or surface. See SizingLength.

View source — packages/core/src/lib/style/types.ts:91

height (optional)
height?: SizingLength | undefined

Related API: SizingLength.

Vertical extent in the units of the containing geometry or surface. See SizingLength.

View source — packages/core/src/lib/style/types.ts:93

minWidth (optional)
minWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Minimum permitted horizontal width. Finite horizontal Flex intrinsic owners also accept intrinsic sizing requests; automatic remains invalid. See SizingLength.

View source — packages/core/src/lib/style/types.ts:95

maxWidth (optional)
maxWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Maximum permitted horizontal width. Finite horizontal Flex intrinsic owners also accept intrinsic sizing requests; automatic remains invalid. See SizingLength.

View source — packages/core/src/lib/style/types.ts:97

minHeight (optional)
minHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Minimum permitted height. See Length.

View source — packages/core/src/lib/style/types.ts:99

maxHeight (optional)
maxHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Maximum permitted height. See Length.

View source — packages/core/src/lib/style/types.ts:101

paddingStart (optional)
paddingStart?: number | `${number}%` | undefined

Nonnegative inline-start padding overriding its physical padding edge. Experimental percentages require an allocated Flex owner and use its content width. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:105

paddingEnd (optional)
paddingEnd?: number | `${number}%` | undefined

Nonnegative inline-end padding overriding its physical padding edge. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:107

borderWidth (optional)
borderWidth?: EdgeValues<number> | undefined

Related API: EdgeValues.

Layout-only physical border insets, in logical pixels. Defaults to zero; does not paint a stroke. See EdgeValues.

View source — packages/core/src/lib/style/types.ts:109

borderStartWidth (optional)
borderStartWidth?: number | undefined

Experimental nonnegative numeric inline-start layout border overriding its physical borderWidth edge. Does not paint a stroke. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:111

borderEndWidth (optional)
borderEndWidth?: number | undefined

Experimental nonnegative numeric inline-end layout border overriding its physical borderWidth edge. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:113

overflow (optional)
overflow?: "clip" | "visible" | undefined

Selects "visible", "clip" for overflow. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:115

margin (optional)
margin?: FlexMargin | undefined

Related API: FlexMargin.

Uniform physical margin in logical Canvas units, a percentage of allocated Flex content width, or auto on supported finite Flex axes. Finite negatives are allowed; specific edges override this value. Consumed by experimental Flex only. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:146

marginTop (optional)
marginTop?: FlexMargin | undefined

Related API: FlexMargin.

Physical top margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:148

marginRight (optional)
marginRight?: FlexMargin | undefined

Related API: FlexMargin.

Physical right margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:150

marginBottom (optional)
marginBottom?: FlexMargin | undefined

Related API: FlexMargin.

Physical bottom margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:152

marginLeft (optional)
marginLeft?: FlexMargin | undefined

Related API: FlexMargin.

Physical left margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:154

marginStart (optional)
marginStart?: FlexMargin | undefined

Related API: FlexMargin.

Inline-start margin overriding the corresponding physical edge and margin shorthand in experimental Flex. Signed percentages use allocated content width. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:156

marginEnd (optional)
marginEnd?: FlexMargin | undefined

Related API: FlexMargin.

Inline-end margin overriding the corresponding physical edge and margin shorthand in experimental Flex. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:158

alignSelf (optional)
alignSelf?: "auto" | "center" | "end" | "flex-end" | "flex-start" | "start" | "stretch" | undefined

This child’s cross-axis or block-axis alignment override. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:160

justifySelf (optional)
justifySelf?: "auto" | "center" | "end" | "start" | "stretch" | undefined

This child’s inline-axis alignment override. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:162

flexBasis (optional)
flexBasis?: SizingLength | undefined

Related API: SizingLength.

Initial main-axis size before flex growth or shrinkage. See SizingLength.

View source — packages/core/src/lib/style/types.ts:164

flexGrow (optional)
flexGrow?: number | undefined

Relative share of positive free space assigned to this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:166

flexShrink (optional)
flexShrink?: number | undefined

Relative factor used when reducing main-axis size. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:168

gridColumnStart (optional)
gridColumnStart?: number | undefined

Explicit starting grid column. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:170

gridColumnSpan (optional)
gridColumnSpan?: number | undefined

Number of columns occupied by this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:172

gridRowStart (optional)
gridRowStart?: number | undefined

Explicit starting grid row. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:174

gridRowSpan (optional)
gridRowSpan?: number | undefined

Number of rows occupied by this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:176

scaleX (optional)
scaleX?: number | undefined

Horizontal scale factor. See GStyle.

View source — packages/core/src/lib/components/g.ts:46

scaleY (optional)
scaleY?: number | undefined

Vertical scale factor. See GStyle.

View source — packages/core/src/lib/components/g.ts:48

rotationDegrees (optional)
rotationDegrees?: number | undefined

Clockwise rotation in degrees.

View source — packages/core/src/lib/components/g.ts:50

rotationOrigin (optional)
rotationOrigin?: [number, number] | undefined

Point around which the rotation is applied. See GStyle.

View source — packages/core/src/lib/components/g.ts:52

translateX (optional)
translateX?: number | undefined

Horizontal translation in the current logical coordinate system. See GStyle.

View source — packages/core/src/lib/components/g.ts:54

translateY (optional)
translateY?: number | undefined

Vertical translation in the current logical coordinate system. See GStyle.

View source — packages/core/src/lib/components/g.ts:56

skewX (optional)
skewX?: number | undefined

Horizontal skew angle in degrees.

View source — packages/core/src/lib/components/g.ts:58

skewY (optional)
skewY?: number | undefined

Vertical skew angle in degrees.

View source — packages/core/src/lib/components/g.ts:60

layoutParticipation (optional)
layoutParticipation?: "contents" | "hidden" | "normal" | undefined

Numeric layout participation. Hidden subtrees retain mounted ownership without geometry or paint; contents retains logical ancestry without owning a box. See SystemStyle.

View source — packages/core/src/lib/types.ts:69

transition (optional)
transition?: PibblTransitionBinding | undefined

Related API: PibblTransitionBinding.

Visibility-transition binding applied to this primitive and its captured descendants. See SystemStyle.

View source — packages/core/src/lib/types.ts:71

custom (optional)
custom?: unknown

Application-defined style payload passed through the runtime. See SystemStyle.

View source — packages/core/src/lib/types.ts:73

filter (optional)
filter?: PibblFilter | readonly PibblFilter[] | undefined

Related API: PibblFilter.

Ordered pixel-only filters applied to the receiving primitive and its descendants. See PibblFilter.

View source — packages/core/src/lib/types.ts:78

Pure treemap inputs and finite output bounds. GraphLayout

interface TreemapOptions<D> extends PartitionAccessors<D>

Related API: TreemapOptions, PartitionAccessors.

View source — packages/core/src/features/viz/lib/graph/types.ts:891

bounds
readonly bounds: Readonly<{ x: number; y: number; width: number; height: number; }>

Finite local logical bounds for this geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:893

cellGap (optional)
readonly cellGap?: number | undefined

Gap between cells in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:895

padding (optional)
readonly padding?: number | undefined

Inset inside each parent cell in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:897

headerHeight (optional)
readonly headerHeight?: number | undefined

Reserved parent-header height in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:899

keyBy
readonly keyBy: Accessor<D, VizKey>

Related API: Accessor, VizKey.

Reads each hierarchy record’s stable key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:359

childrenBy
readonly childrenBy: Accessor<D, readonly D[] | null | undefined>

Related API: Accessor.

Reads ordered child records; null and undefined mean no children. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:361

label (optional)
readonly label?: Accessor<D, string> | undefined

Related API: Accessor.

Optional reader for a node’s primary text. LabelGeometry

View source — packages/core/src/features/viz/lib/graph/types.ts:363

collapsed (optional)
readonly collapsed?: ((node: D) => boolean) | undefined

Whether this item hides its descendants. GraphLayout

  • node — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:367

value
readonly value: Accessor<D, number>

Related API: Accessor.

Reads the finite quantitative value. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:819

unit
readonly unit: string

Display unit for quantitative values. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:821

formatValue (optional)
readonly formatValue?: ((value: number) => string) | undefined

Formats a quantitative value for display. GraphLayout

  • value — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:825

Reactive hierarchy input and presentation for Treemap. GraphLayout

interface TreemapProps<D> extends PartitionAccessors<D>, PartitionPresentation<D>

Related API: TreemapProps, PartitionAccessors, PartitionPresentation.

View source — packages/core/src/features/viz/lib/graph/types.ts:902

root
readonly root: SignalValue<D>

Related API: SignalValue.

Hierarchy root; publish a new root to update. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:905

style (optional)
readonly style?: Style<TreemapStyle> | undefined

Related API: Style, TreemapStyle.

Frame style and responsive size allocation. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:907

keyBy
readonly keyBy: Accessor<D, VizKey>

Related API: Accessor, VizKey.

Reads each hierarchy record’s stable key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:359

childrenBy
readonly childrenBy: Accessor<D, readonly D[] | null | undefined>

Related API: Accessor.

Reads ordered child records; null and undefined mean no children. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:361

label (optional)
readonly label?: Accessor<D, string> | undefined

Related API: Accessor.

Optional reader for a node’s primary text. LabelGeometry

View source — packages/core/src/features/viz/lib/graph/types.ts:363

collapsed (optional)
readonly collapsed?: ((node: D) => boolean) | undefined

Whether this item hides its descendants. GraphLayout

  • node — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:367

value
readonly value: Accessor<D, number>

Related API: Accessor.

Reads the finite quantitative value. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:819

unit
readonly unit: string

Display unit for quantitative values. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:821

formatValue (optional)
readonly formatValue?: ((value: number) => string) | undefined

Formats a quantitative value for display. GraphLayout

  • value — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:825

cellStyle (optional)
readonly cellStyle?: MarkStyle<PartitionCellGeometry<D>, NodeStyle> | undefined

Related API: MarkStyle, PartitionCellGeometry, NodeStyle.

Style or geometry-aware style for cell marks. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:866

labelStyle (optional)
readonly labelStyle?: Style<LabelStyle> | undefined

Related API: Style, LabelStyle.

Style for decorative labels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:868

renderCell (optional)
readonly renderCell?: ((cell: PartitionCellGeometry<D>) => PibblNode) | undefined

Related API: PartitionCellGeometry, PibblNode.

Replaces the default cell mark with this composition. GraphLayout

  • cell — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:872

onCellClick (optional)
readonly onCellClick?: ((cell: PartitionCellGeometry<D>, event: ClickEvent) => void) | undefined

Related API: PartitionCellGeometry.

Receives clicks on a cell mark. GraphLayout

  • cell — The source record or geometry supplied by Pibbl.

  • event — The source record or geometry supplied by Pibbl.

View source — packages/core/src/features/viz/lib/graph/types.ts:876

Geometry, paint, events, and content for one partition cell. GraphLayout

interface PartitionCellProps<D> extends MarkInteraction

Related API: PartitionCellProps, MarkInteraction.

View source — packages/core/src/features/viz/lib/graph/types.ts:910

cell
readonly cell: PartitionCellGeometry<D>

Related API: PartitionCellGeometry.

Immutable cell geometry and its original records. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:912

style (optional)
readonly style?: Style<NodeStyle> | undefined

Related API: Style, NodeStyle.

Frame style and responsive size allocation. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:914

children (optional)
readonly children?: PibblNode

Related API: PibblNode.

Optional content painted with this mark. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:916

pointerEvents (optional)
readonly pointerEvents?: PibblPointerEvents | undefined

Related API: PibblPointerEvents.

Whether this content participates in pointer targeting. See PibblPointerEvents.

View source — packages/core/src/lib/events/types.ts:126

keyboardFocusable (optional)
readonly keyboardFocusable?: boolean | undefined

Whether the mark enters logical keyboard focus. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:185

keyboardNavigationBounds (optional)
readonly keyboardNavigationBounds?: Readonly<{ x: number; y: number; width: number; height: number; }> | undefined

Logical bounds used for keyboard navigation. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:187

Frame options for radial hop-ring and node spacing. GraphLayout

interface NeighborhoodStyle extends GStyle

Related API: NeighborhoodStyle, GStyle.

View source — packages/core/src/features/viz/lib/graph/types.ts:920

ringGap (optional)
readonly ringGap?: number | undefined

Radial distance between hop rings in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:922

nodeGap (optional)
readonly nodeGap?: number | undefined

Minimum gap between node marks in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:924

position (optional)
position?: "absolute" | "relative" | "static" | undefined

Experimental direct-Flex placement mode. In a finite Flex, static keeps the allocated slot and ignores insets; relative offsets final geometry once without moving siblings. Primitive static/relative leaves support every main/writing direction and wrapping mode. Wrapped parents admit fixed numeric direct Flex owners that remain internally nowrap; non-row chains use the same fixed owner restriction, with zero grow/shrink and omitted or automatic basis; physical offsets retain their sign through main reversal. Absolute stays out of sibling allocation, using the padding box for explicit insets and content alignment for omitted axes. Fixed numeric, percentage and admitted automatic absolute profiles support all main directions and RTL, with numeric or percentage bounds applied before placement. In every wrapping mode, omitted axes use whole-content main/cross alignment; wrap-reverse reverses omitted cross alignment and combines with column RTL exactly once. Paired natural providers keep their exact/unbounded query in every admitted direction. Direct wrapped Text with a generic pixel font and visible fit/overflow may measure automatic height at a resolved numeric or percentage width through the same owned query. Unwrapped Text may measure automatic width at a resolved numeric or percentage height, using its existing Canvas ink-bounds width before bounds and physical anchoring. Generic unwrapped Text also supports natural ink height and both automatic dimensions through one unbounded query before independent numeric clamps; mixed opposing-pair/natural feedback and both-auto aspect remain excluded. On the documented finite direct-child path, automatic absolute axes resolve from opposing numeric or percentage physical insets. With a positive finite aspectRatio, exactly one automatic axis can instead derive from its resolved declared finite numeric or percentage opposite axis. Opposing insets win. Finite numeric or percentage min/max bounds clamp used axes independently after derivation; a clamp does not recouple aspectRatio, and a numeric minimum above its maximum rejects. A direct custom primitive with paired pure measurement providers may instead measure natural automatic width at a declared numeric or percentage height, or natural height at a declared numeric or percentage width. The automatic axis is unbounded; the exact axis uses its declared resolved padding-box value before bounds clamp the used dimensions. In direct declarative Flex chains, static Flex passes the containing box outward while relative Flex owns a local box. Omission retains the legacy local Flex boundary and left/top behavior.

View source — packages/core/src/lib/style/positioning.ts:194

left (optional)
left?: number | `${number}%` | undefined

Left edge coordinate or inset. Explicit absolute Flex insets accept finite numbers or percentages of the containing padding-box axis; relative percentages use the parent content-box axis. See Length.

View source — packages/core/src/lib/style/positioning.ts:196

right (optional)
right?: number | `${number}%` | undefined

Right edge inset. Absolute Flex accepts finite numbers or percentages of the containing padding-box width; relative percentages use the parent content-box width. See Length.

View source — packages/core/src/lib/style/positioning.ts:198

top (optional)
top?: number | `${number}%` | undefined

Top edge coordinate or inset. Explicit absolute Flex insets accept finite numbers or percentages of the containing padding-box axis; relative percentages use the parent content-box axis. See Length.

View source — packages/core/src/lib/style/positioning.ts:200

bottom (optional)
bottom?: number | `${number}%` | undefined

Bottom edge inset. Absolute Flex accepts finite numbers or percentages of the containing padding-box height; relative percentages use the parent content-box height. See Length.

View source — packages/core/src/lib/style/positioning.ts:202

insetStart (optional)
insetStart?: number | `${number}%` | undefined

Experimental direct absolute Flex inline-start inset, mapped through the receiving Flex direction. Overrides the corresponding physical edge, including zero. Percentages use the selected containing padding-box width. See Length.

View source — packages/core/src/lib/style/positioning.ts:204

insetEnd (optional)
insetEnd?: number | `${number}%` | undefined

Experimental direct absolute Flex inline-end inset, mapped through the receiving Flex direction. Overrides the corresponding physical edge. See Length.

View source — packages/core/src/lib/style/positioning.ts:206

aspectRatio (optional)
aspectRatio?: number | undefined

Positive finite width/height ratio. A declared definite axis derives the automatic axis before its bounds; boxSizing selects content or border geometry. See resolveBox.

View source — packages/core/src/lib/style/types.ts:84

boxSizing (optional)
boxSizing?: "border-box" | "content-box" | undefined

Selects whether dimensions, bounds and Flex basis include padding and layout borders. Defaults to content-box. Border-box content floors at zero and the outer box floors at total axis padding plus layout borders. Painted stroke widths remain independent. See ResolvedBoxStyle.

View source — packages/core/src/lib/style/types.ts:89

width (optional)
width?: SizingLength | undefined

Related API: SizingLength.

Horizontal extent in the units of the containing geometry or surface. See SizingLength.

View source — packages/core/src/lib/style/types.ts:91

height (optional)
height?: SizingLength | undefined

Related API: SizingLength.

Vertical extent in the units of the containing geometry or surface. See SizingLength.

View source — packages/core/src/lib/style/types.ts:93

minWidth (optional)
minWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Minimum permitted horizontal width. Finite horizontal Flex intrinsic owners also accept intrinsic sizing requests; automatic remains invalid. See SizingLength.

View source — packages/core/src/lib/style/types.ts:95

maxWidth (optional)
maxWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Maximum permitted horizontal width. Finite horizontal Flex intrinsic owners also accept intrinsic sizing requests; automatic remains invalid. See SizingLength.

View source — packages/core/src/lib/style/types.ts:97

minHeight (optional)
minHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Minimum permitted height. See Length.

View source — packages/core/src/lib/style/types.ts:99

maxHeight (optional)
maxHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Maximum permitted height. See Length.

View source — packages/core/src/lib/style/types.ts:101

padding (optional)
padding?: EdgeValues<number | `${number}%`> | undefined

Related API: EdgeValues.

Padding inside layout borders. Experimental allocated Flex percentages use owner content width for every edge. See EdgeValues, Percentage.

View source — packages/core/src/lib/style/types.ts:103

paddingStart (optional)
paddingStart?: number | `${number}%` | undefined

Nonnegative inline-start padding overriding its physical padding edge. Experimental percentages require an allocated Flex owner and use its content width. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:105

paddingEnd (optional)
paddingEnd?: number | `${number}%` | undefined

Nonnegative inline-end padding overriding its physical padding edge. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:107

borderWidth (optional)
borderWidth?: EdgeValues<number> | undefined

Related API: EdgeValues.

Layout-only physical border insets, in logical pixels. Defaults to zero; does not paint a stroke. See EdgeValues.

View source — packages/core/src/lib/style/types.ts:109

borderStartWidth (optional)
borderStartWidth?: number | undefined

Experimental nonnegative numeric inline-start layout border overriding its physical borderWidth edge. Does not paint a stroke. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:111

borderEndWidth (optional)
borderEndWidth?: number | undefined

Experimental nonnegative numeric inline-end layout border overriding its physical borderWidth edge. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:113

overflow (optional)
overflow?: "clip" | "visible" | undefined

Selects "visible", "clip" for overflow. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:115

margin (optional)
margin?: FlexMargin | undefined

Related API: FlexMargin.

Uniform physical margin in logical Canvas units, a percentage of allocated Flex content width, or auto on supported finite Flex axes. Finite negatives are allowed; specific edges override this value. Consumed by experimental Flex only. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:146

marginTop (optional)
marginTop?: FlexMargin | undefined

Related API: FlexMargin.

Physical top margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:148

marginRight (optional)
marginRight?: FlexMargin | undefined

Related API: FlexMargin.

Physical right margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:150

marginBottom (optional)
marginBottom?: FlexMargin | undefined

Related API: FlexMargin.

Physical bottom margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:152

marginLeft (optional)
marginLeft?: FlexMargin | undefined

Related API: FlexMargin.

Physical left margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:154

marginStart (optional)
marginStart?: FlexMargin | undefined

Related API: FlexMargin.

Inline-start margin overriding the corresponding physical edge and margin shorthand in experimental Flex. Signed percentages use allocated content width. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:156

marginEnd (optional)
marginEnd?: FlexMargin | undefined

Related API: FlexMargin.

Inline-end margin overriding the corresponding physical edge and margin shorthand in experimental Flex. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:158

alignSelf (optional)
alignSelf?: "auto" | "center" | "end" | "flex-end" | "flex-start" | "start" | "stretch" | undefined

This child’s cross-axis or block-axis alignment override. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:160

justifySelf (optional)
justifySelf?: "auto" | "center" | "end" | "start" | "stretch" | undefined

This child’s inline-axis alignment override. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:162

flexBasis (optional)
flexBasis?: SizingLength | undefined

Related API: SizingLength.

Initial main-axis size before flex growth or shrinkage. See SizingLength.

View source — packages/core/src/lib/style/types.ts:164

flexGrow (optional)
flexGrow?: number | undefined

Relative share of positive free space assigned to this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:166

flexShrink (optional)
flexShrink?: number | undefined

Relative factor used when reducing main-axis size. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:168

gridColumnStart (optional)
gridColumnStart?: number | undefined

Explicit starting grid column. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:170

gridColumnSpan (optional)
gridColumnSpan?: number | undefined

Number of columns occupied by this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:172

gridRowStart (optional)
gridRowStart?: number | undefined

Explicit starting grid row. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:174

gridRowSpan (optional)
gridRowSpan?: number | undefined

Number of rows occupied by this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:176

scaleX (optional)
scaleX?: number | undefined

Horizontal scale factor. See GStyle.

View source — packages/core/src/lib/components/g.ts:46

scaleY (optional)
scaleY?: number | undefined

Vertical scale factor. See GStyle.

View source — packages/core/src/lib/components/g.ts:48

rotationDegrees (optional)
rotationDegrees?: number | undefined

Clockwise rotation in degrees.

View source — packages/core/src/lib/components/g.ts:50

rotationOrigin (optional)
rotationOrigin?: [number, number] | undefined

Point around which the rotation is applied. See GStyle.

View source — packages/core/src/lib/components/g.ts:52

translateX (optional)
translateX?: number | undefined

Horizontal translation in the current logical coordinate system. See GStyle.

View source — packages/core/src/lib/components/g.ts:54

translateY (optional)
translateY?: number | undefined

Vertical translation in the current logical coordinate system. See GStyle.

View source — packages/core/src/lib/components/g.ts:56

skewX (optional)
skewX?: number | undefined

Horizontal skew angle in degrees.

View source — packages/core/src/lib/components/g.ts:58

skewY (optional)
skewY?: number | undefined

Vertical skew angle in degrees.

View source — packages/core/src/lib/components/g.ts:60

layoutParticipation (optional)
layoutParticipation?: "contents" | "hidden" | "normal" | undefined

Numeric layout participation. Hidden subtrees retain mounted ownership without geometry or paint; contents retains logical ancestry without owning a box. See SystemStyle.

View source — packages/core/src/lib/types.ts:69

transition (optional)
transition?: PibblTransitionBinding | undefined

Related API: PibblTransitionBinding.

Visibility-transition binding applied to this primitive and its captured descendants. See SystemStyle.

View source — packages/core/src/lib/types.ts:71

custom (optional)
custom?: unknown

Application-defined style payload passed through the runtime. See SystemStyle.

View source — packages/core/src/lib/types.ts:73

filter (optional)
filter?: PibblFilter | readonly PibblFilter[] | undefined

Related API: PibblFilter.

Ordered pixel-only filters applied to the receiving primitive and its descendants. See PibblFilter.

View source — packages/core/src/lib/types.ts:78

Pure neighborhood inputs centered on one application key. GraphLayout

interface NeighborhoodOptions<N, E> extends GraphAccessors<N, E>

Related API: NeighborhoodOptions, GraphAccessors.

View source — packages/core/src/features/viz/lib/graph/types.ts:927

bounds
readonly bounds: Readonly<{ x: number; y: number; width: number; height: number; }>

Finite local logical bounds for this geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:929

centerKey
readonly centerKey: VizKey

Related API: VizKey.

Key placed at the center of the neighborhood. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:931

hops (optional)
readonly hops?: number | undefined

Maximum graph distance from the center; defaults to two. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:933

direction (optional)
readonly direction?: "either" | "inbound" | "outbound" | undefined

Edges followed while collecting the neighborhood. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:935

nodeSize (optional)
readonly nodeSize?: Size | ((node: N) => Size) | undefined

Related API: Size.

Node size in local logical pixels; defaults to 160 by 56. GraphLayout

  • node — Source record to measure.

Finite local logical size.

View source — packages/core/src/features/viz/lib/graph/types.ts:939

ringGap (optional)
readonly ringGap?: number | undefined

Radial distance between hop rings in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:945

nodeGap (optional)
readonly nodeGap?: number | undefined

Minimum gap between node marks in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:947

nodeKey
readonly nodeKey: Accessor<N, VizKey>

Related API: Accessor, VizKey.

Reads each node’s stable key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:86

edgeKey
readonly edgeKey: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads each edge’s stable key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:88

source
readonly source: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads an edge source key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:90

target
readonly target: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads an edge target key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:92

label (optional)
readonly label?: Accessor<N, string> | undefined

Related API: Accessor.

Optional reader for a node’s primary text. LabelGeometry

View source — packages/core/src/features/viz/lib/graph/types.ts:94

detail (optional)
readonly detail?: Accessor<N, string> | undefined

Related API: Accessor.

Optional reader for a node’s secondary text. LabelGeometry

View source — packages/core/src/features/viz/lib/graph/types.ts:96

Node geometry annotated with its graph distance from center. GraphLayout

interface NeighborhoodNodeGeometry<N> extends GraphNodeGeometry<N>

Related API: NeighborhoodNodeGeometry, GraphNodeGeometry.

View source — packages/core/src/features/viz/lib/graph/types.ts:950

hop
readonly hop: number

Zero-based graph distance from the center. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:952

key
readonly key: VizKey

Related API: VizKey.

Stable application-provided key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:101

datum
readonly datum: N

Original application record. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:103

bounds
readonly bounds: Readonly<{ x: number; y: number; width: number; height: number; }>

Finite local logical bounds for this geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:105

label
readonly label: LabelGeometry

Related API: LabelGeometry.

Decorative label geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:107

detail
readonly detail: LabelGeometry | null

Related API: LabelGeometry.

Optional secondary label geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:109

Immutable reachable nodes, retained edges, and omitted keys. GraphLayout

interface NeighborhoodLayout<N, E> extends GraphLayout<N, E>

Related API: NeighborhoodLayout, GraphLayout.

View source — packages/core/src/features/viz/lib/graph/types.ts:955

centerKey
readonly centerKey: VizKey

Related API: VizKey.

Key placed at the center of the neighborhood. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:957

nodes
readonly nodes: readonly NeighborhoodNodeGeometry<N>[]

Related API: NeighborhoodNodeGeometry.

Source nodes in application order. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:959

omittedKeys
readonly omittedKeys: readonly VizKey[]

Related API: VizKey.

Known node keys outside the requested hop range. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:961

bounds
readonly bounds: Readonly<{ x: number; y: number; width: number; height: number; }>

Finite local logical bounds for this geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:143

edges
readonly edges: readonly GraphEdgeGeometry<E>[]

Related API: GraphEdgeGeometry.

Source edges in application order. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:147

Reactive graph input and presentation for radial neighborhoods. GraphLayout

interface RadialNeighborhoodProps<N, E> extends
GraphAccessors<N, E>,
GraphPresentation<N, E, NeighborhoodNodeGeometry<N>>

Related API: RadialNeighborhoodProps, GraphAccessors, GraphPresentation, NeighborhoodNodeGeometry.

View source — packages/core/src/features/viz/lib/graph/types.ts:964

graph
readonly graph: SignalValue<GraphData<N, E>>

Related API: SignalValue, GraphData.

Graph records; publish a new snapshot to update. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:969

centerKey
readonly centerKey: SignalValue<VizKey>

Related API: SignalValue, VizKey.

Key placed at the center of the neighborhood. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:971

hops (optional)
readonly hops?: SignalValue<number> | undefined

Related API: SignalValue.

Maximum graph distance from the center; defaults to two. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:973

direction (optional)
readonly direction?: "either" | "inbound" | "outbound" | undefined

Edges followed while collecting the neighborhood. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:975

nodeSize (optional)
readonly nodeSize?: Size | ((node: N) => Size) | undefined

Related API: Size.

Node size in local logical pixels; defaults to 160 by 56. GraphLayout

  • node — Source record to measure.

Finite local logical size.

View source — packages/core/src/features/viz/lib/graph/types.ts:979

renderNode (optional)
readonly renderNode?: ((node: NeighborhoodNodeGeometry<N>) => PibblNode) | undefined

Related API: NeighborhoodNodeGeometry, PibblNode.

Replaces the default node mark with this composition. GraphLayout

  • node — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:987

onNodeClick (optional)
readonly onNodeClick?: ((node: NeighborhoodNodeGeometry<N>, event: ClickEvent) => void) | undefined

Related API: NeighborhoodNodeGeometry.

Receives clicks on a node mark. GraphLayout

  • node — The source record or geometry supplied by Pibbl.

  • event — The source record or geometry supplied by Pibbl.

View source — packages/core/src/features/viz/lib/graph/types.ts:991

style (optional)
readonly style?: Style<NeighborhoodStyle> | undefined

Related API: Style, NeighborhoodStyle.

Frame style and responsive size allocation. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:996

nodeKey
readonly nodeKey: Accessor<N, VizKey>

Related API: Accessor, VizKey.

Reads each node’s stable key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:86

edgeKey
readonly edgeKey: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads each edge’s stable key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:88

source
readonly source: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads an edge source key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:90

target
readonly target: Accessor<E, VizKey>

Related API: Accessor, VizKey.

Reads an edge target key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:92

label (optional)
readonly label?: Accessor<N, string> | undefined

Related API: Accessor.

Optional reader for a node’s primary text. LabelGeometry

View source — packages/core/src/features/viz/lib/graph/types.ts:94

detail (optional)
readonly detail?: Accessor<N, string> | undefined

Related API: Accessor.

Optional reader for a node’s secondary text. LabelGeometry

View source — packages/core/src/features/viz/lib/graph/types.ts:96

nodeStyle (optional)
readonly nodeStyle?: MarkStyle<NeighborhoodNodeGeometry<N>, NodeStyle> | undefined

Related API: MarkStyle, NeighborhoodNodeGeometry, NodeStyle.

Style or geometry-aware style for node marks. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:156

edgeStyle (optional)
readonly edgeStyle?: MarkStyle<GraphEdgeGeometry<E>, EdgeStyle> | undefined

Related API: MarkStyle, GraphEdgeGeometry, EdgeStyle.

Style or geometry-aware style for edge marks. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:158

labelStyle (optional)
readonly labelStyle?: MarkStyle<NeighborhoodNodeGeometry<N>, LabelStyle> | undefined

Related API: MarkStyle, NeighborhoodNodeGeometry, LabelStyle.

Style for decorative labels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:160

renderEdge (optional)
readonly renderEdge?: ((edge: GraphEdgeGeometry<E>) => PibblNode) | undefined

Related API: GraphEdgeGeometry, PibblNode.

Replaces the default edge mark with this composition. GraphLayout

  • edge — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:168

onEdgeClick (optional)
readonly onEdgeClick?: ((edge: GraphEdgeGeometry<E>, event: ClickEvent) => void) | undefined

Related API: GraphEdgeGeometry.

Receives clicks on an edge mark. GraphLayout

  • edge — The source record or geometry supplied by Pibbl.

  • event — The source record or geometry supplied by Pibbl.

View source — packages/core/src/features/viz/lib/graph/types.ts:176

Frame options for icicle cell and level spacing. GraphLayout

interface IcicleStyle extends GStyle

Related API: IcicleStyle, GStyle.

View source — packages/core/src/features/viz/lib/graph/types.ts:1000

cellGap (optional)
readonly cellGap?: number | undefined

Gap between cells in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1002

levelGap (optional)
readonly levelGap?: number | undefined

Gap between hierarchy levels in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1004

position (optional)
position?: "absolute" | "relative" | "static" | undefined

Experimental direct-Flex placement mode. In a finite Flex, static keeps the allocated slot and ignores insets; relative offsets final geometry once without moving siblings. Primitive static/relative leaves support every main/writing direction and wrapping mode. Wrapped parents admit fixed numeric direct Flex owners that remain internally nowrap; non-row chains use the same fixed owner restriction, with zero grow/shrink and omitted or automatic basis; physical offsets retain their sign through main reversal. Absolute stays out of sibling allocation, using the padding box for explicit insets and content alignment for omitted axes. Fixed numeric, percentage and admitted automatic absolute profiles support all main directions and RTL, with numeric or percentage bounds applied before placement. In every wrapping mode, omitted axes use whole-content main/cross alignment; wrap-reverse reverses omitted cross alignment and combines with column RTL exactly once. Paired natural providers keep their exact/unbounded query in every admitted direction. Direct wrapped Text with a generic pixel font and visible fit/overflow may measure automatic height at a resolved numeric or percentage width through the same owned query. Unwrapped Text may measure automatic width at a resolved numeric or percentage height, using its existing Canvas ink-bounds width before bounds and physical anchoring. Generic unwrapped Text also supports natural ink height and both automatic dimensions through one unbounded query before independent numeric clamps; mixed opposing-pair/natural feedback and both-auto aspect remain excluded. On the documented finite direct-child path, automatic absolute axes resolve from opposing numeric or percentage physical insets. With a positive finite aspectRatio, exactly one automatic axis can instead derive from its resolved declared finite numeric or percentage opposite axis. Opposing insets win. Finite numeric or percentage min/max bounds clamp used axes independently after derivation; a clamp does not recouple aspectRatio, and a numeric minimum above its maximum rejects. A direct custom primitive with paired pure measurement providers may instead measure natural automatic width at a declared numeric or percentage height, or natural height at a declared numeric or percentage width. The automatic axis is unbounded; the exact axis uses its declared resolved padding-box value before bounds clamp the used dimensions. In direct declarative Flex chains, static Flex passes the containing box outward while relative Flex owns a local box. Omission retains the legacy local Flex boundary and left/top behavior.

View source — packages/core/src/lib/style/positioning.ts:194

left (optional)
left?: number | `${number}%` | undefined

Left edge coordinate or inset. Explicit absolute Flex insets accept finite numbers or percentages of the containing padding-box axis; relative percentages use the parent content-box axis. See Length.

View source — packages/core/src/lib/style/positioning.ts:196

right (optional)
right?: number | `${number}%` | undefined

Right edge inset. Absolute Flex accepts finite numbers or percentages of the containing padding-box width; relative percentages use the parent content-box width. See Length.

View source — packages/core/src/lib/style/positioning.ts:198

top (optional)
top?: number | `${number}%` | undefined

Top edge coordinate or inset. Explicit absolute Flex insets accept finite numbers or percentages of the containing padding-box axis; relative percentages use the parent content-box axis. See Length.

View source — packages/core/src/lib/style/positioning.ts:200

bottom (optional)
bottom?: number | `${number}%` | undefined

Bottom edge inset. Absolute Flex accepts finite numbers or percentages of the containing padding-box height; relative percentages use the parent content-box height. See Length.

View source — packages/core/src/lib/style/positioning.ts:202

insetStart (optional)
insetStart?: number | `${number}%` | undefined

Experimental direct absolute Flex inline-start inset, mapped through the receiving Flex direction. Overrides the corresponding physical edge, including zero. Percentages use the selected containing padding-box width. See Length.

View source — packages/core/src/lib/style/positioning.ts:204

insetEnd (optional)
insetEnd?: number | `${number}%` | undefined

Experimental direct absolute Flex inline-end inset, mapped through the receiving Flex direction. Overrides the corresponding physical edge. See Length.

View source — packages/core/src/lib/style/positioning.ts:206

aspectRatio (optional)
aspectRatio?: number | undefined

Positive finite width/height ratio. A declared definite axis derives the automatic axis before its bounds; boxSizing selects content or border geometry. See resolveBox.

View source — packages/core/src/lib/style/types.ts:84

boxSizing (optional)
boxSizing?: "border-box" | "content-box" | undefined

Selects whether dimensions, bounds and Flex basis include padding and layout borders. Defaults to content-box. Border-box content floors at zero and the outer box floors at total axis padding plus layout borders. Painted stroke widths remain independent. See ResolvedBoxStyle.

View source — packages/core/src/lib/style/types.ts:89

width (optional)
width?: SizingLength | undefined

Related API: SizingLength.

Horizontal extent in the units of the containing geometry or surface. See SizingLength.

View source — packages/core/src/lib/style/types.ts:91

height (optional)
height?: SizingLength | undefined

Related API: SizingLength.

Vertical extent in the units of the containing geometry or surface. See SizingLength.

View source — packages/core/src/lib/style/types.ts:93

minWidth (optional)
minWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Minimum permitted horizontal width. Finite horizontal Flex intrinsic owners also accept intrinsic sizing requests; automatic remains invalid. See SizingLength.

View source — packages/core/src/lib/style/types.ts:95

maxWidth (optional)
maxWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Maximum permitted horizontal width. Finite horizontal Flex intrinsic owners also accept intrinsic sizing requests; automatic remains invalid. See SizingLength.

View source — packages/core/src/lib/style/types.ts:97

minHeight (optional)
minHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Minimum permitted height. See Length.

View source — packages/core/src/lib/style/types.ts:99

maxHeight (optional)
maxHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Maximum permitted height. See Length.

View source — packages/core/src/lib/style/types.ts:101

padding (optional)
padding?: EdgeValues<number | `${number}%`> | undefined

Related API: EdgeValues.

Padding inside layout borders. Experimental allocated Flex percentages use owner content width for every edge. See EdgeValues, Percentage.

View source — packages/core/src/lib/style/types.ts:103

paddingStart (optional)
paddingStart?: number | `${number}%` | undefined

Nonnegative inline-start padding overriding its physical padding edge. Experimental percentages require an allocated Flex owner and use its content width. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:105

paddingEnd (optional)
paddingEnd?: number | `${number}%` | undefined

Nonnegative inline-end padding overriding its physical padding edge. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:107

borderWidth (optional)
borderWidth?: EdgeValues<number> | undefined

Related API: EdgeValues.

Layout-only physical border insets, in logical pixels. Defaults to zero; does not paint a stroke. See EdgeValues.

View source — packages/core/src/lib/style/types.ts:109

borderStartWidth (optional)
borderStartWidth?: number | undefined

Experimental nonnegative numeric inline-start layout border overriding its physical borderWidth edge. Does not paint a stroke. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:111

borderEndWidth (optional)
borderEndWidth?: number | undefined

Experimental nonnegative numeric inline-end layout border overriding its physical borderWidth edge. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:113

overflow (optional)
overflow?: "clip" | "visible" | undefined

Selects "visible", "clip" for overflow. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:115

margin (optional)
margin?: FlexMargin | undefined

Related API: FlexMargin.

Uniform physical margin in logical Canvas units, a percentage of allocated Flex content width, or auto on supported finite Flex axes. Finite negatives are allowed; specific edges override this value. Consumed by experimental Flex only. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:146

marginTop (optional)
marginTop?: FlexMargin | undefined

Related API: FlexMargin.

Physical top margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:148

marginRight (optional)
marginRight?: FlexMargin | undefined

Related API: FlexMargin.

Physical right margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:150

marginBottom (optional)
marginBottom?: FlexMargin | undefined

Related API: FlexMargin.

Physical bottom margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:152

marginLeft (optional)
marginLeft?: FlexMargin | undefined

Related API: FlexMargin.

Physical left margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:154

marginStart (optional)
marginStart?: FlexMargin | undefined

Related API: FlexMargin.

Inline-start margin overriding the corresponding physical edge and margin shorthand in experimental Flex. Signed percentages use allocated content width. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:156

marginEnd (optional)
marginEnd?: FlexMargin | undefined

Related API: FlexMargin.

Inline-end margin overriding the corresponding physical edge and margin shorthand in experimental Flex. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:158

alignSelf (optional)
alignSelf?: "auto" | "center" | "end" | "flex-end" | "flex-start" | "start" | "stretch" | undefined

This child’s cross-axis or block-axis alignment override. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:160

justifySelf (optional)
justifySelf?: "auto" | "center" | "end" | "start" | "stretch" | undefined

This child’s inline-axis alignment override. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:162

flexBasis (optional)
flexBasis?: SizingLength | undefined

Related API: SizingLength.

Initial main-axis size before flex growth or shrinkage. See SizingLength.

View source — packages/core/src/lib/style/types.ts:164

flexGrow (optional)
flexGrow?: number | undefined

Relative share of positive free space assigned to this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:166

flexShrink (optional)
flexShrink?: number | undefined

Relative factor used when reducing main-axis size. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:168

gridColumnStart (optional)
gridColumnStart?: number | undefined

Explicit starting grid column. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:170

gridColumnSpan (optional)
gridColumnSpan?: number | undefined

Number of columns occupied by this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:172

gridRowStart (optional)
gridRowStart?: number | undefined

Explicit starting grid row. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:174

gridRowSpan (optional)
gridRowSpan?: number | undefined

Number of rows occupied by this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:176

scaleX (optional)
scaleX?: number | undefined

Horizontal scale factor. See GStyle.

View source — packages/core/src/lib/components/g.ts:46

scaleY (optional)
scaleY?: number | undefined

Vertical scale factor. See GStyle.

View source — packages/core/src/lib/components/g.ts:48

rotationDegrees (optional)
rotationDegrees?: number | undefined

Clockwise rotation in degrees.

View source — packages/core/src/lib/components/g.ts:50

rotationOrigin (optional)
rotationOrigin?: [number, number] | undefined

Point around which the rotation is applied. See GStyle.

View source — packages/core/src/lib/components/g.ts:52

translateX (optional)
translateX?: number | undefined

Horizontal translation in the current logical coordinate system. See GStyle.

View source — packages/core/src/lib/components/g.ts:54

translateY (optional)
translateY?: number | undefined

Vertical translation in the current logical coordinate system. See GStyle.

View source — packages/core/src/lib/components/g.ts:56

skewX (optional)
skewX?: number | undefined

Horizontal skew angle in degrees.

View source — packages/core/src/lib/components/g.ts:58

skewY (optional)
skewY?: number | undefined

Vertical skew angle in degrees.

View source — packages/core/src/lib/components/g.ts:60

layoutParticipation (optional)
layoutParticipation?: "contents" | "hidden" | "normal" | undefined

Numeric layout participation. Hidden subtrees retain mounted ownership without geometry or paint; contents retains logical ancestry without owning a box. See SystemStyle.

View source — packages/core/src/lib/types.ts:69

transition (optional)
transition?: PibblTransitionBinding | undefined

Related API: PibblTransitionBinding.

Visibility-transition binding applied to this primitive and its captured descendants. See SystemStyle.

View source — packages/core/src/lib/types.ts:71

custom (optional)
custom?: unknown

Application-defined style payload passed through the runtime. See SystemStyle.

View source — packages/core/src/lib/types.ts:73

filter (optional)
filter?: PibblFilter | readonly PibblFilter[] | undefined

Related API: PibblFilter.

Ordered pixel-only filters applied to the receiving primitive and its descendants. See PibblFilter.

View source — packages/core/src/lib/types.ts:78

Pure icicle inputs and finite output bounds. GraphLayout

interface IcicleOptions<D> extends PartitionAccessors<D>

Related API: IcicleOptions, PartitionAccessors.

View source — packages/core/src/features/viz/lib/graph/types.ts:1007

bounds
readonly bounds: Readonly<{ x: number; y: number; width: number; height: number; }>

Finite local logical bounds for this geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1009

cellGap (optional)
readonly cellGap?: number | undefined

Gap between cells in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1011

levelGap (optional)
readonly levelGap?: number | undefined

Gap between hierarchy levels in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1013

keyBy
readonly keyBy: Accessor<D, VizKey>

Related API: Accessor, VizKey.

Reads each hierarchy record’s stable key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:359

childrenBy
readonly childrenBy: Accessor<D, readonly D[] | null | undefined>

Related API: Accessor.

Reads ordered child records; null and undefined mean no children. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:361

label (optional)
readonly label?: Accessor<D, string> | undefined

Related API: Accessor.

Optional reader for a node’s primary text. LabelGeometry

View source — packages/core/src/features/viz/lib/graph/types.ts:363

collapsed (optional)
readonly collapsed?: ((node: D) => boolean) | undefined

Whether this item hides its descendants. GraphLayout

  • node — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:367

value
readonly value: Accessor<D, number>

Related API: Accessor.

Reads the finite quantitative value. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:819

unit
readonly unit: string

Display unit for quantitative values. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:821

formatValue (optional)
readonly formatValue?: ((value: number) => string) | undefined

Formats a quantitative value for display. GraphLayout

  • value — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:825

Reactive hierarchy input and presentation for Icicle. GraphLayout

interface IcicleProps<D> extends PartitionAccessors<D>, PartitionPresentation<D>

Related API: IcicleProps, PartitionAccessors, PartitionPresentation.

View source — packages/core/src/features/viz/lib/graph/types.ts:1016

root
readonly root: SignalValue<D>

Related API: SignalValue.

Hierarchy root; publish a new root to update. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1019

style (optional)
readonly style?: Style<IcicleStyle> | undefined

Related API: Style, IcicleStyle.

Frame style and responsive size allocation. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1021

keyBy
readonly keyBy: Accessor<D, VizKey>

Related API: Accessor, VizKey.

Reads each hierarchy record’s stable key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:359

childrenBy
readonly childrenBy: Accessor<D, readonly D[] | null | undefined>

Related API: Accessor.

Reads ordered child records; null and undefined mean no children. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:361

label (optional)
readonly label?: Accessor<D, string> | undefined

Related API: Accessor.

Optional reader for a node’s primary text. LabelGeometry

View source — packages/core/src/features/viz/lib/graph/types.ts:363

collapsed (optional)
readonly collapsed?: ((node: D) => boolean) | undefined

Whether this item hides its descendants. GraphLayout

  • node — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:367

value
readonly value: Accessor<D, number>

Related API: Accessor.

Reads the finite quantitative value. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:819

unit
readonly unit: string

Display unit for quantitative values. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:821

formatValue (optional)
readonly formatValue?: ((value: number) => string) | undefined

Formats a quantitative value for display. GraphLayout

  • value — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:825

cellStyle (optional)
readonly cellStyle?: MarkStyle<PartitionCellGeometry<D>, NodeStyle> | undefined

Related API: MarkStyle, PartitionCellGeometry, NodeStyle.

Style or geometry-aware style for cell marks. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:866

labelStyle (optional)
readonly labelStyle?: Style<LabelStyle> | undefined

Related API: Style, LabelStyle.

Style for decorative labels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:868

renderCell (optional)
readonly renderCell?: ((cell: PartitionCellGeometry<D>) => PibblNode) | undefined

Related API: PartitionCellGeometry, PibblNode.

Replaces the default cell mark with this composition. GraphLayout

  • cell — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:872

onCellClick (optional)
readonly onCellClick?: ((cell: PartitionCellGeometry<D>, event: ClickEvent) => void) | undefined

Related API: PartitionCellGeometry.

Receives clicks on a cell mark. GraphLayout

  • cell — The source record or geometry supplied by Pibbl.

  • event — The source record or geometry supplied by Pibbl.

View source — packages/core/src/features/viz/lib/graph/types.ts:876

Ordered categories and directed transfer records for a chord diagram. GraphLayout

interface ChordData<C, T>

Related API: ChordData.

View source — packages/core/src/features/viz/lib/graph/types.ts:1025

categories
readonly categories: readonly C[]

Ordered category records. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1027

transfers
readonly transfers: readonly T[]

Source transfer records. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1029

Typed category and transfer readers with quantity display settings. GraphLayout

interface ChordAccessors<C, T>

Related API: ChordAccessors.

View source — packages/core/src/features/viz/lib/graph/types.ts:1032

categoryKey
readonly categoryKey: Accessor<C, VizKey>

Related API: Accessor, VizKey.

Reads each category key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1034

label (optional)
readonly label?: Accessor<C, string> | undefined

Related API: Accessor.

Optional reader for a node’s primary text. LabelGeometry

View source — packages/core/src/features/viz/lib/graph/types.ts:1036

source
readonly source: Accessor<T, VizKey>

Related API: Accessor, VizKey.

Reads an edge source key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1038

target
readonly target: Accessor<T, VizKey>

Related API: Accessor, VizKey.

Reads an edge target key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1040

value
readonly value: Accessor<T, number>

Related API: Accessor.

Reads the finite quantitative value. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1042

unit
readonly unit: string

Display unit for quantitative values. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1044

formatValue (optional)
readonly formatValue?: ((value: number) => string) | undefined

Formats a quantitative value for display. GraphLayout

  • value — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:1048

A clockwise angular span in graph-local polar geometry. GraphLayout

interface ChordArc

Related API: ChordArc.

View source — packages/core/src/features/viz/lib/graph/types.ts:1051

center
readonly center: Readonly<{ x: number; y: number; }>

Center point in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1053

radius
readonly radius: number

Radius in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1055

startAngleDegrees
readonly startAngleDegrees: number

Clockwise start angle from twelve o’clock. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1057

endAngleDegrees
readonly endAngleDegrees: number

Clockwise end angle from twelve o’clock. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1059

Immutable outer category band geometry and aggregate quantities. GraphLayout

interface ChordBandGeometry<C>

Related API: ChordBandGeometry.

View source — packages/core/src/features/viz/lib/graph/types.ts:1062

key
readonly key: VizKey

Related API: VizKey.

Stable application-provided key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1064

datum
readonly datum: C

Original application record. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1066

incomingValue
readonly incomingValue: number

Total value arriving at this node. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1068

outgoingValue
readonly outgoingValue: number

Total value leaving this node. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1070

arc
readonly arc: ChordArc

Related API: ChordArc.

Angular span for the visible category band. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1072

innerRadius
readonly innerRadius: number

Inner ribbon radius in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1074

segments
readonly segments: readonly Readonly<PathSegment>[]

Related API: PathSegment.

Path segments from source to target. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1076

path
readonly path: string

SVG path serialization of the route. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1078

label
readonly label: LabelGeometry

Related API: LabelGeometry.

Decorative label geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1080

Immutable grouped transfer-ribbon geometry and source records. GraphLayout

interface ChordRibbonGeometry<T>

Related API: ChordRibbonGeometry.

View source — packages/core/src/features/viz/lib/graph/types.ts:1083

key
readonly key: string

Stable application-provided key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1085

sourceKey
readonly sourceKey: VizKey

Related API: VizKey.

Stable key of the edge source node. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1087

targetKey
readonly targetKey: VizKey

Related API: VizKey.

Stable key of the edge target node. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1089

records
readonly records: readonly T[]

Original records represented by this aggregate. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1091

value
readonly value: number

Reads the finite quantitative value. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1093

sourceArc
readonly sourceArc: ChordArc

Related API: ChordArc.

Angular span allocated to the source side. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1095

targetArc
readonly targetArc: ChordArc

Related API: ChordArc.

Angular span allocated to the target side. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1097

segments
readonly segments: readonly Readonly<PathSegment>[]

Related API: PathSegment.

Path segments from source to target. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1099

path
readonly path: string

SVG path serialization of the route. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1101

Immutable category bands and grouped transfer ribbons. GraphLayout

interface ChordLayout<C, T>

Related API: ChordLayout.

View source — packages/core/src/features/viz/lib/graph/types.ts:1104

bounds
readonly bounds: Readonly<{ x: number; y: number; width: number; height: number; }>

Finite local logical bounds for this geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1106

unit
readonly unit: string

Display unit for quantitative values. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1108

total
readonly total: number

Sum of all source leaf values. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1110

bands
readonly bands: readonly ChordBandGeometry<C>[]

Related API: ChordBandGeometry.

Immutable category-band geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1112

ribbons
readonly ribbons: readonly ChordRibbonGeometry<T>[]

Related API: ChordRibbonGeometry.

Immutable grouped transfer-ribbon geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1114

Frame options for chord band width and angular spacing. GraphLayout

interface ChordStyle extends GStyle

Related API: ChordStyle, GStyle.

View source — packages/core/src/features/viz/lib/graph/types.ts:1117

bandWidth (optional)
readonly bandWidth?: number | undefined

Chord-band thickness in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1119

padAngle (optional)
readonly padAngle?: number | undefined

Angular gap between chord categories in degrees. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1121

startAngle (optional)
readonly startAngle?: number | undefined

Clockwise chord rotation from twelve o’clock in degrees. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1123

position (optional)
position?: "absolute" | "relative" | "static" | undefined

Experimental direct-Flex placement mode. In a finite Flex, static keeps the allocated slot and ignores insets; relative offsets final geometry once without moving siblings. Primitive static/relative leaves support every main/writing direction and wrapping mode. Wrapped parents admit fixed numeric direct Flex owners that remain internally nowrap; non-row chains use the same fixed owner restriction, with zero grow/shrink and omitted or automatic basis; physical offsets retain their sign through main reversal. Absolute stays out of sibling allocation, using the padding box for explicit insets and content alignment for omitted axes. Fixed numeric, percentage and admitted automatic absolute profiles support all main directions and RTL, with numeric or percentage bounds applied before placement. In every wrapping mode, omitted axes use whole-content main/cross alignment; wrap-reverse reverses omitted cross alignment and combines with column RTL exactly once. Paired natural providers keep their exact/unbounded query in every admitted direction. Direct wrapped Text with a generic pixel font and visible fit/overflow may measure automatic height at a resolved numeric or percentage width through the same owned query. Unwrapped Text may measure automatic width at a resolved numeric or percentage height, using its existing Canvas ink-bounds width before bounds and physical anchoring. Generic unwrapped Text also supports natural ink height and both automatic dimensions through one unbounded query before independent numeric clamps; mixed opposing-pair/natural feedback and both-auto aspect remain excluded. On the documented finite direct-child path, automatic absolute axes resolve from opposing numeric or percentage physical insets. With a positive finite aspectRatio, exactly one automatic axis can instead derive from its resolved declared finite numeric or percentage opposite axis. Opposing insets win. Finite numeric or percentage min/max bounds clamp used axes independently after derivation; a clamp does not recouple aspectRatio, and a numeric minimum above its maximum rejects. A direct custom primitive with paired pure measurement providers may instead measure natural automatic width at a declared numeric or percentage height, or natural height at a declared numeric or percentage width. The automatic axis is unbounded; the exact axis uses its declared resolved padding-box value before bounds clamp the used dimensions. In direct declarative Flex chains, static Flex passes the containing box outward while relative Flex owns a local box. Omission retains the legacy local Flex boundary and left/top behavior.

View source — packages/core/src/lib/style/positioning.ts:194

left (optional)
left?: number | `${number}%` | undefined

Left edge coordinate or inset. Explicit absolute Flex insets accept finite numbers or percentages of the containing padding-box axis; relative percentages use the parent content-box axis. See Length.

View source — packages/core/src/lib/style/positioning.ts:196

right (optional)
right?: number | `${number}%` | undefined

Right edge inset. Absolute Flex accepts finite numbers or percentages of the containing padding-box width; relative percentages use the parent content-box width. See Length.

View source — packages/core/src/lib/style/positioning.ts:198

top (optional)
top?: number | `${number}%` | undefined

Top edge coordinate or inset. Explicit absolute Flex insets accept finite numbers or percentages of the containing padding-box axis; relative percentages use the parent content-box axis. See Length.

View source — packages/core/src/lib/style/positioning.ts:200

bottom (optional)
bottom?: number | `${number}%` | undefined

Bottom edge inset. Absolute Flex accepts finite numbers or percentages of the containing padding-box height; relative percentages use the parent content-box height. See Length.

View source — packages/core/src/lib/style/positioning.ts:202

insetStart (optional)
insetStart?: number | `${number}%` | undefined

Experimental direct absolute Flex inline-start inset, mapped through the receiving Flex direction. Overrides the corresponding physical edge, including zero. Percentages use the selected containing padding-box width. See Length.

View source — packages/core/src/lib/style/positioning.ts:204

insetEnd (optional)
insetEnd?: number | `${number}%` | undefined

Experimental direct absolute Flex inline-end inset, mapped through the receiving Flex direction. Overrides the corresponding physical edge. See Length.

View source — packages/core/src/lib/style/positioning.ts:206

aspectRatio (optional)
aspectRatio?: number | undefined

Positive finite width/height ratio. A declared definite axis derives the automatic axis before its bounds; boxSizing selects content or border geometry. See resolveBox.

View source — packages/core/src/lib/style/types.ts:84

boxSizing (optional)
boxSizing?: "border-box" | "content-box" | undefined

Selects whether dimensions, bounds and Flex basis include padding and layout borders. Defaults to content-box. Border-box content floors at zero and the outer box floors at total axis padding plus layout borders. Painted stroke widths remain independent. See ResolvedBoxStyle.

View source — packages/core/src/lib/style/types.ts:89

width (optional)
width?: SizingLength | undefined

Related API: SizingLength.

Horizontal extent in the units of the containing geometry or surface. See SizingLength.

View source — packages/core/src/lib/style/types.ts:91

height (optional)
height?: SizingLength | undefined

Related API: SizingLength.

Vertical extent in the units of the containing geometry or surface. See SizingLength.

View source — packages/core/src/lib/style/types.ts:93

minWidth (optional)
minWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Minimum permitted horizontal width. Finite horizontal Flex intrinsic owners also accept intrinsic sizing requests; automatic remains invalid. See SizingLength.

View source — packages/core/src/lib/style/types.ts:95

maxWidth (optional)
maxWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Maximum permitted horizontal width. Finite horizontal Flex intrinsic owners also accept intrinsic sizing requests; automatic remains invalid. See SizingLength.

View source — packages/core/src/lib/style/types.ts:97

minHeight (optional)
minHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Minimum permitted height. See Length.

View source — packages/core/src/lib/style/types.ts:99

maxHeight (optional)
maxHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined

Related API: FitContent, SizingKeyword.

Maximum permitted height. See Length.

View source — packages/core/src/lib/style/types.ts:101

padding (optional)
padding?: EdgeValues<number | `${number}%`> | undefined

Related API: EdgeValues.

Padding inside layout borders. Experimental allocated Flex percentages use owner content width for every edge. See EdgeValues, Percentage.

View source — packages/core/src/lib/style/types.ts:103

paddingStart (optional)
paddingStart?: number | `${number}%` | undefined

Nonnegative inline-start padding overriding its physical padding edge. Experimental percentages require an allocated Flex owner and use its content width. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:105

paddingEnd (optional)
paddingEnd?: number | `${number}%` | undefined

Nonnegative inline-end padding overriding its physical padding edge. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:107

borderWidth (optional)
borderWidth?: EdgeValues<number> | undefined

Related API: EdgeValues.

Layout-only physical border insets, in logical pixels. Defaults to zero; does not paint a stroke. See EdgeValues.

View source — packages/core/src/lib/style/types.ts:109

borderStartWidth (optional)
borderStartWidth?: number | undefined

Experimental nonnegative numeric inline-start layout border overriding its physical borderWidth edge. Does not paint a stroke. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:111

borderEndWidth (optional)
borderEndWidth?: number | undefined

Experimental nonnegative numeric inline-end layout border overriding its physical borderWidth edge. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:113

overflow (optional)
overflow?: "clip" | "visible" | undefined

Selects "visible", "clip" for overflow. See BoxStyle.

View source — packages/core/src/lib/style/types.ts:115

margin (optional)
margin?: FlexMargin | undefined

Related API: FlexMargin.

Uniform physical margin in logical Canvas units, a percentage of allocated Flex content width, or auto on supported finite Flex axes. Finite negatives are allowed; specific edges override this value. Consumed by experimental Flex only. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:146

marginTop (optional)
marginTop?: FlexMargin | undefined

Related API: FlexMargin.

Physical top margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:148

marginRight (optional)
marginRight?: FlexMargin | undefined

Related API: FlexMargin.

Physical right margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:150

marginBottom (optional)
marginBottom?: FlexMargin | undefined

Related API: FlexMargin.

Physical bottom margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:152

marginLeft (optional)
marginLeft?: FlexMargin | undefined

Related API: FlexMargin.

Physical left margin overriding margin. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:154

marginStart (optional)
marginStart?: FlexMargin | undefined

Related API: FlexMargin.

Inline-start margin overriding the corresponding physical edge and margin shorthand in experimental Flex. Signed percentages use allocated content width. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:156

marginEnd (optional)
marginEnd?: FlexMargin | undefined

Related API: FlexMargin.

Inline-end margin overriding the corresponding physical edge and margin shorthand in experimental Flex. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:158

alignSelf (optional)
alignSelf?: "auto" | "center" | "end" | "flex-end" | "flex-start" | "start" | "stretch" | undefined

This child’s cross-axis or block-axis alignment override. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:160

justifySelf (optional)
justifySelf?: "auto" | "center" | "end" | "start" | "stretch" | undefined

This child’s inline-axis alignment override. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:162

flexBasis (optional)
flexBasis?: SizingLength | undefined

Related API: SizingLength.

Initial main-axis size before flex growth or shrinkage. See SizingLength.

View source — packages/core/src/lib/style/types.ts:164

flexGrow (optional)
flexGrow?: number | undefined

Relative share of positive free space assigned to this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:166

flexShrink (optional)
flexShrink?: number | undefined

Relative factor used when reducing main-axis size. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:168

gridColumnStart (optional)
gridColumnStart?: number | undefined

Explicit starting grid column. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:170

gridColumnSpan (optional)
gridColumnSpan?: number | undefined

Number of columns occupied by this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:172

gridRowStart (optional)
gridRowStart?: number | undefined

Explicit starting grid row. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:174

gridRowSpan (optional)
gridRowSpan?: number | undefined

Number of rows occupied by this child. See LayoutItemStyle.

View source — packages/core/src/lib/style/types.ts:176

scaleX (optional)
scaleX?: number | undefined

Horizontal scale factor. See GStyle.

View source — packages/core/src/lib/components/g.ts:46

scaleY (optional)
scaleY?: number | undefined

Vertical scale factor. See GStyle.

View source — packages/core/src/lib/components/g.ts:48

rotationDegrees (optional)
rotationDegrees?: number | undefined

Clockwise rotation in degrees.

View source — packages/core/src/lib/components/g.ts:50

rotationOrigin (optional)
rotationOrigin?: [number, number] | undefined

Point around which the rotation is applied. See GStyle.

View source — packages/core/src/lib/components/g.ts:52

translateX (optional)
translateX?: number | undefined

Horizontal translation in the current logical coordinate system. See GStyle.

View source — packages/core/src/lib/components/g.ts:54

translateY (optional)
translateY?: number | undefined

Vertical translation in the current logical coordinate system. See GStyle.

View source — packages/core/src/lib/components/g.ts:56

skewX (optional)
skewX?: number | undefined

Horizontal skew angle in degrees.

View source — packages/core/src/lib/components/g.ts:58

skewY (optional)
skewY?: number | undefined

Vertical skew angle in degrees.

View source — packages/core/src/lib/components/g.ts:60

layoutParticipation (optional)
layoutParticipation?: "contents" | "hidden" | "normal" | undefined

Numeric layout participation. Hidden subtrees retain mounted ownership without geometry or paint; contents retains logical ancestry without owning a box. See SystemStyle.

View source — packages/core/src/lib/types.ts:69

transition (optional)
transition?: PibblTransitionBinding | undefined

Related API: PibblTransitionBinding.

Visibility-transition binding applied to this primitive and its captured descendants. See SystemStyle.

View source — packages/core/src/lib/types.ts:71

custom (optional)
custom?: unknown

Application-defined style payload passed through the runtime. See SystemStyle.

View source — packages/core/src/lib/types.ts:73

filter (optional)
filter?: PibblFilter | readonly PibblFilter[] | undefined

Related API: PibblFilter.

Ordered pixel-only filters applied to the receiving primitive and its descendants. See PibblFilter.

View source — packages/core/src/lib/types.ts:78

Pure chord inputs and finite output bounds. GraphLayout

interface ChordOptions<C, T> extends ChordAccessors<C, T>

Related API: ChordOptions, ChordAccessors.

View source — packages/core/src/features/viz/lib/graph/types.ts:1126

bounds
readonly bounds: Readonly<{ x: number; y: number; width: number; height: number; }>

Finite local logical bounds for this geometry. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1128

bandWidth (optional)
readonly bandWidth?: number | undefined

Chord-band thickness in local logical pixels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1130

padAngle (optional)
readonly padAngle?: number | undefined

Angular gap between chord categories in degrees. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1132

startAngle (optional)
readonly startAngle?: number | undefined

Clockwise chord rotation from twelve o’clock in degrees. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1134

categoryKey
readonly categoryKey: Accessor<C, VizKey>

Related API: Accessor, VizKey.

Reads each category key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1034

label (optional)
readonly label?: Accessor<C, string> | undefined

Related API: Accessor.

Optional reader for a node’s primary text. LabelGeometry

View source — packages/core/src/features/viz/lib/graph/types.ts:1036

source
readonly source: Accessor<T, VizKey>

Related API: Accessor, VizKey.

Reads an edge source key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1038

target
readonly target: Accessor<T, VizKey>

Related API: Accessor, VizKey.

Reads an edge target key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1040

value
readonly value: Accessor<T, number>

Related API: Accessor.

Reads the finite quantitative value. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1042

unit
readonly unit: string

Display unit for quantitative values. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1044

formatValue (optional)
readonly formatValue?: ((value: number) => string) | undefined

Formats a quantitative value for display. GraphLayout

  • value — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:1048

Reactive chord data and default band/ribbon presentation. GraphLayout

interface ChordDiagramProps<C, T> extends ChordAccessors<C, T>

Related API: ChordDiagramProps, ChordAccessors.

View source — packages/core/src/features/viz/lib/graph/types.ts:1137

data
readonly data: SignalValue<ChordData<C, T>>

Related API: SignalValue, ChordData.

Input records; publish a new snapshot to update. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1139

style (optional)
readonly style?: Style<ChordStyle> | undefined

Related API: Style, ChordStyle.

Frame style and responsive size allocation. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1141

bandStyle (optional)
readonly bandStyle?: MarkStyle<ChordBandGeometry<C>, EdgeStyle> | undefined

Related API: MarkStyle, ChordBandGeometry, EdgeStyle.

Style for category bands. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1143

ribbonStyle (optional)
readonly ribbonStyle?: MarkStyle<ChordRibbonGeometry<T>, EdgeStyle> | undefined

Related API: MarkStyle, ChordRibbonGeometry, EdgeStyle.

Style for transfer ribbons. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1145

labelStyle (optional)
readonly labelStyle?: Style<LabelStyle> | undefined

Related API: Style, LabelStyle.

Style for decorative labels. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1147

renderBand (optional)
readonly renderBand?: ((band: ChordBandGeometry<C>) => PibblNode) | undefined

Related API: ChordBandGeometry, PibblNode.

Replaces the default category-band mark with this composition. GraphLayout

  • band — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:1151

renderRibbon (optional)
readonly renderRibbon?: ((ribbon: ChordRibbonGeometry<T>) => PibblNode) | undefined

Related API: ChordRibbonGeometry, PibblNode.

Replaces the default ribbon mark with this composition. GraphLayout

  • ribbon — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:1155

onBandClick (optional)
readonly onBandClick?: ((band: ChordBandGeometry<C>, event: ClickEvent) => void) | undefined

Related API: ChordBandGeometry.

Receives clicks on a band mark. GraphLayout

  • band — The source record or geometry supplied by Pibbl.

  • event — The source record or geometry supplied by Pibbl.

View source — packages/core/src/features/viz/lib/graph/types.ts:1159

onRibbonClick (optional)
readonly onRibbonClick?: ((ribbon: ChordRibbonGeometry<T>, event: ClickEvent) => void) | undefined

Related API: ChordRibbonGeometry.

Receives clicks on a ribbon mark. GraphLayout

  • ribbon — The source record or geometry supplied by Pibbl.

  • event — The source record or geometry supplied by Pibbl.

View source — packages/core/src/features/viz/lib/graph/types.ts:1166

categoryKey
readonly categoryKey: Accessor<C, VizKey>

Related API: Accessor, VizKey.

Reads each category key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1034

label (optional)
readonly label?: Accessor<C, string> | undefined

Related API: Accessor.

Optional reader for a node’s primary text. LabelGeometry

View source — packages/core/src/features/viz/lib/graph/types.ts:1036

source
readonly source: Accessor<T, VizKey>

Related API: Accessor, VizKey.

Reads an edge source key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1038

target
readonly target: Accessor<T, VizKey>

Related API: Accessor, VizKey.

Reads an edge target key. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1040

value
readonly value: Accessor<T, number>

Related API: Accessor.

Reads the finite quantitative value. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1042

unit
readonly unit: string

Display unit for quantitative values. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1044

formatValue (optional)
readonly formatValue?: ((value: number) => string) | undefined

Formats a quantitative value for display. GraphLayout

  • value — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:1048

A manual deterministic solver with no scheduler or resource ownership. GraphLayout

interface ForceSimulation<N, E>

Related API: ForceSimulation.

View source — packages/core/src/features/viz/lib/graph/types.ts:1176

read
read: () => ForceLayout<N, E>

Related API: ForceLayout.

Reads the current immutable solver snapshot. GraphLayout

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:1179

step
step: (options: Readonly<{ iterations: number; }>) => ForceLayout<N, E>

Related API: ForceLayout.

Advances at most the requested solver iterations. GraphLayout

  • options — The source record or geometry supplied by Pibbl.

The value produced by this callback.

View source — packages/core/src/features/viz/lib/graph/types.ts:1183

update
update: (graph: GraphData<N, E>, options: ForceOptions<N, E>) => void

Related API: GraphData, ForceOptions.

Reconfigures this manual solver with a new graph snapshot. GraphLayout

  • graph — The source record or geometry supplied by Pibbl.

  • options — The source record or geometry supplied by Pibbl.

View source — packages/core/src/features/viz/lib/graph/types.ts:1192

restart
restart: () => void

Restarts the current solver without discarding node positions. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1194

reset
reset: () => void

Restores seeded positions and clears pins. GraphLayout

View source — packages/core/src/features/viz/lib/graph/types.ts:1196

pin
pin: (key: VizKey, position: Point) => void

Related API: VizKey, Point.

Pins one node at a finite local position. GraphLayout

  • key — The source record or geometry supplied by Pibbl.

  • position — The source record or geometry supplied by Pibbl.

View source — packages/core/src/features/viz/lib/graph/types.ts:1200

release
release: (key: VizKey) => void

Related API: VizKey.

Releases a previously pinned node. GraphLayout

  • key — The source record or geometry supplied by Pibbl.

View source — packages/core/src/features/viz/lib/graph/types.ts:1203

Creates a compatible manual force solver for supplied graph inputs. GraphLayout

type ForceSimulationFactory<N, E> = (
graph: GraphData<N, E>,
options: ForceOptions<N, E>,
) => ForceSimulation<N, E>

Related API: ForceSimulationFactory, GraphData, ForceOptions, ForceSimulation.

  • graph — Source graph.

  • options — Solver options.

Simulation.

View source — packages/core/src/features/viz/lib/graph/types.ts:1209

Draw a node box; children use node-local coordinates and ordinary Pibbl events.

GraphNode: <N>({ node, style, children, ...events }: GraphNodeProps<N>) => PibblNode

Related API: GraphNode, GraphNodeProps, PibblNode.

  • props — Box geometry, paint and event handlers. See GraphNodeProps.

A group containing the box and authored children. See GraphNodeProps.

View source — packages/core/src/features/viz/lib/graph/shared.tsx:219

Draw an edge path and optional arrow with ordinary path targeting.

GraphEdge: <E>({ edge, style, ...events }: GraphEdgeProps<E>) => PibblNode

Related API: GraphEdge, GraphEdgeProps, PibblNode.

  • props — Edge geometry, paint and event handlers. See GraphEdgeProps.

Path content in diagram-local coordinates. See GraphEdgeProps.

View source — packages/core/src/features/viz/lib/graph/shared.tsx:252

Draw decorative label text at its supplied box and rotation.

GraphLabel: ({ label, style }: GraphLabelProps) => PibblNode

Related API: GraphLabel, GraphLabelProps, PibblNode.

A transformed decorative Text component. See GraphLabelProps.

View source — packages/core/src/features/viz/lib/graph/shared.tsx:293

Render supplied graph geometry without layout, fitting, or simulation.

GraphView: <N, E>(props: GraphViewProps<N, E>) => PibblNode

Related API: GraphView, GraphViewProps, PibblNode.

  • props — A snapshot or signal, item overrides and events. See GraphViewProps.

An ordinary Pibbl composition preserving source paint order. See GraphViewProps.

View source — packages/core/src/features/viz/lib/graph/shared.tsx:325

Return the built-in node paint as an ordinary reusable style.

defaultGraphNodeStyle: <N>(_node: GraphNodeGeometry<N>) => NodeStyle

Related API: defaultGraphNodeStyle, GraphNodeGeometry, NodeStyle.

Default fill, stroke and corner radius. See NodeStyle.

View source — packages/core/src/features/viz/lib/graph/shared.tsx:186

Return the built-in edge paint as an ordinary reusable style.

defaultGraphEdgeStyle: <E>(_edge: GraphEdgeGeometry<E>) => EdgeStyle

Related API: defaultGraphEdgeStyle, GraphEdgeGeometry, EdgeStyle.

Default stroke and logical stroke width. See EdgeStyle.

View source — packages/core/src/features/viz/lib/graph/shared.tsx:201

Return the built-in label paint as an ordinary reusable style.

defaultGraphLabelStyle: (_label: LabelGeometry) => LabelStyle

Related API: defaultGraphLabelStyle, LabelGeometry, LabelStyle.

Default Canvas font, fill and middle baseline. See LabelStyle.

View source — packages/core/src/features/viz/lib/graph/shared.tsx:211

Build an independent straight graph route in local logical units.

straightGraphRoute: (endpoints: Endpoints, options?: Readonly<{ arrowLength?: number; }>) => GraphRoute

Related API: straightGraphRoute, GraphRoute.

  • endpoints — Finite named source and target anchor points. See GraphRoute.

  • options — Optional nonnegative arrowLength (default zero).

Named anchors and independently editable core path segments. See GraphRoute.

View source — packages/core/src/features/viz/lib/graph/routes.ts:45

Build an independent horizontal orthogonal graph route in local logical units.

orthogonalGraphRoute: (endpoints: Endpoints, options?: Readonly<{ arrowLength?: number; }>) => GraphRoute

Related API: orthogonalGraphRoute, GraphRoute.

  • endpoints — Finite named source and target anchor points. See GraphRoute.

  • options — Optional nonnegative arrowLength (default zero).

Named anchors and independently editable core path segments. See GraphRoute.

View source — packages/core/src/features/viz/lib/graph/routes.ts:65

Build an independent horizontal cubic graph route in local logical units.

curvedGraphRoute: (endpoints: Endpoints, options?: Readonly<{ curvature?: number; arrowLength?: number; }>) => GraphRoute

Related API: curvedGraphRoute, GraphRoute.

  • endpoints — Finite named source and target anchor points. See GraphRoute.

  • options — Optional nonnegative arrowLength (default zero); curvature defaults to 0.5 and must be in [0, 1].

Named anchors and independently editable core path segments. See GraphRoute.

View source — packages/core/src/features/viz/lib/graph/routes.ts:97

Place a DAG in longest-path ranks with editable orthogonal routes. Cycles and insufficient bounds throw.

layoutDependencies: <N, E>(graph: GraphData<N, E>, options: DependencyOptions<N, E>) => GraphLayout<N, E>

Related API: layoutDependencies, GraphData, DependencyOptions, GraphLayout.

  • graph — Original node and edge records. See GraphData.

  • options — Typed accessors, finite bounds, node sizes and nonnegative gaps. See DependencyOptions.

Original-record node geometry and routes in local logical units. See GraphLayout.

View source — packages/core/src/features/viz/lib/graph/dependency.tsx:65

Compose the public dependency layout helper and graph marks with useful defaults.

DependencyGraph: <N, E>(props: DependencyGraphProps<N, E>) => PibblNode

Related API: DependencyGraph, DependencyGraphProps, PibblNode.

The same graph composition available through layoutDependencies and GraphView. See GraphView.

View source — packages/core/src/features/viz/lib/graph/dependency.tsx:174

Computes ordered cells for an explicit row/column relation matrix.

layoutMatrix: <R, C, E>(data: MatrixData<R, C, E>, options: MatrixOptions<R, C, E>) => MatrixLayout<R, C, E>

Related API: layoutMatrix, MatrixData, MatrixOptions, MatrixLayout.

  • data — Explicit rows, columns, and ordered relations. See MatrixData.

  • options — Typed accessors, dimensions, labels, and unit. See MatrixOptions.

Immutable cell and label geometry. See MatrixLayout.

View source — packages/core/src/features/viz/lib/graph/matrix.tsx:61

Render an ordered relation matrix with default marks and labels.

AdjacencyMatrix: <R, C, E>(props: AdjacencyMatrixProps<R, C, E>) => PibblNode

Related API: AdjacencyMatrix, AdjacencyMatrixProps, PibblNode.

  • props — Matrix data and presentation.

Canvas node.

layoutMatrix

View source — packages/core/src/features/viz/lib/graph/matrix.tsx:256

Draw one supplied matrix cell geometry.

MatrixCell: <R, C, E>({ cell, style: input, children, ...events }: MatrixCellProps<R, C, E>) => PibblNode

Related API: MatrixCell, MatrixCellProps, PibblNode.

  • argument — Cell props.

Canvas node.

MatrixCellProps

View source — packages/core/src/features/viz/lib/graph/matrix.tsx:227

Default cell paint for custom matrix compositions.

defaultMatrixCellStyle: <R, C, E>(cell: MatrixCellGeometry<R, C, E>, range: Readonly<{ minimum: number; maximum: number; }>) => NodeStyle

Related API: defaultMatrixCellStyle, MatrixCellGeometry, NodeStyle.

  • cell — Cell geometry.

  • range — Observed numeric extent.

Resolved cell paint.

MatrixCell

View source — packages/core/src/features/viz/lib/graph/matrix.tsx:206

Places an acyclic weighted flow graph in deterministic left-to-right ranks.

layoutSankey: <N, E>(graph: GraphData<N, E>, options: SankeyOptions<N, E>) => SankeyLayout<N, E>

Related API: layoutSankey, GraphData, SankeyOptions, SankeyLayout.

  • graph — Nodes and acyclic weighted edges. See GraphData.

  • options — Accessors, bounds, and display unit. See SankeyOptions.

Immutable nodes and proportional flow geometry. See SankeyLayout.

View source — packages/core/src/features/viz/lib/graph/sankey.tsx:59

Render a weighted acyclic flow graph.

Sankey: <N, E>(props: SankeyProps<N, E>) => PibblNode

Related API: Sankey, SankeyProps, PibblNode.

  • props — Graph data and presentation.

Canvas node.

layoutSankey

View source — packages/core/src/features/viz/lib/graph/sankey.tsx:354

Draw one supplied Sankey node.

SankeyNode: <N>({ node, style: input, children, ...events }: GraphNodeProps<N> & { readonly node: SankeyNodeGeometry<N>; }) => PibblNode

Related API: SankeyNode, GraphNodeProps, SankeyNodeGeometry, PibblNode.

  • argument — Node props.

Canvas node.

SankeyNodeGeometry

View source — packages/core/src/features/viz/lib/graph/sankey.tsx:317

Draw one supplied Sankey flow.

SankeyFlow: <E>({ flow, style: input, ...events }: MarkInteraction & { readonly flow: SankeyFlowGeometry<E>; readonly style?: Style<EdgeStyle>; }) => PibblNode

Related API: SankeyFlow, MarkInteraction, SankeyFlowGeometry, Style, EdgeStyle, PibblNode.

  • argument — Flow props.

Canvas node.

SankeyFlowGeometry

View source — packages/core/src/features/viz/lib/graph/sankey.tsx:334

Default node paint for custom Sankey compositions.

defaultSankeyNodeStyle: <N>(_node: SankeyNodeGeometry<N>) => NodeStyle

Related API: defaultSankeyNodeStyle, SankeyNodeGeometry, NodeStyle.

  • _node — Node geometry.

Resolved node paint.

SankeyNode

View source — packages/core/src/features/viz/lib/graph/sankey.tsx:297

Default flow paint for custom Sankey compositions.

defaultSankeyFlowStyle: <E>(_flow: SankeyFlowGeometry<E>) => EdgeStyle

Related API: defaultSankeyFlowStyle, SankeyFlowGeometry, EdgeStyle.

  • _flow — Flow geometry.

Resolved flow paint.

SankeyFlow

View source — packages/core/src/features/viz/lib/graph/sankey.tsx:307

Arranges two explicit entity sets in columns, retaining side-qualified identity.

layoutBipartite: <L, R, E>(graph: BipartiteData<L, R, E>, options: BipartiteOptions<L, R, E>) => BipartiteLayout<L, R, E>

Related API: layoutBipartite, BipartiteData, BipartiteOptions, BipartiteLayout.

  • graph — Explicit left and right entities with cross-set edges. See BipartiteData.

  • options — Accessors, dimensions, and column spacing. See BipartiteOptions.

Immutable side-aware nodes and routed edges. See BipartiteLayout.

View source — packages/core/src/features/viz/lib/graph/bipartite.tsx:123

Render left/right entity sets and their cross-set relationships.

BipartiteGraph: <L, R, E>(props: BipartiteGraphProps<L, R, E>) => PibblNode

Related API: BipartiteGraph, BipartiteGraphProps, PibblNode.

  • props — Entity data and presentation.

Canvas node.

layoutBipartite

View source — packages/core/src/features/viz/lib/graph/bipartite.tsx:227

Computes a directed chord layout, aggregating repeated ordered transfer pairs.

layoutChords: <C, T>(data: ChordData<C, T>, options: ChordOptions<C, T>) => ChordLayout<C, T>

Related API: layoutChords, ChordData, ChordOptions, ChordLayout.

  • data — Ordered category transfers. See ChordData.

  • options — Accessors, bounds, angular spacing, and unit. See ChordOptions.

Immutable bands and directed ribbon geometry. See ChordLayout.

View source — packages/core/src/features/viz/lib/graph/chord.tsx:98

Render a directed transfer chord diagram.

ChordDiagram: <C, T>(props: ChordDiagramProps<C, T>) => PibblNode

Related API: ChordDiagram, ChordDiagramProps, PibblNode.

  • props — Transfer data and presentation.

Canvas node.

layoutChords

View source — packages/core/src/features/viz/lib/graph/chord.tsx:382

Draw one supplied category band.

ChordBand: <C>({ band, style: input, ...events }: MarkInteraction & { readonly band: ChordBandGeometry<C>; readonly style?: Style<EdgeStyle>; }) => PibblNode

Related API: ChordBand, MarkInteraction, ChordBandGeometry, Style, EdgeStyle, PibblNode.

  • argument — Band props.

Canvas node.

ChordBandGeometry

View source — packages/core/src/features/viz/lib/graph/chord.tsx:342

Draw one supplied directed ribbon.

ChordRibbon: <T>({ ribbon, style: input, ...events }: MarkInteraction & { readonly ribbon: ChordRibbonGeometry<T>; readonly style?: Style<EdgeStyle>; }) => PibblNode

Related API: ChordRibbon, MarkInteraction, ChordRibbonGeometry, Style, EdgeStyle, PibblNode.

  • argument — Ribbon props.

Canvas node.

ChordRibbonGeometry

View source — packages/core/src/features/viz/lib/graph/chord.tsx:362

Default outer-band paint for custom chord compositions.

defaultChordBandStyle: <C>(_band: ChordBandGeometry<C>) => EdgeStyle

Related API: defaultChordBandStyle, ChordBandGeometry, EdgeStyle.

  • _band — Band geometry.

Resolved band paint.

ChordBand

View source — packages/core/src/features/viz/lib/graph/chord.tsx:322

Default directed-ribbon paint for custom chord compositions.

defaultChordRibbonStyle: <T>(_ribbon: ChordRibbonGeometry<T>) => EdgeStyle

Related API: defaultChordRibbonStyle, ChordRibbonGeometry, EdgeStyle.

  • _ribbon — Ribbon geometry.

Resolved ribbon paint.

ChordRibbon

View source — packages/core/src/features/viz/lib/graph/chord.tsx:332

Lay out a validated hierarchy with stable child order and variable node dimensions.

layoutTree: <D>(root: D, options: TreeOptions<D>) => TreeLayout<D>

Related API: layoutTree, TreeOptions, TreeLayout.

  • root — Hierarchy root.

  • options — Named hierarchy accessors and finite bounds.

Immutable node and edge geometry.

TreeLayout

View source — packages/core/src/features/viz/lib/graph/tree.tsx:40

Render a tidy hierarchy from ordinary data using default marks or caller compositions.

TidyTree: <D>(props: TidyTreeProps<D>) => PibblNode

Related API: TidyTree, TidyTreeProps, PibblNode.

  • props — Reactive hierarchy data, presentation, and frame style.

Canvas composition.

layoutTree

View source — packages/core/src/features/viz/lib/graph/tree.tsx:181

Squarify weighted hierarchy leaves into stable, compact rectangles.

layoutTreemap: <D>(root: D, options: TreemapOptions<D>) => PartitionLayout<D>

Related API: layoutTreemap, TreemapOptions, PartitionLayout.

  • root — Hierarchy root.

  • options — Accessors, units, and finite bounds.

Immutable partition geometry.

PartitionLayout

View source — packages/core/src/features/viz/lib/graph/treemap.tsx:140

Render a squarified hierarchy with visible quantitative labels.

Treemap: <D>(props: TreemapProps<D>) => PibblNode

Related API: Treemap, TreemapProps, PibblNode.

  • props — Reactive hierarchy data and presentation.

Canvas composition.

layoutTreemap

View source — packages/core/src/features/viz/lib/graph/treemap.tsx:242

Paint one partition cell at its immutable geometry.

TreemapCell: <D>(props: PartitionCellProps<D>) => PibblNode

Related API: TreemapCell, PartitionCellProps, PibblNode.

  • props — Cell geometry, paint, events, and optional global-coordinate children.

Canvas composition.

PartitionCellGeometry

View source — packages/core/src/features/viz/lib/graph/treemap.tsx:219

Return the built-in depth-aware partition paint.

defaultPartitionCellStyle: <D>(cell: PartitionCellGeometry<D>) => NodeStyle

Related API: defaultPartitionCellStyle, PartitionCellGeometry, NodeStyle.

  • cell — Partition cell geometry.

Ordinary rectangle style.

PartitionCellGeometry

View source — packages/core/src/features/viz/lib/graph/treemap.tsx:35

Lay out hierarchy values in depth rows.

layoutIcicle: <D>(root: D, options: IcicleOptions<D>) => PartitionLayout<D>

Related API: layoutIcicle, IcicleOptions, PartitionLayout.

  • root — Hierarchy root.

  • options — Accessors, units, and finite bounds.

Immutable partition geometry.

PartitionLayout

View source — packages/core/src/features/viz/lib/graph/icicle.tsx:35

Render hierarchy values as depth-aligned bands.

Icicle: <D>(props: IcicleProps<D>) => PibblNode

Related API: Icicle, IcicleProps, PibblNode.

  • props — Reactive hierarchy data and presentation.

Canvas composition.

layoutIcicle

View source — packages/core/src/features/viz/lib/graph/icicle.tsx:141

Paint one icicle partition cell.

IcicleCell: <D>(props: PartitionCellProps<D>) => PibblNode

Related API: IcicleCell, PartitionCellProps, PibblNode.

  • props — Cell geometry, paint, events, and optional children.

Canvas composition.

PartitionCellGeometry

View source — packages/core/src/features/viz/lib/graph/icicle.tsx:118

Lay out the reachable neighborhood around one stable key in concentric rings.

layoutNeighborhood: <N, E>(graph: GraphData<N, E>, options: NeighborhoodOptions<N, E>) => NeighborhoodLayout<N, E>

Related API: layoutNeighborhood, GraphData, NeighborhoodOptions, NeighborhoodLayout.

  • graph — Nodes and edges in source order.

  • options — Accessors, center, hops, and finite bounds.

Immutable neighborhood geometry.

NeighborhoodLayout

View source — packages/core/src/features/viz/lib/graph/neighborhood.tsx:43

Render an interactive radial neighborhood from ordinary graph records.

RadialNeighborhood: <N, E>(props: RadialNeighborhoodProps<N, E>) => PibblNode

Related API: RadialNeighborhood, RadialNeighborhoodProps, PibblNode.

  • props — Reactive graph, center, presentation, and frame style.

Canvas composition.

layoutNeighborhood

View source — packages/core/src/features/viz/lib/graph/neighborhood.tsx:242

Create a deterministic, manually stepped numeric solver without resources or scheduling. Uses inverse-square repulsion, Hooke link relaxation, damping, box collisions and bounded iterations.

createForceSimulation: <N, E>(graph: GraphData<N, E>, options: ForceOptions<N, E>) => ForceSimulation<N, E>

Related API: createForceSimulation, GraphData, ForceOptions, ForceSimulation.

Numeric session whose snapshots can be rendered or advanced by any public driver. See ForceSimulation.

View source — packages/core/src/features/viz/lib/graph/force.tsx:102

Solve a seeded force layout synchronously, bounded by maxIterations. No timers or resources are allocated.

layoutForceNetwork: <N, E>(graph: GraphData<N, E>, options: ForceOptions<N, E>) => ForceLayout<N, E>

Related API: layoutForceNetwork, GraphData, ForceOptions, ForceLayout.

  • graph — Original node and edge records. See GraphData.

  • options — Accessors, finite bounds and numeric settings. See ForceOptions.

A bounded result which may remain unsettled on exhaustion. See ForceLayout.

View source — packages/core/src/features/viz/lib/graph/force.tsx:365

Own a force session through public stepper, drive, usePlayback and signals.

useForceNetwork: <N, E>(graph: SignalValue<GraphData<N, E>>, options: ForceHookOptions<N, E>) => ForceNetworkController<N, E>

Related API: useForceNetwork, SignalValue, GraphData, ForceHookOptions, ForceNetworkController.

  • graph — Graph input or signal; accessors are snapshotted during component evaluation. See GraphData.

  • options — Geometry and optional resource-free numeric solver factory. See ForceHookOptions.

Readonly snapshots and commands; playback is released on unmount. See ForceNetworkController.

View source — packages/core/src/features/viz/lib/graph/force.tsx:470

Own and render a live force network through the public hook and GraphView; unmount releases playback.

ForceNetwork: <N, E>(props: ForceNetworkProps<N, E>) => PibblNode

Related API: ForceNetwork, ForceNetworkProps, PibblNode.

  • props — Graph, definite frame, optional solver factory, controlled pause and presentation. See ForceNetworkProps.

A public-hook and public-marks composition. See useForceNetwork.

View source — packages/core/src/features/viz/lib/graph/force.tsx:709

Read the Data visualization companion for ownership, adaptation, failure modes, and verification. Agent start provides the version-selection workflow.

Documentation built with @pibbl/core 0.0.2, revision a1dcf8e. ALPHA — NOT FOR PRODUCTION USE.