# Graph visualization

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` |

## Start with a component

```tsx
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.

## Rebuild and customize

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.

```tsx
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.

## Data, identity, and values

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.

## Force ownership

`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.

## Examples

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.

## API details from source

<span id="api-VizKey"></span>

### VizKey

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

```ts
type VizKey = string | number
```

Related API: [VizKey](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:18](/source/packages/core/src/features/viz/lib/graph/types-ts/#L18)

<span id="api-Accessor"></span>

### Accessor

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

```ts
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](/reference/components/graph-visualization/), [GraphLayout](/reference/components/graph-visualization/).

#### Parameters

- **`datum`** — Source record.

#### Returns

Accessed value.

[View source — packages/core/src/features/viz/lib/graph/types.ts:22](/source/packages/core/src/features/viz/lib/graph/types-ts/#L22)

<span id="api-Bounds"></span>

### Bounds

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

```ts
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](/reference/components/graph-visualization/), [GraphLayout](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:30](/source/packages/core/src/features/viz/lib/graph/types-ts/#L30)

#### Properties and methods

<span id="api-Bounds-x"></span>
<details>
<summary>x</summary>


```ts
x: number
```

Horizontal coordinate in local logical pixels. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:32](/source/packages/core/src/features/viz/lib/graph/types-ts/#L32)

</details>

<span id="api-Bounds-y"></span>
<details>
<summary>y</summary>


```ts
y: number
```

Vertical coordinate in local logical pixels. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:34](/source/packages/core/src/features/viz/lib/graph/types-ts/#L34)

</details>

<span id="api-Bounds-width"></span>
<details>
<summary>width</summary>


```ts
width: number
```

Finite width in local logical pixels. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:36](/source/packages/core/src/features/viz/lib/graph/types-ts/#L36)

</details>

<span id="api-Bounds-height"></span>
<details>
<summary>height</summary>


```ts
height: number
```

Finite height in local logical pixels. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:38](/source/packages/core/src/features/viz/lib/graph/types-ts/#L38)

</details>

<span id="api-Point"></span>

### Point

An immutable coordinate in graph-local logical pixels. GraphLayout

```ts
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](/reference/components/graph-visualization/), [GraphLayout](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:43](/source/packages/core/src/features/viz/lib/graph/types-ts/#L43)

#### Properties and methods

<span id="api-Point-x"></span>
<details>
<summary>x</summary>


```ts
x: number
```

Horizontal coordinate in local logical pixels. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:45](/source/packages/core/src/features/viz/lib/graph/types-ts/#L45)

</details>

<span id="api-Point-y"></span>
<details>
<summary>y</summary>


```ts
y: number
```

Vertical coordinate in local logical pixels. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:47](/source/packages/core/src/features/viz/lib/graph/types-ts/#L47)

</details>

<span id="api-Style"></span>

### Style

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

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

Related API: [Style](/reference/components/graph-visualization/), [SystemStyle](/reference/types/styles/#systemstyle), [SignalValue](/reference/types/signal-inputs/#signalvalue), [PibblResponsiveStyle](/reference/types/styles/#pibblresponsivestyle).

[View source — packages/core/src/features/viz/lib/graph/types.ts:50](/source/packages/core/src/features/viz/lib/graph/types-ts/#L50)

<span id="api-MarkStyle"></span>

### MarkStyle

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

```ts
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](/reference/components/graph-visualization/), [SystemStyle](/reference/types/styles/#systemstyle), [Style](/reference/components/graph-visualization/), [GraphLayout](/reference/components/graph-visualization/).

#### Parameters

- **`geometry`** — Mark geometry.

#### Returns

Mark style.

[View source — packages/core/src/features/viz/lib/graph/types.ts:54](/source/packages/core/src/features/viz/lib/graph/types-ts/#L54)

<span id="api-NodeStyle"></span>

### NodeStyle

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

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

Related API: [NodeStyle](/reference/components/graph-visualization/), [RectStyle](/reference/types/styles/#rectstyle).

[View source — packages/core/src/features/viz/lib/graph/types.ts:60](/source/packages/core/src/features/viz/lib/graph/types-ts/#L60)

#### Properties and methods

<span id="api-NodeStyle-position"></span>
<details>
<summary>position (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L194)

</details>

<span id="api-NodeStyle-right"></span>
<details>
<summary>right (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L198)

</details>

<span id="api-NodeStyle-bottom"></span>
<details>
<summary>bottom (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L202)

</details>

<span id="api-NodeStyle-insetStart"></span>
<details>
<summary>insetStart (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L204)

</details>

<span id="api-NodeStyle-insetEnd"></span>
<details>
<summary>insetEnd (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L206)

</details>

<span id="api-NodeStyle-cornerRadius"></span>
<details>
<summary>cornerRadius (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L46)

</details>

<span id="api-NodeStyle-cornerRadii"></span>
<details>
<summary>cornerRadii (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L48)

</details>

<span id="api-NodeStyle-aspectRatio"></span>
<details>
<summary>aspectRatio (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L84)

</details>

<span id="api-NodeStyle-boxSizing"></span>
<details>
<summary>boxSizing (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L89)

</details>

<span id="api-NodeStyle-minWidth"></span>
<details>
<summary>minWidth (optional)</summary>


```ts
minWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L95)

</details>

<span id="api-NodeStyle-maxWidth"></span>
<details>
<summary>maxWidth (optional)</summary>


```ts
maxWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L97)

</details>

<span id="api-NodeStyle-minHeight"></span>
<details>
<summary>minHeight (optional)</summary>


```ts
minHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#sizingkeyword).

Minimum permitted height. See Length.

[View source — packages/core/src/lib/style/types.ts:99](/source/packages/core/src/lib/style/types-ts/#L99)

</details>

<span id="api-NodeStyle-maxHeight"></span>
<details>
<summary>maxHeight (optional)</summary>


```ts
maxHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#sizingkeyword).

Maximum permitted height. See Length.

[View source — packages/core/src/lib/style/types.ts:101](/source/packages/core/src/lib/style/types-ts/#L101)

</details>

<span id="api-NodeStyle-padding"></span>
<details>
<summary>padding (optional)</summary>


```ts
padding?: EdgeValues<number | `${number}%`> | undefined
```

Related API: [EdgeValues](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L103)

</details>

<span id="api-NodeStyle-paddingStart"></span>
<details>
<summary>paddingStart (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L105)

</details>

<span id="api-NodeStyle-paddingEnd"></span>
<details>
<summary>paddingEnd (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L107)

</details>

<span id="api-NodeStyle-borderWidth"></span>
<details>
<summary>borderWidth (optional)</summary>


```ts
borderWidth?: EdgeValues<number> | undefined
```

Related API: [EdgeValues](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L109)

</details>

<span id="api-NodeStyle-borderStartWidth"></span>
<details>
<summary>borderStartWidth (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L111)

</details>

<span id="api-NodeStyle-borderEndWidth"></span>
<details>
<summary>borderEndWidth (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L113)

</details>

<span id="api-NodeStyle-overflow"></span>
<details>
<summary>overflow (optional)</summary>


```ts
overflow?: "clip" | "visible" | undefined
```

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

[View source — packages/core/src/lib/style/types.ts:115](/source/packages/core/src/lib/style/types-ts/#L115)

</details>

<span id="api-NodeStyle-margin"></span>
<details>
<summary>margin (optional)</summary>


```ts
margin?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L146)

</details>

<span id="api-NodeStyle-marginTop"></span>
<details>
<summary>marginTop (optional)</summary>


```ts
marginTop?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical top margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:148](/source/packages/core/src/lib/style/types-ts/#L148)

</details>

<span id="api-NodeStyle-marginRight"></span>
<details>
<summary>marginRight (optional)</summary>


```ts
marginRight?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical right margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:150](/source/packages/core/src/lib/style/types-ts/#L150)

</details>

<span id="api-NodeStyle-marginBottom"></span>
<details>
<summary>marginBottom (optional)</summary>


```ts
marginBottom?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical bottom margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:152](/source/packages/core/src/lib/style/types-ts/#L152)

</details>

<span id="api-NodeStyle-marginLeft"></span>
<details>
<summary>marginLeft (optional)</summary>


```ts
marginLeft?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical left margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:154](/source/packages/core/src/lib/style/types-ts/#L154)

</details>

<span id="api-NodeStyle-marginStart"></span>
<details>
<summary>marginStart (optional)</summary>


```ts
marginStart?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L156)

</details>

<span id="api-NodeStyle-marginEnd"></span>
<details>
<summary>marginEnd (optional)</summary>


```ts
marginEnd?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L158)

</details>

<span id="api-NodeStyle-alignSelf"></span>
<details>
<summary>alignSelf (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L160)

</details>

<span id="api-NodeStyle-justifySelf"></span>
<details>
<summary>justifySelf (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L162)

</details>

<span id="api-NodeStyle-flexBasis"></span>
<details>
<summary>flexBasis (optional)</summary>


```ts
flexBasis?: SizingLength | undefined
```

Related API: [SizingLength](/reference/types/layout/#sizinglength).

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

[View source — packages/core/src/lib/style/types.ts:164](/source/packages/core/src/lib/style/types-ts/#L164)

</details>

<span id="api-NodeStyle-flexGrow"></span>
<details>
<summary>flexGrow (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L166)

</details>

<span id="api-NodeStyle-flexShrink"></span>
<details>
<summary>flexShrink (optional)</summary>


```ts
flexShrink?: number | undefined
```

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

[View source — packages/core/src/lib/style/types.ts:168](/source/packages/core/src/lib/style/types-ts/#L168)

</details>

<span id="api-NodeStyle-gridColumnStart"></span>
<details>
<summary>gridColumnStart (optional)</summary>


```ts
gridColumnStart?: number | undefined
```

Explicit starting grid column. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:170](/source/packages/core/src/lib/style/types-ts/#L170)

</details>

<span id="api-NodeStyle-gridColumnSpan"></span>
<details>
<summary>gridColumnSpan (optional)</summary>


```ts
gridColumnSpan?: number | undefined
```

Number of columns occupied by this child. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:172](/source/packages/core/src/lib/style/types-ts/#L172)

</details>

<span id="api-NodeStyle-gridRowStart"></span>
<details>
<summary>gridRowStart (optional)</summary>


```ts
gridRowStart?: number | undefined
```

Explicit starting grid row. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:174](/source/packages/core/src/lib/style/types-ts/#L174)

</details>

<span id="api-NodeStyle-gridRowSpan"></span>
<details>
<summary>gridRowSpan (optional)</summary>


```ts
gridRowSpan?: number | undefined
```

Number of rows occupied by this child. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:176](/source/packages/core/src/lib/style/types-ts/#L176)

</details>

<span id="api-NodeStyle-fill"></span>
<details>
<summary>fill (optional)</summary>


```ts
fill?: FillStyle | undefined
```

Related API: [FillStyle](/reference/types/styles/#fillstyle).

Paint used for the interior. See FillStyle.

[View source — packages/core/src/lib/style/types.ts:232](/source/packages/core/src/lib/style/types-ts/#L232)

</details>

<span id="api-NodeStyle-stroke"></span>
<details>
<summary>stroke (optional)</summary>


```ts
stroke?: StrokeStyle | undefined
```

Related API: [StrokeStyle](/reference/types/styles/#strokestyle).

Paint used for the outline. See StrokeStyle.

[View source — packages/core/src/lib/style/types.ts:234](/source/packages/core/src/lib/style/types-ts/#L234)

</details>

<span id="api-NodeStyle-strokeWidth"></span>
<details>
<summary>strokeWidth (optional)</summary>


```ts
strokeWidth?: number | undefined
```

Width of the painted outline. See PaintStyle.

[View source — packages/core/src/lib/style/types.ts:236](/source/packages/core/src/lib/style/types-ts/#L236)

</details>

<span id="api-NodeStyle-opacity"></span>
<details>
<summary>opacity (optional)</summary>


```ts
opacity?: number | undefined
```

Related API: [opacity](/reference/types/filters/#opacity).

Opacity of the painted result. See PaintStyle.

[View source — packages/core/src/lib/style/types.ts:238](/source/packages/core/src/lib/style/types-ts/#L238)

</details>

<span id="api-NodeStyle-cursor"></span>
<details>
<summary>cursor (optional)</summary>


```ts
cursor?: string | undefined
```

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

[View source — packages/core/src/lib/style/types.ts:251](/source/packages/core/src/lib/style/types-ts/#L251)

</details>

<span id="api-NodeStyle-alignToPixelGrid"></span>
<details>
<summary>alignToPixelGrid (optional)</summary>


```ts
alignToPixelGrid?: PixelGridAlignment | undefined
```

Related API: [PixelGridAlignment](/reference/types/styles/#pixelgridalignment).

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

[View source — packages/core/src/lib/style/types.ts:305](/source/packages/core/src/lib/style/types-ts/#L305)

</details>

<span id="api-NodeStyle-lineInteractionWidth"></span>
<details>
<summary>lineInteractionWidth (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L310)

</details>

<span id="api-NodeStyle-layoutParticipation"></span>
<details>
<summary>layoutParticipation (optional)</summary>


```ts
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](/source/packages/core/src/lib/types-ts/#L69)

</details>

<span id="api-NodeStyle-transition"></span>
<details>
<summary>transition (optional)</summary>


```ts
transition?: PibblTransitionBinding | undefined
```

Related API: [PibblTransitionBinding](/reference/hooks/use-visibility-transition/).

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

[View source — packages/core/src/lib/types.ts:71](/source/packages/core/src/lib/types-ts/#L71)

</details>

<span id="api-NodeStyle-custom"></span>
<details>
<summary>custom (optional)</summary>


```ts
custom?: unknown
```

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

[View source — packages/core/src/lib/types.ts:73](/source/packages/core/src/lib/types-ts/#L73)

</details>

<span id="api-NodeStyle-filter"></span>
<details>
<summary>filter (optional)</summary>


```ts
filter?: PibblFilter | readonly PibblFilter[] | undefined
```

Related API: [PibblFilter](/reference/types/filters/#pibblfilter).

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

[View source — packages/core/src/lib/types.ts:78](/source/packages/core/src/lib/types-ts/#L78)

</details>

<span id="api-EdgeStyle"></span>

### EdgeStyle

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

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

Related API: [EdgeStyle](/reference/components/graph-visualization/), [SvgPathStyle](/reference/types/styles/#svgpathstyle).

[View source — packages/core/src/features/viz/lib/graph/types.ts:62](/source/packages/core/src/features/viz/lib/graph/types-ts/#L62)

#### Properties and methods

<span id="api-EdgeStyle-position"></span>
<details>
<summary>position (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L194)

</details>

<span id="api-EdgeStyle-right"></span>
<details>
<summary>right (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L198)

</details>

<span id="api-EdgeStyle-bottom"></span>
<details>
<summary>bottom (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L202)

</details>

<span id="api-EdgeStyle-insetStart"></span>
<details>
<summary>insetStart (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L204)

</details>

<span id="api-EdgeStyle-insetEnd"></span>
<details>
<summary>insetEnd (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L206)

</details>

<span id="api-EdgeStyle-aspectRatio"></span>
<details>
<summary>aspectRatio (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L84)

</details>

<span id="api-EdgeStyle-boxSizing"></span>
<details>
<summary>boxSizing (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L89)

</details>

<span id="api-EdgeStyle-width"></span>
<details>
<summary>width (optional)</summary>


```ts
width?: SizingLength | undefined
```

Related API: [SizingLength](/reference/types/layout/#sizinglength).

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

[View source — packages/core/src/lib/style/types.ts:91](/source/packages/core/src/lib/style/types-ts/#L91)

</details>

<span id="api-EdgeStyle-height"></span>
<details>
<summary>height (optional)</summary>


```ts
height?: SizingLength | undefined
```

Related API: [SizingLength](/reference/types/layout/#sizinglength).

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

[View source — packages/core/src/lib/style/types.ts:93](/source/packages/core/src/lib/style/types-ts/#L93)

</details>

<span id="api-EdgeStyle-minWidth"></span>
<details>
<summary>minWidth (optional)</summary>


```ts
minWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L95)

</details>

<span id="api-EdgeStyle-maxWidth"></span>
<details>
<summary>maxWidth (optional)</summary>


```ts
maxWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L97)

</details>

<span id="api-EdgeStyle-minHeight"></span>
<details>
<summary>minHeight (optional)</summary>


```ts
minHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#sizingkeyword).

Minimum permitted height. See Length.

[View source — packages/core/src/lib/style/types.ts:99](/source/packages/core/src/lib/style/types-ts/#L99)

</details>

<span id="api-EdgeStyle-maxHeight"></span>
<details>
<summary>maxHeight (optional)</summary>


```ts
maxHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#sizingkeyword).

Maximum permitted height. See Length.

[View source — packages/core/src/lib/style/types.ts:101](/source/packages/core/src/lib/style/types-ts/#L101)

</details>

<span id="api-EdgeStyle-padding"></span>
<details>
<summary>padding (optional)</summary>


```ts
padding?: EdgeValues<number | `${number}%`> | undefined
```

Related API: [EdgeValues](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L103)

</details>

<span id="api-EdgeStyle-paddingStart"></span>
<details>
<summary>paddingStart (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L105)

</details>

<span id="api-EdgeStyle-paddingEnd"></span>
<details>
<summary>paddingEnd (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L107)

</details>

<span id="api-EdgeStyle-borderWidth"></span>
<details>
<summary>borderWidth (optional)</summary>


```ts
borderWidth?: EdgeValues<number> | undefined
```

Related API: [EdgeValues](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L109)

</details>

<span id="api-EdgeStyle-borderStartWidth"></span>
<details>
<summary>borderStartWidth (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L111)

</details>

<span id="api-EdgeStyle-borderEndWidth"></span>
<details>
<summary>borderEndWidth (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L113)

</details>

<span id="api-EdgeStyle-overflow"></span>
<details>
<summary>overflow (optional)</summary>


```ts
overflow?: "clip" | "visible" | undefined
```

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

[View source — packages/core/src/lib/style/types.ts:115](/source/packages/core/src/lib/style/types-ts/#L115)

</details>

<span id="api-EdgeStyle-margin"></span>
<details>
<summary>margin (optional)</summary>


```ts
margin?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L146)

</details>

<span id="api-EdgeStyle-marginTop"></span>
<details>
<summary>marginTop (optional)</summary>


```ts
marginTop?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical top margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:148](/source/packages/core/src/lib/style/types-ts/#L148)

</details>

<span id="api-EdgeStyle-marginRight"></span>
<details>
<summary>marginRight (optional)</summary>


```ts
marginRight?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical right margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:150](/source/packages/core/src/lib/style/types-ts/#L150)

</details>

<span id="api-EdgeStyle-marginBottom"></span>
<details>
<summary>marginBottom (optional)</summary>


```ts
marginBottom?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical bottom margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:152](/source/packages/core/src/lib/style/types-ts/#L152)

</details>

<span id="api-EdgeStyle-marginLeft"></span>
<details>
<summary>marginLeft (optional)</summary>


```ts
marginLeft?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical left margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:154](/source/packages/core/src/lib/style/types-ts/#L154)

</details>

<span id="api-EdgeStyle-marginStart"></span>
<details>
<summary>marginStart (optional)</summary>


```ts
marginStart?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L156)

</details>

<span id="api-EdgeStyle-marginEnd"></span>
<details>
<summary>marginEnd (optional)</summary>


```ts
marginEnd?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L158)

</details>

<span id="api-EdgeStyle-alignSelf"></span>
<details>
<summary>alignSelf (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L160)

</details>

<span id="api-EdgeStyle-justifySelf"></span>
<details>
<summary>justifySelf (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L162)

</details>

<span id="api-EdgeStyle-flexBasis"></span>
<details>
<summary>flexBasis (optional)</summary>


```ts
flexBasis?: SizingLength | undefined
```

Related API: [SizingLength](/reference/types/layout/#sizinglength).

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

[View source — packages/core/src/lib/style/types.ts:164](/source/packages/core/src/lib/style/types-ts/#L164)

</details>

<span id="api-EdgeStyle-flexGrow"></span>
<details>
<summary>flexGrow (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L166)

</details>

<span id="api-EdgeStyle-flexShrink"></span>
<details>
<summary>flexShrink (optional)</summary>


```ts
flexShrink?: number | undefined
```

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

[View source — packages/core/src/lib/style/types.ts:168](/source/packages/core/src/lib/style/types-ts/#L168)

</details>

<span id="api-EdgeStyle-gridColumnStart"></span>
<details>
<summary>gridColumnStart (optional)</summary>


```ts
gridColumnStart?: number | undefined
```

Explicit starting grid column. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:170](/source/packages/core/src/lib/style/types-ts/#L170)

</details>

<span id="api-EdgeStyle-gridColumnSpan"></span>
<details>
<summary>gridColumnSpan (optional)</summary>


```ts
gridColumnSpan?: number | undefined
```

Number of columns occupied by this child. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:172](/source/packages/core/src/lib/style/types-ts/#L172)

</details>

<span id="api-EdgeStyle-gridRowStart"></span>
<details>
<summary>gridRowStart (optional)</summary>


```ts
gridRowStart?: number | undefined
```

Explicit starting grid row. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:174](/source/packages/core/src/lib/style/types-ts/#L174)

</details>

<span id="api-EdgeStyle-gridRowSpan"></span>
<details>
<summary>gridRowSpan (optional)</summary>


```ts
gridRowSpan?: number | undefined
```

Number of rows occupied by this child. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:176](/source/packages/core/src/lib/style/types-ts/#L176)

</details>

<span id="api-EdgeStyle-fill"></span>
<details>
<summary>fill (optional)</summary>


```ts
fill?: FillStyle | undefined
```

Related API: [FillStyle](/reference/types/styles/#fillstyle).

Paint used for the interior. See FillStyle.

[View source — packages/core/src/lib/style/types.ts:232](/source/packages/core/src/lib/style/types-ts/#L232)

</details>

<span id="api-EdgeStyle-stroke"></span>
<details>
<summary>stroke (optional)</summary>


```ts
stroke?: StrokeStyle | undefined
```

Related API: [StrokeStyle](/reference/types/styles/#strokestyle).

Paint used for the outline. See StrokeStyle.

[View source — packages/core/src/lib/style/types.ts:234](/source/packages/core/src/lib/style/types-ts/#L234)

</details>

<span id="api-EdgeStyle-strokeWidth"></span>
<details>
<summary>strokeWidth (optional)</summary>


```ts
strokeWidth?: number | undefined
```

Width of the painted outline. See PaintStyle.

[View source — packages/core/src/lib/style/types.ts:236](/source/packages/core/src/lib/style/types-ts/#L236)

</details>

<span id="api-EdgeStyle-opacity"></span>
<details>
<summary>opacity (optional)</summary>


```ts
opacity?: number | undefined
```

Related API: [opacity](/reference/types/filters/#opacity).

Opacity of the painted result. See PaintStyle.

[View source — packages/core/src/lib/style/types.ts:238](/source/packages/core/src/lib/style/types-ts/#L238)

</details>

<span id="api-EdgeStyle-cursor"></span>
<details>
<summary>cursor (optional)</summary>


```ts
cursor?: string | undefined
```

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

[View source — packages/core/src/lib/style/types.ts:251](/source/packages/core/src/lib/style/types-ts/#L251)

</details>

<span id="api-EdgeStyle-lineInteractionWidth"></span>
<details>
<summary>lineInteractionWidth (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L334)

</details>

<span id="api-EdgeStyle-layoutParticipation"></span>
<details>
<summary>layoutParticipation (optional)</summary>


```ts
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](/source/packages/core/src/lib/types-ts/#L69)

</details>

<span id="api-EdgeStyle-transition"></span>
<details>
<summary>transition (optional)</summary>


```ts
transition?: PibblTransitionBinding | undefined
```

Related API: [PibblTransitionBinding](/reference/hooks/use-visibility-transition/).

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

[View source — packages/core/src/lib/types.ts:71](/source/packages/core/src/lib/types-ts/#L71)

</details>

<span id="api-EdgeStyle-custom"></span>
<details>
<summary>custom (optional)</summary>


```ts
custom?: unknown
```

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

[View source — packages/core/src/lib/types.ts:73](/source/packages/core/src/lib/types-ts/#L73)

</details>

<span id="api-EdgeStyle-filter"></span>
<details>
<summary>filter (optional)</summary>


```ts
filter?: PibblFilter | readonly PibblFilter[] | undefined
```

Related API: [PibblFilter](/reference/types/filters/#pibblfilter).

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

[View source — packages/core/src/lib/types.ts:78](/source/packages/core/src/lib/types-ts/#L78)

</details>

<span id="api-LabelStyle"></span>

### LabelStyle

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

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

Related API: [LabelStyle](/reference/components/graph-visualization/), [TextStyle](/reference/types/styles/#textstyle).

[View source — packages/core/src/features/viz/lib/graph/types.ts:64](/source/packages/core/src/features/viz/lib/graph/types-ts/#L64)

#### Properties and methods

<span id="api-LabelStyle-position"></span>
<details>
<summary>position (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L194)

</details>

<span id="api-LabelStyle-right"></span>
<details>
<summary>right (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L198)

</details>

<span id="api-LabelStyle-bottom"></span>
<details>
<summary>bottom (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L202)

</details>

<span id="api-LabelStyle-insetStart"></span>
<details>
<summary>insetStart (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L204)

</details>

<span id="api-LabelStyle-insetEnd"></span>
<details>
<summary>insetEnd (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L206)

</details>

<span id="api-LabelStyle-aspectRatio"></span>
<details>
<summary>aspectRatio (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L84)

</details>

<span id="api-LabelStyle-boxSizing"></span>
<details>
<summary>boxSizing (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L89)

</details>

<span id="api-LabelStyle-minWidth"></span>
<details>
<summary>minWidth (optional)</summary>


```ts
minWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L95)

</details>

<span id="api-LabelStyle-maxWidth"></span>
<details>
<summary>maxWidth (optional)</summary>


```ts
maxWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L97)

</details>

<span id="api-LabelStyle-minHeight"></span>
<details>
<summary>minHeight (optional)</summary>


```ts
minHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#sizingkeyword).

Minimum permitted height. See Length.

[View source — packages/core/src/lib/style/types.ts:99](/source/packages/core/src/lib/style/types-ts/#L99)

</details>

<span id="api-LabelStyle-maxHeight"></span>
<details>
<summary>maxHeight (optional)</summary>


```ts
maxHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#sizingkeyword).

Maximum permitted height. See Length.

[View source — packages/core/src/lib/style/types.ts:101](/source/packages/core/src/lib/style/types-ts/#L101)

</details>

<span id="api-LabelStyle-padding"></span>
<details>
<summary>padding (optional)</summary>


```ts
padding?: EdgeValues<number | `${number}%`> | undefined
```

Related API: [EdgeValues](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L103)

</details>

<span id="api-LabelStyle-paddingStart"></span>
<details>
<summary>paddingStart (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L105)

</details>

<span id="api-LabelStyle-paddingEnd"></span>
<details>
<summary>paddingEnd (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L107)

</details>

<span id="api-LabelStyle-borderWidth"></span>
<details>
<summary>borderWidth (optional)</summary>


```ts
borderWidth?: EdgeValues<number> | undefined
```

Related API: [EdgeValues](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L109)

</details>

<span id="api-LabelStyle-borderStartWidth"></span>
<details>
<summary>borderStartWidth (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L111)

</details>

<span id="api-LabelStyle-borderEndWidth"></span>
<details>
<summary>borderEndWidth (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L113)

</details>

<span id="api-LabelStyle-overflow"></span>
<details>
<summary>overflow (optional)</summary>


```ts
overflow?: "clip" | "visible" | undefined
```

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

[View source — packages/core/src/lib/style/types.ts:115](/source/packages/core/src/lib/style/types-ts/#L115)

</details>

<span id="api-LabelStyle-margin"></span>
<details>
<summary>margin (optional)</summary>


```ts
margin?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L146)

</details>

<span id="api-LabelStyle-marginTop"></span>
<details>
<summary>marginTop (optional)</summary>


```ts
marginTop?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical top margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:148](/source/packages/core/src/lib/style/types-ts/#L148)

</details>

<span id="api-LabelStyle-marginRight"></span>
<details>
<summary>marginRight (optional)</summary>


```ts
marginRight?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical right margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:150](/source/packages/core/src/lib/style/types-ts/#L150)

</details>

<span id="api-LabelStyle-marginBottom"></span>
<details>
<summary>marginBottom (optional)</summary>


```ts
marginBottom?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical bottom margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:152](/source/packages/core/src/lib/style/types-ts/#L152)

</details>

<span id="api-LabelStyle-marginLeft"></span>
<details>
<summary>marginLeft (optional)</summary>


```ts
marginLeft?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical left margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:154](/source/packages/core/src/lib/style/types-ts/#L154)

</details>

<span id="api-LabelStyle-marginStart"></span>
<details>
<summary>marginStart (optional)</summary>


```ts
marginStart?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L156)

</details>

<span id="api-LabelStyle-marginEnd"></span>
<details>
<summary>marginEnd (optional)</summary>


```ts
marginEnd?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L158)

</details>

<span id="api-LabelStyle-alignSelf"></span>
<details>
<summary>alignSelf (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L160)

</details>

<span id="api-LabelStyle-justifySelf"></span>
<details>
<summary>justifySelf (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L162)

</details>

<span id="api-LabelStyle-flexBasis"></span>
<details>
<summary>flexBasis (optional)</summary>


```ts
flexBasis?: SizingLength | undefined
```

Related API: [SizingLength](/reference/types/layout/#sizinglength).

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

[View source — packages/core/src/lib/style/types.ts:164](/source/packages/core/src/lib/style/types-ts/#L164)

</details>

<span id="api-LabelStyle-flexGrow"></span>
<details>
<summary>flexGrow (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L166)

</details>

<span id="api-LabelStyle-flexShrink"></span>
<details>
<summary>flexShrink (optional)</summary>


```ts
flexShrink?: number | undefined
```

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

[View source — packages/core/src/lib/style/types.ts:168](/source/packages/core/src/lib/style/types-ts/#L168)

</details>

<span id="api-LabelStyle-gridColumnStart"></span>
<details>
<summary>gridColumnStart (optional)</summary>


```ts
gridColumnStart?: number | undefined
```

Explicit starting grid column. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:170](/source/packages/core/src/lib/style/types-ts/#L170)

</details>

<span id="api-LabelStyle-gridColumnSpan"></span>
<details>
<summary>gridColumnSpan (optional)</summary>


```ts
gridColumnSpan?: number | undefined
```

Number of columns occupied by this child. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:172](/source/packages/core/src/lib/style/types-ts/#L172)

</details>

<span id="api-LabelStyle-gridRowStart"></span>
<details>
<summary>gridRowStart (optional)</summary>


```ts
gridRowStart?: number | undefined
```

Explicit starting grid row. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:174](/source/packages/core/src/lib/style/types-ts/#L174)

</details>

<span id="api-LabelStyle-gridRowSpan"></span>
<details>
<summary>gridRowSpan (optional)</summary>


```ts
gridRowSpan?: number | undefined
```

Number of rows occupied by this child. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:176](/source/packages/core/src/lib/style/types-ts/#L176)

</details>

<span id="api-LabelStyle-fill"></span>
<details>
<summary>fill (optional)</summary>


```ts
fill?: FillStyle | undefined
```

Related API: [FillStyle](/reference/types/styles/#fillstyle).

Paint used for the interior. See FillStyle.

[View source — packages/core/src/lib/style/types.ts:232](/source/packages/core/src/lib/style/types-ts/#L232)

</details>

<span id="api-LabelStyle-stroke"></span>
<details>
<summary>stroke (optional)</summary>


```ts
stroke?: StrokeStyle | undefined
```

Related API: [StrokeStyle](/reference/types/styles/#strokestyle).

Paint used for the outline. See StrokeStyle.

[View source — packages/core/src/lib/style/types.ts:234](/source/packages/core/src/lib/style/types-ts/#L234)

</details>

<span id="api-LabelStyle-strokeWidth"></span>
<details>
<summary>strokeWidth (optional)</summary>


```ts
strokeWidth?: number | undefined
```

Width of the painted outline. See PaintStyle.

[View source — packages/core/src/lib/style/types.ts:236](/source/packages/core/src/lib/style/types-ts/#L236)

</details>

<span id="api-LabelStyle-opacity"></span>
<details>
<summary>opacity (optional)</summary>


```ts
opacity?: number | undefined
```

Related API: [opacity](/reference/types/filters/#opacity).

Opacity of the painted result. See PaintStyle.

[View source — packages/core/src/lib/style/types.ts:238](/source/packages/core/src/lib/style/types-ts/#L238)

</details>

<span id="api-LabelStyle-cursor"></span>
<details>
<summary>cursor (optional)</summary>


```ts
cursor?: string | undefined
```

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

[View source — packages/core/src/lib/style/types.ts:251](/source/packages/core/src/lib/style/types-ts/#L251)

</details>

<span id="api-LabelStyle-lineHeight"></span>
<details>
<summary>lineHeight (optional)</summary>


```ts
lineHeight?: number | undefined
```

Spacing between successive text lines. See TextStyle.

[View source — packages/core/src/lib/style/types.ts:358](/source/packages/core/src/lib/style/types-ts/#L358)

</details>

<span id="api-LabelStyle-wrap"></span>
<details>
<summary>wrap (optional)</summary>


```ts
wrap?: boolean | undefined
```

Whether content may wrap into additional lines. See TextStyle.

[View source — packages/core/src/lib/style/types.ts:360](/source/packages/core/src/lib/style/types-ts/#L360)

</details>

<span id="api-LabelStyle-fit"></span>
<details>
<summary>fit (optional)</summary>


```ts
fit?: TextFit | undefined
```

Related API: [TextFit](/reference/types/elements-components/#textfit).

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

[View source — packages/core/src/lib/style/types.ts:362](/source/packages/core/src/lib/style/types-ts/#L362)

</details>

<span id="api-LabelStyle-font"></span>
<details>
<summary>font (optional)</summary>


```ts
font?: string | undefined
```

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

[View source — packages/core/src/lib/style/types.ts:364](/source/packages/core/src/lib/style/types-ts/#L364)

</details>

<span id="api-LabelStyle-textBaseline"></span>
<details>
<summary>textBaseline (optional)</summary>


```ts
textBaseline?: CanvasTextBaseline | undefined
```

Canvas baseline used when placing text. See TextStyle.

[View source — packages/core/src/lib/style/types.ts:366](/source/packages/core/src/lib/style/types-ts/#L366)

</details>

<span id="api-LabelStyle-textAlign"></span>
<details>
<summary>textAlign (optional)</summary>


```ts
textAlign?: CanvasTextAlign | undefined
```

Canvas horizontal alignment used when placing text. See TextStyle.

[View source — packages/core/src/lib/style/types.ts:368](/source/packages/core/src/lib/style/types-ts/#L368)

</details>

<span id="api-LabelStyle-layoutParticipation"></span>
<details>
<summary>layoutParticipation (optional)</summary>


```ts
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](/source/packages/core/src/lib/types-ts/#L69)

</details>

<span id="api-LabelStyle-transition"></span>
<details>
<summary>transition (optional)</summary>


```ts
transition?: PibblTransitionBinding | undefined
```

Related API: [PibblTransitionBinding](/reference/hooks/use-visibility-transition/).

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

[View source — packages/core/src/lib/types.ts:71](/source/packages/core/src/lib/types-ts/#L71)

</details>

<span id="api-LabelStyle-custom"></span>
<details>
<summary>custom (optional)</summary>


```ts
custom?: unknown
```

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

[View source — packages/core/src/lib/types.ts:73](/source/packages/core/src/lib/types-ts/#L73)

</details>

<span id="api-LabelStyle-filter"></span>
<details>
<summary>filter (optional)</summary>


```ts
filter?: PibblFilter | readonly PibblFilter[] | undefined
```

Related API: [PibblFilter](/reference/types/filters/#pibblfilter).

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

[View source — packages/core/src/lib/types.ts:78](/source/packages/core/src/lib/types-ts/#L78)

</details>

<span id="api-FrameStyle"></span>

### FrameStyle

Layout and paint properties for a graph component frame. GraphLayout

```ts
type FrameStyle = GStyle
```

Related API: [FrameStyle](/reference/components/graph-visualization/), [GStyle](/reference/types/styles/#gstyle).

[View source — packages/core/src/features/viz/lib/graph/types.ts:66](/source/packages/core/src/features/viz/lib/graph/types-ts/#L66)

#### Properties and methods

<span id="api-FrameStyle-scaleX"></span>
<details>
<summary>scaleX (optional)</summary>


```ts
scaleX?: number | undefined
```

Horizontal scale factor. See GStyle.

[View source — packages/core/src/lib/components/g.ts:46](/source/packages/core/src/lib/components/g-ts/#L46)

</details>

<span id="api-FrameStyle-scaleY"></span>
<details>
<summary>scaleY (optional)</summary>


```ts
scaleY?: number | undefined
```

Vertical scale factor. See GStyle.

[View source — packages/core/src/lib/components/g.ts:48](/source/packages/core/src/lib/components/g-ts/#L48)

</details>

<span id="api-FrameStyle-rotationDegrees"></span>
<details>
<summary>rotationDegrees (optional)</summary>


```ts
rotationDegrees?: number | undefined
```

Clockwise rotation in degrees.

[View source — packages/core/src/lib/components/g.ts:50](/source/packages/core/src/lib/components/g-ts/#L50)

</details>

<span id="api-FrameStyle-rotationOrigin"></span>
<details>
<summary>rotationOrigin (optional)</summary>


```ts
rotationOrigin?: [number, number] | undefined
```

Point around which the rotation is applied. See GStyle.

[View source — packages/core/src/lib/components/g.ts:52](/source/packages/core/src/lib/components/g-ts/#L52)

</details>

<span id="api-FrameStyle-translateX"></span>
<details>
<summary>translateX (optional)</summary>


```ts
translateX?: number | undefined
```

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

[View source — packages/core/src/lib/components/g.ts:54](/source/packages/core/src/lib/components/g-ts/#L54)

</details>

<span id="api-FrameStyle-translateY"></span>
<details>
<summary>translateY (optional)</summary>


```ts
translateY?: number | undefined
```

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

[View source — packages/core/src/lib/components/g.ts:56](/source/packages/core/src/lib/components/g-ts/#L56)

</details>

<span id="api-FrameStyle-skewX"></span>
<details>
<summary>skewX (optional)</summary>


```ts
skewX?: number | undefined
```

Horizontal skew angle in degrees.

[View source — packages/core/src/lib/components/g.ts:58](/source/packages/core/src/lib/components/g-ts/#L58)

</details>

<span id="api-FrameStyle-skewY"></span>
<details>
<summary>skewY (optional)</summary>


```ts
skewY?: number | undefined
```

Vertical skew angle in degrees.

[View source — packages/core/src/lib/components/g.ts:60](/source/packages/core/src/lib/components/g-ts/#L60)

</details>

<span id="api-FrameStyle-position"></span>
<details>
<summary>position (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L194)

</details>

<span id="api-FrameStyle-left"></span>
<details>
<summary>left (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L196)

</details>

<span id="api-FrameStyle-right"></span>
<details>
<summary>right (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L198)

</details>

<span id="api-FrameStyle-top"></span>
<details>
<summary>top (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L200)

</details>

<span id="api-FrameStyle-bottom"></span>
<details>
<summary>bottom (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L202)

</details>

<span id="api-FrameStyle-insetStart"></span>
<details>
<summary>insetStart (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L204)

</details>

<span id="api-FrameStyle-insetEnd"></span>
<details>
<summary>insetEnd (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L206)

</details>

<span id="api-FrameStyle-aspectRatio"></span>
<details>
<summary>aspectRatio (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L84)

</details>

<span id="api-FrameStyle-boxSizing"></span>
<details>
<summary>boxSizing (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L89)

</details>

<span id="api-FrameStyle-width"></span>
<details>
<summary>width (optional)</summary>


```ts
width?: SizingLength | undefined
```

Related API: [SizingLength](/reference/types/layout/#sizinglength).

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

[View source — packages/core/src/lib/style/types.ts:91](/source/packages/core/src/lib/style/types-ts/#L91)

</details>

<span id="api-FrameStyle-height"></span>
<details>
<summary>height (optional)</summary>


```ts
height?: SizingLength | undefined
```

Related API: [SizingLength](/reference/types/layout/#sizinglength).

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

[View source — packages/core/src/lib/style/types.ts:93](/source/packages/core/src/lib/style/types-ts/#L93)

</details>

<span id="api-FrameStyle-minWidth"></span>
<details>
<summary>minWidth (optional)</summary>


```ts
minWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L95)

</details>

<span id="api-FrameStyle-maxWidth"></span>
<details>
<summary>maxWidth (optional)</summary>


```ts
maxWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L97)

</details>

<span id="api-FrameStyle-minHeight"></span>
<details>
<summary>minHeight (optional)</summary>


```ts
minHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#sizingkeyword).

Minimum permitted height. See Length.

[View source — packages/core/src/lib/style/types.ts:99](/source/packages/core/src/lib/style/types-ts/#L99)

</details>

<span id="api-FrameStyle-maxHeight"></span>
<details>
<summary>maxHeight (optional)</summary>


```ts
maxHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#sizingkeyword).

Maximum permitted height. See Length.

[View source — packages/core/src/lib/style/types.ts:101](/source/packages/core/src/lib/style/types-ts/#L101)

</details>

<span id="api-FrameStyle-padding"></span>
<details>
<summary>padding (optional)</summary>


```ts
padding?: EdgeValues<number | `${number}%`> | undefined
```

Related API: [EdgeValues](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L103)

</details>

<span id="api-FrameStyle-paddingStart"></span>
<details>
<summary>paddingStart (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L105)

</details>

<span id="api-FrameStyle-paddingEnd"></span>
<details>
<summary>paddingEnd (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L107)

</details>

<span id="api-FrameStyle-borderWidth"></span>
<details>
<summary>borderWidth (optional)</summary>


```ts
borderWidth?: EdgeValues<number> | undefined
```

Related API: [EdgeValues](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L109)

</details>

<span id="api-FrameStyle-borderStartWidth"></span>
<details>
<summary>borderStartWidth (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L111)

</details>

<span id="api-FrameStyle-borderEndWidth"></span>
<details>
<summary>borderEndWidth (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L113)

</details>

<span id="api-FrameStyle-overflow"></span>
<details>
<summary>overflow (optional)</summary>


```ts
overflow?: "clip" | "visible" | undefined
```

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

[View source — packages/core/src/lib/style/types.ts:115](/source/packages/core/src/lib/style/types-ts/#L115)

</details>

<span id="api-FrameStyle-margin"></span>
<details>
<summary>margin (optional)</summary>


```ts
margin?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L146)

</details>

<span id="api-FrameStyle-marginTop"></span>
<details>
<summary>marginTop (optional)</summary>


```ts
marginTop?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical top margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:148](/source/packages/core/src/lib/style/types-ts/#L148)

</details>

<span id="api-FrameStyle-marginRight"></span>
<details>
<summary>marginRight (optional)</summary>


```ts
marginRight?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical right margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:150](/source/packages/core/src/lib/style/types-ts/#L150)

</details>

<span id="api-FrameStyle-marginBottom"></span>
<details>
<summary>marginBottom (optional)</summary>


```ts
marginBottom?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical bottom margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:152](/source/packages/core/src/lib/style/types-ts/#L152)

</details>

<span id="api-FrameStyle-marginLeft"></span>
<details>
<summary>marginLeft (optional)</summary>


```ts
marginLeft?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical left margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:154](/source/packages/core/src/lib/style/types-ts/#L154)

</details>

<span id="api-FrameStyle-marginStart"></span>
<details>
<summary>marginStart (optional)</summary>


```ts
marginStart?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L156)

</details>

<span id="api-FrameStyle-marginEnd"></span>
<details>
<summary>marginEnd (optional)</summary>


```ts
marginEnd?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L158)

</details>

<span id="api-FrameStyle-alignSelf"></span>
<details>
<summary>alignSelf (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L160)

</details>

<span id="api-FrameStyle-justifySelf"></span>
<details>
<summary>justifySelf (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L162)

</details>

<span id="api-FrameStyle-flexBasis"></span>
<details>
<summary>flexBasis (optional)</summary>


```ts
flexBasis?: SizingLength | undefined
```

Related API: [SizingLength](/reference/types/layout/#sizinglength).

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

[View source — packages/core/src/lib/style/types.ts:164](/source/packages/core/src/lib/style/types-ts/#L164)

</details>

<span id="api-FrameStyle-flexGrow"></span>
<details>
<summary>flexGrow (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L166)

</details>

<span id="api-FrameStyle-flexShrink"></span>
<details>
<summary>flexShrink (optional)</summary>


```ts
flexShrink?: number | undefined
```

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

[View source — packages/core/src/lib/style/types.ts:168](/source/packages/core/src/lib/style/types-ts/#L168)

</details>

<span id="api-FrameStyle-gridColumnStart"></span>
<details>
<summary>gridColumnStart (optional)</summary>


```ts
gridColumnStart?: number | undefined
```

Explicit starting grid column. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:170](/source/packages/core/src/lib/style/types-ts/#L170)

</details>

<span id="api-FrameStyle-gridColumnSpan"></span>
<details>
<summary>gridColumnSpan (optional)</summary>


```ts
gridColumnSpan?: number | undefined
```

Number of columns occupied by this child. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:172](/source/packages/core/src/lib/style/types-ts/#L172)

</details>

<span id="api-FrameStyle-gridRowStart"></span>
<details>
<summary>gridRowStart (optional)</summary>


```ts
gridRowStart?: number | undefined
```

Explicit starting grid row. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:174](/source/packages/core/src/lib/style/types-ts/#L174)

</details>

<span id="api-FrameStyle-gridRowSpan"></span>
<details>
<summary>gridRowSpan (optional)</summary>


```ts
gridRowSpan?: number | undefined
```

Number of rows occupied by this child. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:176](/source/packages/core/src/lib/style/types-ts/#L176)

</details>

<span id="api-FrameStyle-layoutParticipation"></span>
<details>
<summary>layoutParticipation (optional)</summary>


```ts
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](/source/packages/core/src/lib/types-ts/#L69)

</details>

<span id="api-FrameStyle-transition"></span>
<details>
<summary>transition (optional)</summary>


```ts
transition?: PibblTransitionBinding | undefined
```

Related API: [PibblTransitionBinding](/reference/hooks/use-visibility-transition/).

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

[View source — packages/core/src/lib/types.ts:71](/source/packages/core/src/lib/types-ts/#L71)

</details>

<span id="api-FrameStyle-custom"></span>
<details>
<summary>custom (optional)</summary>


```ts
custom?: unknown
```

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

[View source — packages/core/src/lib/types.ts:73](/source/packages/core/src/lib/types-ts/#L73)

</details>

<span id="api-FrameStyle-filter"></span>
<details>
<summary>filter (optional)</summary>


```ts
filter?: PibblFilter | readonly PibblFilter[] | undefined
```

Related API: [PibblFilter](/reference/types/filters/#pibblfilter).

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

[View source — packages/core/src/lib/types.ts:78](/source/packages/core/src/lib/types-ts/#L78)

</details>

<span id="api-LabelGeometry"></span>

### LabelGeometry

A decorative text string with immutable placement. GraphLayout

```ts
interface LabelGeometry
```

Related API: [LabelGeometry](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:68](/source/packages/core/src/features/viz/lib/graph/types-ts/#L68)

#### Properties and methods

<span id="api-LabelGeometry-text"></span>
<details>
<summary>text</summary>


```ts
readonly text: string
```

Text displayed by the label. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:70](/source/packages/core/src/features/viz/lib/graph/types-ts/#L70)

</details>

<span id="api-LabelGeometry-bounds"></span>
<details>
<summary>bounds</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L72)

</details>

<span id="api-LabelGeometry-rotationDegrees"></span>
<details>
<summary>rotationDegrees</summary>


```ts
readonly rotationDegrees: number
```

Clockwise label rotation in degrees. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:74](/source/packages/core/src/features/viz/lib/graph/types-ts/#L74)

</details>

<span id="api-GraphData"></span>

### GraphData

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

```ts
interface GraphData<N, E>
```

Related API: [GraphData](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:77](/source/packages/core/src/features/viz/lib/graph/types-ts/#L77)

#### Properties and methods

<span id="api-GraphData-nodes"></span>
<details>
<summary>nodes</summary>


```ts
readonly nodes: readonly N[]
```

Source nodes in application order. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:79](/source/packages/core/src/features/viz/lib/graph/types-ts/#L79)

</details>

<span id="api-GraphData-edges"></span>
<details>
<summary>edges</summary>


```ts
readonly edges: readonly E[]
```

Source edges in application order. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:81](/source/packages/core/src/features/viz/lib/graph/types-ts/#L81)

</details>

<span id="api-GraphAccessors"></span>

### GraphAccessors

Typed readers that identify graph records and optional text. GraphLayout

```ts
interface GraphAccessors<N, E>
```

Related API: [GraphAccessors](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:84](/source/packages/core/src/features/viz/lib/graph/types-ts/#L84)

#### Properties and methods

<span id="api-GraphAccessors-nodeKey"></span>
<details>
<summary>nodeKey</summary>


```ts
readonly nodeKey: Accessor<N, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each node’s stable key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:86](/source/packages/core/src/features/viz/lib/graph/types-ts/#L86)

</details>

<span id="api-GraphAccessors-edgeKey"></span>
<details>
<summary>edgeKey</summary>


```ts
readonly edgeKey: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each edge’s stable key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:88](/source/packages/core/src/features/viz/lib/graph/types-ts/#L88)

</details>

<span id="api-GraphAccessors-source"></span>
<details>
<summary>source</summary>


```ts
readonly source: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads an edge source key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:90](/source/packages/core/src/features/viz/lib/graph/types-ts/#L90)

</details>

<span id="api-GraphAccessors-target"></span>
<details>
<summary>target</summary>


```ts
readonly target: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads an edge target key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:92](/source/packages/core/src/features/viz/lib/graph/types-ts/#L92)

</details>

<span id="api-GraphAccessors-label"></span>
<details>
<summary>label (optional)</summary>


```ts
readonly label?: Accessor<N, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a node’s primary text. LabelGeometry

[View source — packages/core/src/features/viz/lib/graph/types.ts:94](/source/packages/core/src/features/viz/lib/graph/types-ts/#L94)

</details>

<span id="api-GraphAccessors-detail"></span>
<details>
<summary>detail (optional)</summary>


```ts
readonly detail?: Accessor<N, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a node’s secondary text. LabelGeometry

[View source — packages/core/src/features/viz/lib/graph/types.ts:96](/source/packages/core/src/features/viz/lib/graph/types-ts/#L96)

</details>

<span id="api-GraphNodeGeometry"></span>

### GraphNodeGeometry

Immutable node geometry paired with its original record. GraphLayout

```ts
interface GraphNodeGeometry<N>
```

Related API: [GraphNodeGeometry](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:99](/source/packages/core/src/features/viz/lib/graph/types-ts/#L99)

#### Properties and methods

<span id="api-GraphNodeGeometry-key"></span>
<details>
<summary>key</summary>


```ts
readonly key: VizKey
```

Related API: [VizKey](/reference/components/graph-visualization/).

Stable application-provided key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:101](/source/packages/core/src/features/viz/lib/graph/types-ts/#L101)

</details>

<span id="api-GraphNodeGeometry-datum"></span>
<details>
<summary>datum</summary>


```ts
readonly datum: N
```

Original application record. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:103](/source/packages/core/src/features/viz/lib/graph/types-ts/#L103)

</details>

<span id="api-GraphNodeGeometry-bounds"></span>
<details>
<summary>bounds</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L105)

</details>

<span id="api-GraphNodeGeometry-label"></span>
<details>
<summary>label</summary>


```ts
readonly label: LabelGeometry
```

Related API: [LabelGeometry](/reference/components/graph-visualization/).

Decorative label geometry. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:107](/source/packages/core/src/features/viz/lib/graph/types-ts/#L107)

</details>

<span id="api-GraphNodeGeometry-detail"></span>
<details>
<summary>detail</summary>


```ts
readonly detail: LabelGeometry | null
```

Related API: [LabelGeometry](/reference/components/graph-visualization/).

Optional secondary label geometry. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:109](/source/packages/core/src/features/viz/lib/graph/types-ts/#L109)

</details>

<span id="api-GraphRoute"></span>

### GraphRoute

Structured anchors and path segments for an edge route. GraphLayout

```ts
interface GraphRoute
```

Related API: [GraphRoute](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:113](/source/packages/core/src/features/viz/lib/graph/types-ts/#L113)

#### Properties and methods

<span id="api-GraphRoute-sourceAnchor"></span>
<details>
<summary>sourceAnchor</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L115)

</details>

<span id="api-GraphRoute-targetAnchor"></span>
<details>
<summary>targetAnchor</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L117)

</details>

<span id="api-GraphRoute-segments"></span>
<details>
<summary>segments</summary>


```ts
readonly segments: readonly Readonly<PathSegment>[]
```

Related API: [PathSegment](/reference/functions/path-geometry/).

Path segments from source to target. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:119](/source/packages/core/src/features/viz/lib/graph/types-ts/#L119)

</details>

<span id="api-GraphRoute-arrowSegments"></span>
<details>
<summary>arrowSegments</summary>


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

Related API: [PathSegment](/reference/functions/path-geometry/).

Optional path segments for an edge arrowhead. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:121](/source/packages/core/src/features/viz/lib/graph/types-ts/#L121)

</details>

<span id="api-GraphEdgeGeometry"></span>

### GraphEdgeGeometry

Immutable edge geometry paired with its original record. GraphLayout

```ts
interface GraphEdgeGeometry<E>
```

Related API: [GraphEdgeGeometry](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:124](/source/packages/core/src/features/viz/lib/graph/types-ts/#L124)

#### Properties and methods

<span id="api-GraphEdgeGeometry-key"></span>
<details>
<summary>key</summary>


```ts
readonly key: VizKey
```

Related API: [VizKey](/reference/components/graph-visualization/).

Stable application-provided key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:126](/source/packages/core/src/features/viz/lib/graph/types-ts/#L126)

</details>

<span id="api-GraphEdgeGeometry-datum"></span>
<details>
<summary>datum</summary>


```ts
readonly datum: E
```

Original application record. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:128](/source/packages/core/src/features/viz/lib/graph/types-ts/#L128)

</details>

<span id="api-GraphEdgeGeometry-sourceKey"></span>
<details>
<summary>sourceKey</summary>


```ts
readonly sourceKey: VizKey
```

Related API: [VizKey](/reference/components/graph-visualization/).

Stable key of the edge source node. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:130](/source/packages/core/src/features/viz/lib/graph/types-ts/#L130)

</details>

<span id="api-GraphEdgeGeometry-targetKey"></span>
<details>
<summary>targetKey</summary>


```ts
readonly targetKey: VizKey
```

Related API: [VizKey](/reference/components/graph-visualization/).

Stable key of the edge target node. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:132](/source/packages/core/src/features/viz/lib/graph/types-ts/#L132)

</details>

<span id="api-GraphEdgeGeometry-route"></span>
<details>
<summary>route</summary>


```ts
readonly route: GraphRoute
```

Related API: [GraphRoute](/reference/components/graph-visualization/).

Structured route used to produce the serialized path. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:134](/source/packages/core/src/features/viz/lib/graph/types-ts/#L134)

</details>

<span id="api-GraphEdgeGeometry-path"></span>
<details>
<summary>path</summary>


```ts
readonly path: string
```

SVG path serialization of the route. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:136](/source/packages/core/src/features/viz/lib/graph/types-ts/#L136)

</details>

<span id="api-GraphEdgeGeometry-arrowPath"></span>
<details>
<summary>arrowPath</summary>


```ts
readonly arrowPath: string | null
```

Optional SVG path for the route arrow. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:138](/source/packages/core/src/features/viz/lib/graph/types-ts/#L138)

</details>

<span id="api-GraphLayout"></span>

### GraphLayout

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

```ts
interface GraphLayout<N, E>
```

Related API: [GraphLayout](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:141](/source/packages/core/src/features/viz/lib/graph/types-ts/#L141)

#### Properties and methods

<span id="api-GraphLayout-bounds"></span>
<details>
<summary>bounds</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L143)

</details>

<span id="api-GraphLayout-nodes"></span>
<details>
<summary>nodes</summary>


```ts
readonly nodes: readonly GraphNodeGeometry<N>[]
```

Related API: [GraphNodeGeometry](/reference/components/graph-visualization/).

Source nodes in application order. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:145](/source/packages/core/src/features/viz/lib/graph/types-ts/#L145)

</details>

<span id="api-GraphLayout-edges"></span>
<details>
<summary>edges</summary>


```ts
readonly edges: readonly GraphEdgeGeometry<E>[]
```

Related API: [GraphEdgeGeometry](/reference/components/graph-visualization/).

Source edges in application order. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:147](/source/packages/core/src/features/viz/lib/graph/types-ts/#L147)

</details>

<span id="api-GraphPresentation"></span>

### GraphPresentation

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

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

Related API: [GraphPresentation](/reference/components/graph-visualization/), [GraphNodeGeometry](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:150](/source/packages/core/src/features/viz/lib/graph/types-ts/#L150)

#### Properties and methods

<span id="api-GraphPresentation-nodeStyle"></span>
<details>
<summary>nodeStyle (optional)</summary>


```ts
readonly nodeStyle?: MarkStyle<NG, NodeStyle> | undefined
```

Related API: [MarkStyle](/reference/components/graph-visualization/), [NodeStyle](/reference/components/graph-visualization/).

Style or geometry-aware style for node marks. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:156](/source/packages/core/src/features/viz/lib/graph/types-ts/#L156)

</details>

<span id="api-GraphPresentation-edgeStyle"></span>
<details>
<summary>edgeStyle (optional)</summary>


```ts
readonly edgeStyle?: MarkStyle<GraphEdgeGeometry<E>, EdgeStyle> | undefined
```

Related API: [MarkStyle](/reference/components/graph-visualization/), [GraphEdgeGeometry](/reference/components/graph-visualization/), [EdgeStyle](/reference/components/graph-visualization/).

Style or geometry-aware style for edge marks. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:158](/source/packages/core/src/features/viz/lib/graph/types-ts/#L158)

</details>

<span id="api-GraphPresentation-labelStyle"></span>
<details>
<summary>labelStyle (optional)</summary>


```ts
readonly labelStyle?: MarkStyle<NG, LabelStyle> | undefined
```

Related API: [MarkStyle](/reference/components/graph-visualization/), [LabelStyle](/reference/components/graph-visualization/).

Style for decorative labels. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:160](/source/packages/core/src/features/viz/lib/graph/types-ts/#L160)

</details>

<span id="api-GraphPresentation-renderNode"></span>
<details>
<summary>renderNode (optional)</summary>


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

Related API: [PibblNode](/reference/types/elements-components/#pibblnode).

Replaces the default node mark with this composition. GraphLayout

##### Parameters

- **`node`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:164](/source/packages/core/src/features/viz/lib/graph/types-ts/#L164)

</details>

<span id="api-GraphPresentation-renderEdge"></span>
<details>
<summary>renderEdge (optional)</summary>


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

Related API: [GraphEdgeGeometry](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

Replaces the default edge mark with this composition. GraphLayout

##### Parameters

- **`edge`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:168](/source/packages/core/src/features/viz/lib/graph/types-ts/#L168)

</details>

<span id="api-GraphPresentation-onNodeClick"></span>
<details>
<summary>onNodeClick (optional)</summary>


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

Receives clicks on a node mark. GraphLayout

##### Parameters

- **`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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L172)

</details>

<span id="api-GraphPresentation-onEdgeClick"></span>
<details>
<summary>onEdgeClick (optional)</summary>


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

Related API: [GraphEdgeGeometry](/reference/components/graph-visualization/).

Receives clicks on an edge mark. GraphLayout

##### Parameters

- **`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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L176)

</details>

<span id="api-MarkInteraction"></span>

### MarkInteraction

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

```ts
interface MarkInteraction extends PibblEventHandlers, PibblEventParticipationOptions
```

Related API: [MarkInteraction](/reference/components/graph-visualization/), [PibblEventHandlers](/reference/types/events/#pibbleventhandlers), [PibblEventParticipationOptions](/reference/types/events/#pibbleventparticipationoptions).

[View source — packages/core/src/features/viz/lib/graph/types.ts:182](/source/packages/core/src/features/viz/lib/graph/types-ts/#L182)

#### Properties and methods

<span id="api-MarkInteraction-keyboardFocusable"></span>
<details>
<summary>keyboardFocusable (optional)</summary>


```ts
readonly keyboardFocusable?: boolean | undefined
```

Whether the mark enters logical keyboard focus. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:185](/source/packages/core/src/features/viz/lib/graph/types-ts/#L185)

</details>

<span id="api-MarkInteraction-keyboardNavigationBounds"></span>
<details>
<summary>keyboardNavigationBounds (optional)</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L187)

</details>

<span id="api-MarkInteraction-pointerEvents"></span>
<details>
<summary>pointerEvents (optional)</summary>


```ts
readonly pointerEvents?: PibblPointerEvents | undefined
```

Related API: [PibblPointerEvents](/reference/types/events/#pibblpointerevents).

Whether this content participates in pointer targeting. See PibblPointerEvents.

[View source — packages/core/src/lib/events/types.ts:126](/source/packages/core/src/lib/events/types-ts/#L126)

</details>

<span id="api-GraphNodeProps"></span>

### GraphNodeProps

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

```ts
interface GraphNodeProps<N> extends MarkInteraction
```

Related API: [GraphNodeProps](/reference/components/graph-visualization/), [MarkInteraction](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:190](/source/packages/core/src/features/viz/lib/graph/types-ts/#L190)

#### Properties and methods

<span id="api-GraphNodeProps-node"></span>
<details>
<summary>node</summary>


```ts
readonly node: GraphNodeGeometry<N>
```

Related API: [GraphNodeGeometry](/reference/components/graph-visualization/).

Immutable node geometry and original datum. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:192](/source/packages/core/src/features/viz/lib/graph/types-ts/#L192)

</details>

<span id="api-GraphNodeProps-style"></span>
<details>
<summary>style (optional)</summary>


```ts
readonly style?: Style<NodeStyle> | undefined
```

Related API: [Style](/reference/components/graph-visualization/), [NodeStyle](/reference/components/graph-visualization/).

Frame style and responsive size allocation. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:194](/source/packages/core/src/features/viz/lib/graph/types-ts/#L194)

</details>

<span id="api-GraphNodeProps-children"></span>
<details>
<summary>children (optional)</summary>


```ts
readonly children?: PibblNode
```

Related API: [PibblNode](/reference/types/elements-components/#pibblnode).

Optional content painted with this mark. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:196](/source/packages/core/src/features/viz/lib/graph/types-ts/#L196)

</details>

<span id="api-GraphNodeProps-pointerEvents"></span>
<details>
<summary>pointerEvents (optional)</summary>


```ts
readonly pointerEvents?: PibblPointerEvents | undefined
```

Related API: [PibblPointerEvents](/reference/types/events/#pibblpointerevents).

Whether this content participates in pointer targeting. See PibblPointerEvents.

[View source — packages/core/src/lib/events/types.ts:126](/source/packages/core/src/lib/events/types-ts/#L126)

</details>

<span id="api-GraphNodeProps-keyboardFocusable"></span>
<details>
<summary>keyboardFocusable (optional)</summary>


```ts
readonly keyboardFocusable?: boolean | undefined
```

Whether the mark enters logical keyboard focus. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:185](/source/packages/core/src/features/viz/lib/graph/types-ts/#L185)

</details>

<span id="api-GraphNodeProps-keyboardNavigationBounds"></span>
<details>
<summary>keyboardNavigationBounds (optional)</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L187)

</details>

<span id="api-GraphEdgeProps"></span>

### GraphEdgeProps

Geometry, paint, and ordinary events for GraphEdge. GraphLayout

```ts
interface GraphEdgeProps<E> extends MarkInteraction
```

Related API: [GraphEdgeProps](/reference/components/graph-visualization/), [MarkInteraction](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:199](/source/packages/core/src/features/viz/lib/graph/types-ts/#L199)

#### Properties and methods

<span id="api-GraphEdgeProps-edge"></span>
<details>
<summary>edge</summary>


```ts
readonly edge: GraphEdgeGeometry<E>
```

Related API: [GraphEdgeGeometry](/reference/components/graph-visualization/).

Immutable edge geometry and original datum. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:201](/source/packages/core/src/features/viz/lib/graph/types-ts/#L201)

</details>

<span id="api-GraphEdgeProps-style"></span>
<details>
<summary>style (optional)</summary>


```ts
readonly style?: Style<EdgeStyle> | undefined
```

Related API: [Style](/reference/components/graph-visualization/), [EdgeStyle](/reference/components/graph-visualization/).

Frame style and responsive size allocation. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:203](/source/packages/core/src/features/viz/lib/graph/types-ts/#L203)

</details>

<span id="api-GraphEdgeProps-pointerEvents"></span>
<details>
<summary>pointerEvents (optional)</summary>


```ts
readonly pointerEvents?: PibblPointerEvents | undefined
```

Related API: [PibblPointerEvents](/reference/types/events/#pibblpointerevents).

Whether this content participates in pointer targeting. See PibblPointerEvents.

[View source — packages/core/src/lib/events/types.ts:126](/source/packages/core/src/lib/events/types-ts/#L126)

</details>

<span id="api-GraphEdgeProps-keyboardFocusable"></span>
<details>
<summary>keyboardFocusable (optional)</summary>


```ts
readonly keyboardFocusable?: boolean | undefined
```

Whether the mark enters logical keyboard focus. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:185](/source/packages/core/src/features/viz/lib/graph/types-ts/#L185)

</details>

<span id="api-GraphEdgeProps-keyboardNavigationBounds"></span>
<details>
<summary>keyboardNavigationBounds (optional)</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L187)

</details>

<span id="api-GraphLabelProps"></span>

### GraphLabelProps

Geometry and paint for a decorative GraphLabel. GraphLayout

```ts
interface GraphLabelProps
```

Related API: [GraphLabelProps](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:206](/source/packages/core/src/features/viz/lib/graph/types-ts/#L206)

#### Properties and methods

<span id="api-GraphLabelProps-label"></span>
<details>
<summary>label</summary>


```ts
readonly label: LabelGeometry
```

Related API: [LabelGeometry](/reference/components/graph-visualization/).

Decorative label geometry. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:208](/source/packages/core/src/features/viz/lib/graph/types-ts/#L208)

</details>

<span id="api-GraphLabelProps-style"></span>
<details>
<summary>style (optional)</summary>


```ts
readonly style?: Style<LabelStyle> | undefined
```

Related API: [Style](/reference/components/graph-visualization/), [LabelStyle](/reference/components/graph-visualization/).

Frame style and responsive size allocation. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:210](/source/packages/core/src/features/viz/lib/graph/types-ts/#L210)

</details>

<span id="api-GraphViewProps"></span>

### GraphViewProps

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

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

Related API: [GraphViewProps](/reference/components/graph-visualization/), [GraphPresentation](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:213](/source/packages/core/src/features/viz/lib/graph/types-ts/#L213)

#### Properties and methods

<span id="api-GraphViewProps-layout"></span>
<details>
<summary>layout</summary>


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

Related API: [SignalValue](/reference/types/signal-inputs/#signalvalue), [GraphLayout](/reference/components/graph-visualization/).

Immutable layout snapshot for ordinary mark composition. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:215](/source/packages/core/src/features/viz/lib/graph/types-ts/#L215)

</details>

<span id="api-GraphViewProps-style"></span>
<details>
<summary>style (optional)</summary>


```ts
readonly style?: Style<GStyle> | undefined
```

Related API: [Style](/reference/components/graph-visualization/), [GStyle](/reference/types/styles/#gstyle).

Frame style and responsive size allocation. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:217](/source/packages/core/src/features/viz/lib/graph/types-ts/#L217)

</details>

<span id="api-GraphViewProps-nodeStyle"></span>
<details>
<summary>nodeStyle (optional)</summary>


```ts
readonly nodeStyle?: MarkStyle<GraphNodeGeometry<N>, NodeStyle> | undefined
```

Related API: [MarkStyle](/reference/components/graph-visualization/), [GraphNodeGeometry](/reference/components/graph-visualization/), [NodeStyle](/reference/components/graph-visualization/).

Style or geometry-aware style for node marks. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:156](/source/packages/core/src/features/viz/lib/graph/types-ts/#L156)

</details>

<span id="api-GraphViewProps-edgeStyle"></span>
<details>
<summary>edgeStyle (optional)</summary>


```ts
readonly edgeStyle?: MarkStyle<GraphEdgeGeometry<E>, EdgeStyle> | undefined
```

Related API: [MarkStyle](/reference/components/graph-visualization/), [GraphEdgeGeometry](/reference/components/graph-visualization/), [EdgeStyle](/reference/components/graph-visualization/).

Style or geometry-aware style for edge marks. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:158](/source/packages/core/src/features/viz/lib/graph/types-ts/#L158)

</details>

<span id="api-GraphViewProps-labelStyle"></span>
<details>
<summary>labelStyle (optional)</summary>


```ts
readonly labelStyle?: MarkStyle<GraphNodeGeometry<N>, LabelStyle> | undefined
```

Related API: [MarkStyle](/reference/components/graph-visualization/), [GraphNodeGeometry](/reference/components/graph-visualization/), [LabelStyle](/reference/components/graph-visualization/).

Style for decorative labels. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:160](/source/packages/core/src/features/viz/lib/graph/types-ts/#L160)

</details>

<span id="api-GraphViewProps-renderNode"></span>
<details>
<summary>renderNode (optional)</summary>


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

Related API: [GraphNodeGeometry](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

Replaces the default node mark with this composition. GraphLayout

##### Parameters

- **`node`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:164](/source/packages/core/src/features/viz/lib/graph/types-ts/#L164)

</details>

<span id="api-GraphViewProps-renderEdge"></span>
<details>
<summary>renderEdge (optional)</summary>


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

Related API: [GraphEdgeGeometry](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

Replaces the default edge mark with this composition. GraphLayout

##### Parameters

- **`edge`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:168](/source/packages/core/src/features/viz/lib/graph/types-ts/#L168)

</details>

<span id="api-GraphViewProps-onNodeClick"></span>
<details>
<summary>onNodeClick (optional)</summary>


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

Related API: [GraphNodeGeometry](/reference/components/graph-visualization/).

Receives clicks on a node mark. GraphLayout

##### Parameters

- **`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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L172)

</details>

<span id="api-GraphViewProps-onEdgeClick"></span>
<details>
<summary>onEdgeClick (optional)</summary>


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

Related API: [GraphEdgeGeometry](/reference/components/graph-visualization/).

Receives clicks on an edge mark. GraphLayout

##### Parameters

- **`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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L176)

</details>

<span id="api-DependencyStyle"></span>

### DependencyStyle

Frame options for rank-based dependency diagrams. GraphLayout

```ts
interface DependencyStyle extends GStyle
```

Related API: [DependencyStyle](/reference/components/graph-visualization/), [GStyle](/reference/types/styles/#gstyle).

[View source — packages/core/src/features/viz/lib/graph/types.ts:221](/source/packages/core/src/features/viz/lib/graph/types-ts/#L221)

#### Properties and methods

<span id="api-DependencyStyle-insetEnd"></span>
<details>
<summary>insetEnd (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L206)

</details>

<span id="api-DependencyStyle-rankGap"></span>
<details>
<summary>rankGap (optional)</summary>


```ts
readonly rankGap?: number | undefined
```

Distance between ranks in local logical pixels. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:223](/source/packages/core/src/features/viz/lib/graph/types-ts/#L223)

</details>

<span id="api-DependencyStyle-nodeGap"></span>
<details>
<summary>nodeGap (optional)</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L225)

</details>

<span id="api-DependencyStyle-position"></span>
<details>
<summary>position (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L194)

</details>

<span id="api-DependencyStyle-left"></span>
<details>
<summary>left (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L196)

</details>

<span id="api-DependencyStyle-right"></span>
<details>
<summary>right (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L198)

</details>

<span id="api-DependencyStyle-top"></span>
<details>
<summary>top (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L200)

</details>

<span id="api-DependencyStyle-bottom"></span>
<details>
<summary>bottom (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L202)

</details>

<span id="api-DependencyStyle-insetStart"></span>
<details>
<summary>insetStart (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L204)

</details>

<span id="api-DependencyStyle-aspectRatio"></span>
<details>
<summary>aspectRatio (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L84)

</details>

<span id="api-DependencyStyle-boxSizing"></span>
<details>
<summary>boxSizing (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L89)

</details>

<span id="api-DependencyStyle-width"></span>
<details>
<summary>width (optional)</summary>


```ts
width?: SizingLength | undefined
```

Related API: [SizingLength](/reference/types/layout/#sizinglength).

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

[View source — packages/core/src/lib/style/types.ts:91](/source/packages/core/src/lib/style/types-ts/#L91)

</details>

<span id="api-DependencyStyle-height"></span>
<details>
<summary>height (optional)</summary>


```ts
height?: SizingLength | undefined
```

Related API: [SizingLength](/reference/types/layout/#sizinglength).

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

[View source — packages/core/src/lib/style/types.ts:93](/source/packages/core/src/lib/style/types-ts/#L93)

</details>

<span id="api-DependencyStyle-minWidth"></span>
<details>
<summary>minWidth (optional)</summary>


```ts
minWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L95)

</details>

<span id="api-DependencyStyle-maxWidth"></span>
<details>
<summary>maxWidth (optional)</summary>


```ts
maxWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L97)

</details>

<span id="api-DependencyStyle-minHeight"></span>
<details>
<summary>minHeight (optional)</summary>


```ts
minHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#sizingkeyword).

Minimum permitted height. See Length.

[View source — packages/core/src/lib/style/types.ts:99](/source/packages/core/src/lib/style/types-ts/#L99)

</details>

<span id="api-DependencyStyle-maxHeight"></span>
<details>
<summary>maxHeight (optional)</summary>


```ts
maxHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#sizingkeyword).

Maximum permitted height. See Length.

[View source — packages/core/src/lib/style/types.ts:101](/source/packages/core/src/lib/style/types-ts/#L101)

</details>

<span id="api-DependencyStyle-padding"></span>
<details>
<summary>padding (optional)</summary>


```ts
padding?: EdgeValues<number | `${number}%`> | undefined
```

Related API: [EdgeValues](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L103)

</details>

<span id="api-DependencyStyle-paddingStart"></span>
<details>
<summary>paddingStart (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L105)

</details>

<span id="api-DependencyStyle-paddingEnd"></span>
<details>
<summary>paddingEnd (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L107)

</details>

<span id="api-DependencyStyle-borderWidth"></span>
<details>
<summary>borderWidth (optional)</summary>


```ts
borderWidth?: EdgeValues<number> | undefined
```

Related API: [EdgeValues](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L109)

</details>

<span id="api-DependencyStyle-borderStartWidth"></span>
<details>
<summary>borderStartWidth (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L111)

</details>

<span id="api-DependencyStyle-borderEndWidth"></span>
<details>
<summary>borderEndWidth (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L113)

</details>

<span id="api-DependencyStyle-overflow"></span>
<details>
<summary>overflow (optional)</summary>


```ts
overflow?: "clip" | "visible" | undefined
```

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

[View source — packages/core/src/lib/style/types.ts:115](/source/packages/core/src/lib/style/types-ts/#L115)

</details>

<span id="api-DependencyStyle-margin"></span>
<details>
<summary>margin (optional)</summary>


```ts
margin?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L146)

</details>

<span id="api-DependencyStyle-marginTop"></span>
<details>
<summary>marginTop (optional)</summary>


```ts
marginTop?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical top margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:148](/source/packages/core/src/lib/style/types-ts/#L148)

</details>

<span id="api-DependencyStyle-marginRight"></span>
<details>
<summary>marginRight (optional)</summary>


```ts
marginRight?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical right margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:150](/source/packages/core/src/lib/style/types-ts/#L150)

</details>

<span id="api-DependencyStyle-marginBottom"></span>
<details>
<summary>marginBottom (optional)</summary>


```ts
marginBottom?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical bottom margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:152](/source/packages/core/src/lib/style/types-ts/#L152)

</details>

<span id="api-DependencyStyle-marginLeft"></span>
<details>
<summary>marginLeft (optional)</summary>


```ts
marginLeft?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical left margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:154](/source/packages/core/src/lib/style/types-ts/#L154)

</details>

<span id="api-DependencyStyle-marginStart"></span>
<details>
<summary>marginStart (optional)</summary>


```ts
marginStart?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L156)

</details>

<span id="api-DependencyStyle-marginEnd"></span>
<details>
<summary>marginEnd (optional)</summary>


```ts
marginEnd?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L158)

</details>

<span id="api-DependencyStyle-alignSelf"></span>
<details>
<summary>alignSelf (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L160)

</details>

<span id="api-DependencyStyle-justifySelf"></span>
<details>
<summary>justifySelf (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L162)

</details>

<span id="api-DependencyStyle-flexBasis"></span>
<details>
<summary>flexBasis (optional)</summary>


```ts
flexBasis?: SizingLength | undefined
```

Related API: [SizingLength](/reference/types/layout/#sizinglength).

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

[View source — packages/core/src/lib/style/types.ts:164](/source/packages/core/src/lib/style/types-ts/#L164)

</details>

<span id="api-DependencyStyle-flexGrow"></span>
<details>
<summary>flexGrow (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L166)

</details>

<span id="api-DependencyStyle-flexShrink"></span>
<details>
<summary>flexShrink (optional)</summary>


```ts
flexShrink?: number | undefined
```

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

[View source — packages/core/src/lib/style/types.ts:168](/source/packages/core/src/lib/style/types-ts/#L168)

</details>

<span id="api-DependencyStyle-gridColumnStart"></span>
<details>
<summary>gridColumnStart (optional)</summary>


```ts
gridColumnStart?: number | undefined
```

Explicit starting grid column. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:170](/source/packages/core/src/lib/style/types-ts/#L170)

</details>

<span id="api-DependencyStyle-gridColumnSpan"></span>
<details>
<summary>gridColumnSpan (optional)</summary>


```ts
gridColumnSpan?: number | undefined
```

Number of columns occupied by this child. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:172](/source/packages/core/src/lib/style/types-ts/#L172)

</details>

<span id="api-DependencyStyle-gridRowStart"></span>
<details>
<summary>gridRowStart (optional)</summary>


```ts
gridRowStart?: number | undefined
```

Explicit starting grid row. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:174](/source/packages/core/src/lib/style/types-ts/#L174)

</details>

<span id="api-DependencyStyle-gridRowSpan"></span>
<details>
<summary>gridRowSpan (optional)</summary>


```ts
gridRowSpan?: number | undefined
```

Number of rows occupied by this child. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:176](/source/packages/core/src/lib/style/types-ts/#L176)

</details>

<span id="api-DependencyStyle-scaleX"></span>
<details>
<summary>scaleX (optional)</summary>


```ts
scaleX?: number | undefined
```

Horizontal scale factor. See GStyle.

[View source — packages/core/src/lib/components/g.ts:46](/source/packages/core/src/lib/components/g-ts/#L46)

</details>

<span id="api-DependencyStyle-scaleY"></span>
<details>
<summary>scaleY (optional)</summary>


```ts
scaleY?: number | undefined
```

Vertical scale factor. See GStyle.

[View source — packages/core/src/lib/components/g.ts:48](/source/packages/core/src/lib/components/g-ts/#L48)

</details>

<span id="api-DependencyStyle-rotationDegrees"></span>
<details>
<summary>rotationDegrees (optional)</summary>


```ts
rotationDegrees?: number | undefined
```

Clockwise rotation in degrees.

[View source — packages/core/src/lib/components/g.ts:50](/source/packages/core/src/lib/components/g-ts/#L50)

</details>

<span id="api-DependencyStyle-rotationOrigin"></span>
<details>
<summary>rotationOrigin (optional)</summary>


```ts
rotationOrigin?: [number, number] | undefined
```

Point around which the rotation is applied. See GStyle.

[View source — packages/core/src/lib/components/g.ts:52](/source/packages/core/src/lib/components/g-ts/#L52)

</details>

<span id="api-DependencyStyle-translateX"></span>
<details>
<summary>translateX (optional)</summary>


```ts
translateX?: number | undefined
```

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

[View source — packages/core/src/lib/components/g.ts:54](/source/packages/core/src/lib/components/g-ts/#L54)

</details>

<span id="api-DependencyStyle-translateY"></span>
<details>
<summary>translateY (optional)</summary>


```ts
translateY?: number | undefined
```

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

[View source — packages/core/src/lib/components/g.ts:56](/source/packages/core/src/lib/components/g-ts/#L56)

</details>

<span id="api-DependencyStyle-skewX"></span>
<details>
<summary>skewX (optional)</summary>


```ts
skewX?: number | undefined
```

Horizontal skew angle in degrees.

[View source — packages/core/src/lib/components/g.ts:58](/source/packages/core/src/lib/components/g-ts/#L58)

</details>

<span id="api-DependencyStyle-skewY"></span>
<details>
<summary>skewY (optional)</summary>


```ts
skewY?: number | undefined
```

Vertical skew angle in degrees.

[View source — packages/core/src/lib/components/g.ts:60](/source/packages/core/src/lib/components/g-ts/#L60)

</details>

<span id="api-DependencyStyle-layoutParticipation"></span>
<details>
<summary>layoutParticipation (optional)</summary>


```ts
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](/source/packages/core/src/lib/types-ts/#L69)

</details>

<span id="api-DependencyStyle-transition"></span>
<details>
<summary>transition (optional)</summary>


```ts
transition?: PibblTransitionBinding | undefined
```

Related API: [PibblTransitionBinding](/reference/hooks/use-visibility-transition/).

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

[View source — packages/core/src/lib/types.ts:71](/source/packages/core/src/lib/types-ts/#L71)

</details>

<span id="api-DependencyStyle-custom"></span>
<details>
<summary>custom (optional)</summary>


```ts
custom?: unknown
```

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

[View source — packages/core/src/lib/types.ts:73](/source/packages/core/src/lib/types-ts/#L73)

</details>

<span id="api-DependencyStyle-filter"></span>
<details>
<summary>filter (optional)</summary>


```ts
filter?: PibblFilter | readonly PibblFilter[] | undefined
```

Related API: [PibblFilter](/reference/types/filters/#pibblfilter).

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

[View source — packages/core/src/lib/types.ts:78](/source/packages/core/src/lib/types-ts/#L78)

</details>

<span id="api-DependencyOptions"></span>

### DependencyOptions

Pure layout inputs for a directed dependency graph. GraphLayout

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

Related API: [DependencyOptions](/reference/components/graph-visualization/), [GraphAccessors](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:228](/source/packages/core/src/features/viz/lib/graph/types-ts/#L228)

#### Properties and methods

<span id="api-DependencyOptions-bounds"></span>
<details>
<summary>bounds</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L230)

</details>

<span id="api-DependencyOptions-nodeSize"></span>
<details>
<summary>nodeSize (optional)</summary>


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

Related API: [Size](/reference/types/layout/#size).

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

##### Parameters

- **`node`** — Source record to measure.

##### Returns

Finite local logical size.

[View source — packages/core/src/features/viz/lib/graph/types.ts:234](/source/packages/core/src/features/viz/lib/graph/types-ts/#L234)

</details>

<span id="api-DependencyOptions-rankGap"></span>
<details>
<summary>rankGap (optional)</summary>


```ts
readonly rankGap?: number | undefined
```

Distance between ranks in local logical pixels. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:240](/source/packages/core/src/features/viz/lib/graph/types-ts/#L240)

</details>

<span id="api-DependencyOptions-nodeGap"></span>
<details>
<summary>nodeGap (optional)</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L242)

</details>

<span id="api-DependencyOptions-nodeKey"></span>
<details>
<summary>nodeKey</summary>


```ts
readonly nodeKey: Accessor<N, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each node’s stable key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:86](/source/packages/core/src/features/viz/lib/graph/types-ts/#L86)

</details>

<span id="api-DependencyOptions-edgeKey"></span>
<details>
<summary>edgeKey</summary>


```ts
readonly edgeKey: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each edge’s stable key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:88](/source/packages/core/src/features/viz/lib/graph/types-ts/#L88)

</details>

<span id="api-DependencyOptions-source"></span>
<details>
<summary>source</summary>


```ts
readonly source: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads an edge source key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:90](/source/packages/core/src/features/viz/lib/graph/types-ts/#L90)

</details>

<span id="api-DependencyOptions-target"></span>
<details>
<summary>target</summary>


```ts
readonly target: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads an edge target key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:92](/source/packages/core/src/features/viz/lib/graph/types-ts/#L92)

</details>

<span id="api-DependencyOptions-label"></span>
<details>
<summary>label (optional)</summary>


```ts
readonly label?: Accessor<N, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a node’s primary text. LabelGeometry

[View source — packages/core/src/features/viz/lib/graph/types.ts:94](/source/packages/core/src/features/viz/lib/graph/types-ts/#L94)

</details>

<span id="api-DependencyOptions-detail"></span>
<details>
<summary>detail (optional)</summary>


```ts
readonly detail?: Accessor<N, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a node’s secondary text. LabelGeometry

[View source — packages/core/src/features/viz/lib/graph/types.ts:96](/source/packages/core/src/features/viz/lib/graph/types-ts/#L96)

</details>

<span id="api-DependencyGraphProps"></span>

### DependencyGraphProps

Reactive dependency data and default mark presentation. GraphLayout

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

Related API: [DependencyGraphProps](/reference/components/graph-visualization/), [GraphAccessors](/reference/components/graph-visualization/), [GraphPresentation](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:245](/source/packages/core/src/features/viz/lib/graph/types-ts/#L245)

#### Properties and methods

<span id="api-DependencyGraphProps-graph"></span>
<details>
<summary>graph</summary>


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

Related API: [SignalValue](/reference/types/signal-inputs/#signalvalue), [GraphData](/reference/components/graph-visualization/).

Graph records; publish a new snapshot to update. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:248](/source/packages/core/src/features/viz/lib/graph/types-ts/#L248)

</details>

<span id="api-DependencyGraphProps-nodeSize"></span>
<details>
<summary>nodeSize (optional)</summary>


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

Related API: [Size](/reference/types/layout/#size).

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

##### Parameters

- **`node`** — Source record to measure.

##### Returns

Finite local logical size.

[View source — packages/core/src/features/viz/lib/graph/types.ts:252](/source/packages/core/src/features/viz/lib/graph/types-ts/#L252)

</details>

<span id="api-DependencyGraphProps-style"></span>
<details>
<summary>style (optional)</summary>


```ts
readonly style?: Style<DependencyStyle> | undefined
```

Related API: [Style](/reference/components/graph-visualization/), [DependencyStyle](/reference/components/graph-visualization/).

Frame style and responsive size allocation. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:258](/source/packages/core/src/features/viz/lib/graph/types-ts/#L258)

</details>

<span id="api-DependencyGraphProps-nodeKey"></span>
<details>
<summary>nodeKey</summary>


```ts
readonly nodeKey: Accessor<N, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each node’s stable key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:86](/source/packages/core/src/features/viz/lib/graph/types-ts/#L86)

</details>

<span id="api-DependencyGraphProps-edgeKey"></span>
<details>
<summary>edgeKey</summary>


```ts
readonly edgeKey: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each edge’s stable key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:88](/source/packages/core/src/features/viz/lib/graph/types-ts/#L88)

</details>

<span id="api-DependencyGraphProps-source"></span>
<details>
<summary>source</summary>


```ts
readonly source: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads an edge source key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:90](/source/packages/core/src/features/viz/lib/graph/types-ts/#L90)

</details>

<span id="api-DependencyGraphProps-target"></span>
<details>
<summary>target</summary>


```ts
readonly target: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads an edge target key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:92](/source/packages/core/src/features/viz/lib/graph/types-ts/#L92)

</details>

<span id="api-DependencyGraphProps-label"></span>
<details>
<summary>label (optional)</summary>


```ts
readonly label?: Accessor<N, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a node’s primary text. LabelGeometry

[View source — packages/core/src/features/viz/lib/graph/types.ts:94](/source/packages/core/src/features/viz/lib/graph/types-ts/#L94)

</details>

<span id="api-DependencyGraphProps-detail"></span>
<details>
<summary>detail (optional)</summary>


```ts
readonly detail?: Accessor<N, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a node’s secondary text. LabelGeometry

[View source — packages/core/src/features/viz/lib/graph/types.ts:96](/source/packages/core/src/features/viz/lib/graph/types-ts/#L96)

</details>

<span id="api-DependencyGraphProps-nodeStyle"></span>
<details>
<summary>nodeStyle (optional)</summary>


```ts
readonly nodeStyle?: MarkStyle<GraphNodeGeometry<N>, NodeStyle> | undefined
```

Related API: [MarkStyle](/reference/components/graph-visualization/), [GraphNodeGeometry](/reference/components/graph-visualization/), [NodeStyle](/reference/components/graph-visualization/).

Style or geometry-aware style for node marks. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:156](/source/packages/core/src/features/viz/lib/graph/types-ts/#L156)

</details>

<span id="api-DependencyGraphProps-edgeStyle"></span>
<details>
<summary>edgeStyle (optional)</summary>


```ts
readonly edgeStyle?: MarkStyle<GraphEdgeGeometry<E>, EdgeStyle> | undefined
```

Related API: [MarkStyle](/reference/components/graph-visualization/), [GraphEdgeGeometry](/reference/components/graph-visualization/), [EdgeStyle](/reference/components/graph-visualization/).

Style or geometry-aware style for edge marks. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:158](/source/packages/core/src/features/viz/lib/graph/types-ts/#L158)

</details>

<span id="api-DependencyGraphProps-labelStyle"></span>
<details>
<summary>labelStyle (optional)</summary>


```ts
readonly labelStyle?: MarkStyle<GraphNodeGeometry<N>, LabelStyle> | undefined
```

Related API: [MarkStyle](/reference/components/graph-visualization/), [GraphNodeGeometry](/reference/components/graph-visualization/), [LabelStyle](/reference/components/graph-visualization/).

Style for decorative labels. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:160](/source/packages/core/src/features/viz/lib/graph/types-ts/#L160)

</details>

<span id="api-DependencyGraphProps-renderNode"></span>
<details>
<summary>renderNode (optional)</summary>


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

Related API: [GraphNodeGeometry](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

Replaces the default node mark with this composition. GraphLayout

##### Parameters

- **`node`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:164](/source/packages/core/src/features/viz/lib/graph/types-ts/#L164)

</details>

<span id="api-DependencyGraphProps-renderEdge"></span>
<details>
<summary>renderEdge (optional)</summary>


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

Related API: [GraphEdgeGeometry](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

Replaces the default edge mark with this composition. GraphLayout

##### Parameters

- **`edge`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:168](/source/packages/core/src/features/viz/lib/graph/types-ts/#L168)

</details>

<span id="api-DependencyGraphProps-onNodeClick"></span>
<details>
<summary>onNodeClick (optional)</summary>


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

Related API: [GraphNodeGeometry](/reference/components/graph-visualization/).

Receives clicks on a node mark. GraphLayout

##### Parameters

- **`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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L172)

</details>

<span id="api-DependencyGraphProps-onEdgeClick"></span>
<details>
<summary>onEdgeClick (optional)</summary>


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

Related API: [GraphEdgeGeometry](/reference/components/graph-visualization/).

Receives clicks on an edge mark. GraphLayout

##### Parameters

- **`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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L176)

</details>

<span id="api-ForceSettings"></span>

### ForceSettings

Bounded deterministic numeric settings for force solving. GraphLayout

```ts
interface ForceSettings
```

Related API: [ForceSettings](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:262](/source/packages/core/src/features/viz/lib/graph/types-ts/#L262)

#### Properties and methods

<span id="api-ForceSettings-seed"></span>
<details>
<summary>seed (optional)</summary>


```ts
readonly seed?: number | undefined
```

Deterministic seed for solver initialization. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:264](/source/packages/core/src/features/viz/lib/graph/types-ts/#L264)

</details>

<span id="api-ForceSettings-linkDistance"></span>
<details>
<summary>linkDistance (optional)</summary>


```ts
readonly linkDistance?: number | undefined
```

Preferred link distance in local logical pixels. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:266](/source/packages/core/src/features/viz/lib/graph/types-ts/#L266)

</details>

<span id="api-ForceSettings-nodeGap"></span>
<details>
<summary>nodeGap (optional)</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L268)

</details>

<span id="api-ForceSettings-maxIterations"></span>
<details>
<summary>maxIterations (optional)</summary>


```ts
readonly maxIterations?: number | undefined
```

Maximum solver iterations before exhaustion. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:270](/source/packages/core/src/features/viz/lib/graph/types-ts/#L270)

</details>

<span id="api-ForceOptions"></span>

### ForceOptions

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

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

Related API: [ForceOptions](/reference/components/graph-visualization/), [GraphAccessors](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:273](/source/packages/core/src/features/viz/lib/graph/types-ts/#L273)

#### Properties and methods

<span id="api-ForceOptions-bounds"></span>
<details>
<summary>bounds</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L275)

</details>

<span id="api-ForceOptions-nodeSize"></span>
<details>
<summary>nodeSize (optional)</summary>


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

Related API: [Size](/reference/types/layout/#size).

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

##### Parameters

- **`node`** — Source record to measure.

##### Returns

Finite local logical size.

[View source — packages/core/src/features/viz/lib/graph/types.ts:279](/source/packages/core/src/features/viz/lib/graph/types-ts/#L279)

</details>

<span id="api-ForceOptions-simulation"></span>
<details>
<summary>simulation (optional)</summary>


```ts
readonly simulation?: ForceSettings | undefined
```

Related API: [ForceSettings](/reference/components/graph-visualization/).

Optional deterministic solver settings. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:285](/source/packages/core/src/features/viz/lib/graph/types-ts/#L285)

</details>

<span id="api-ForceOptions-directed"></span>
<details>
<summary>directed (optional)</summary>


```ts
readonly directed?: boolean | undefined
```

Whether direction affects the algorithm. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:287](/source/packages/core/src/features/viz/lib/graph/types-ts/#L287)

</details>

<span id="api-ForceOptions-nodeKey"></span>
<details>
<summary>nodeKey</summary>


```ts
readonly nodeKey: Accessor<N, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each node’s stable key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:86](/source/packages/core/src/features/viz/lib/graph/types-ts/#L86)

</details>

<span id="api-ForceOptions-edgeKey"></span>
<details>
<summary>edgeKey</summary>


```ts
readonly edgeKey: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each edge’s stable key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:88](/source/packages/core/src/features/viz/lib/graph/types-ts/#L88)

</details>

<span id="api-ForceOptions-source"></span>
<details>
<summary>source</summary>


```ts
readonly source: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads an edge source key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:90](/source/packages/core/src/features/viz/lib/graph/types-ts/#L90)

</details>

<span id="api-ForceOptions-target"></span>
<details>
<summary>target</summary>


```ts
readonly target: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads an edge target key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:92](/source/packages/core/src/features/viz/lib/graph/types-ts/#L92)

</details>

<span id="api-ForceOptions-label"></span>
<details>
<summary>label (optional)</summary>


```ts
readonly label?: Accessor<N, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a node’s primary text. LabelGeometry

[View source — packages/core/src/features/viz/lib/graph/types.ts:94](/source/packages/core/src/features/viz/lib/graph/types-ts/#L94)

</details>

<span id="api-ForceOptions-detail"></span>
<details>
<summary>detail (optional)</summary>


```ts
readonly detail?: Accessor<N, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a node’s secondary text. LabelGeometry

[View source — packages/core/src/features/viz/lib/graph/types.ts:96](/source/packages/core/src/features/viz/lib/graph/types-ts/#L96)

</details>

<span id="api-ForceLayout"></span>

### ForceLayout

A force-solver snapshot with bounded progress state. GraphLayout

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

Related API: [ForceLayout](/reference/components/graph-visualization/), [GraphLayout](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:290](/source/packages/core/src/features/viz/lib/graph/types-ts/#L290)

#### Properties and methods

<span id="api-ForceLayout-iterations"></span>
<details>
<summary>iterations</summary>


```ts
readonly iterations: number
```

Iterations completed by the solver. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:292](/source/packages/core/src/features/viz/lib/graph/types-ts/#L292)

</details>

<span id="api-ForceLayout-settled"></span>
<details>
<summary>settled</summary>


```ts
readonly settled: boolean
```

Whether the solver reached its stopping condition. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:294](/source/packages/core/src/features/viz/lib/graph/types-ts/#L294)

</details>

<span id="api-ForceLayout-bounds"></span>
<details>
<summary>bounds</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L143)

</details>

<span id="api-ForceLayout-nodes"></span>
<details>
<summary>nodes</summary>


```ts
readonly nodes: readonly GraphNodeGeometry<N>[]
```

Related API: [GraphNodeGeometry](/reference/components/graph-visualization/).

Source nodes in application order. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:145](/source/packages/core/src/features/viz/lib/graph/types-ts/#L145)

</details>

<span id="api-ForceLayout-edges"></span>
<details>
<summary>edges</summary>


```ts
readonly edges: readonly GraphEdgeGeometry<E>[]
```

Related API: [GraphEdgeGeometry](/reference/components/graph-visualization/).

Source edges in application order. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:147](/source/packages/core/src/features/viz/lib/graph/types-ts/#L147)

</details>

<span id="api-ForceNetworkController"></span>

### ForceNetworkController

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

```ts
interface ForceNetworkController<N, E>
```

Related API: [ForceNetworkController](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:297](/source/packages/core/src/features/viz/lib/graph/types-ts/#L297)

#### Properties and methods

<span id="api-ForceNetworkController-layout"></span>
<details>
<summary>layout</summary>


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

Related API: [Signal](/reference/types/canvas-runtime/#signal), [ForceLayout](/reference/components/graph-visualization/).

Immutable layout snapshot for ordinary mark composition. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:299](/source/packages/core/src/features/viz/lib/graph/types-ts/#L299)

</details>

<span id="api-ForceNetworkController-status"></span>
<details>
<summary>status</summary>


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

Related API: [Signal](/reference/types/canvas-runtime/#signal).

Current solver lifecycle status. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:301](/source/packages/core/src/features/viz/lib/graph/types-ts/#L301)

</details>

<span id="api-ForceNetworkController-error"></span>
<details>
<summary>error</summary>


```ts
readonly error: Signal<Error | null>
```

Related API: [Signal](/reference/types/canvas-runtime/#signal).

Most recent solver failure, or null. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:305](/source/packages/core/src/features/viz/lib/graph/types-ts/#L305)

</details>

<span id="api-ForceNetworkController-pause"></span>
<details>
<summary>pause</summary>


```ts
pause: () => void
```

Queues a pause at the next scheduler boundary. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:307](/source/packages/core/src/features/viz/lib/graph/types-ts/#L307)

</details>

<span id="api-ForceNetworkController-resume"></span>
<details>
<summary>resume</summary>


```ts
resume: () => void
```

Queues solver advancement at the next scheduler boundary. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:309](/source/packages/core/src/features/viz/lib/graph/types-ts/#L309)

</details>

<span id="api-ForceNetworkController-restart"></span>
<details>
<summary>restart</summary>


```ts
restart: () => void
```

Restarts the current solver without discarding node positions. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:311](/source/packages/core/src/features/viz/lib/graph/types-ts/#L311)

</details>

<span id="api-ForceNetworkController-reset"></span>
<details>
<summary>reset</summary>


```ts
reset: () => void
```

Restores seeded positions and clears pins. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:313](/source/packages/core/src/features/viz/lib/graph/types-ts/#L313)

</details>

<span id="api-ForceNetworkController-pin"></span>
<details>
<summary>pin</summary>


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

Related API: [VizKey](/reference/components/graph-visualization/), [Point](/reference/components/graph-visualization/).

Pins one node at a finite local position. GraphLayout

##### Parameters

- **`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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L317)

</details>

<span id="api-ForceNetworkController-release"></span>
<details>
<summary>release</summary>


```ts
release: (key: VizKey) => void
```

Related API: [VizKey](/reference/components/graph-visualization/).

Releases a previously pinned node. GraphLayout

##### Parameters

- **`key`** — The source record or geometry supplied by Pibbl.

[View source — packages/core/src/features/viz/lib/graph/types.ts:320](/source/packages/core/src/features/viz/lib/graph/types-ts/#L320)

</details>

<span id="api-ForceStyle"></span>

### ForceStyle

Frame style for a live force network. GraphLayout

```ts
type ForceStyle = GStyle
```

Related API: [ForceStyle](/reference/components/graph-visualization/), [GStyle](/reference/types/styles/#gstyle).

[View source — packages/core/src/features/viz/lib/graph/types.ts:323](/source/packages/core/src/features/viz/lib/graph/types-ts/#L323)

#### Properties and methods

<span id="api-ForceStyle-scaleX"></span>
<details>
<summary>scaleX (optional)</summary>


```ts
scaleX?: number | undefined
```

Horizontal scale factor. See GStyle.

[View source — packages/core/src/lib/components/g.ts:46](/source/packages/core/src/lib/components/g-ts/#L46)

</details>

<span id="api-ForceStyle-scaleY"></span>
<details>
<summary>scaleY (optional)</summary>


```ts
scaleY?: number | undefined
```

Vertical scale factor. See GStyle.

[View source — packages/core/src/lib/components/g.ts:48](/source/packages/core/src/lib/components/g-ts/#L48)

</details>

<span id="api-ForceStyle-rotationDegrees"></span>
<details>
<summary>rotationDegrees (optional)</summary>


```ts
rotationDegrees?: number | undefined
```

Clockwise rotation in degrees.

[View source — packages/core/src/lib/components/g.ts:50](/source/packages/core/src/lib/components/g-ts/#L50)

</details>

<span id="api-ForceStyle-rotationOrigin"></span>
<details>
<summary>rotationOrigin (optional)</summary>


```ts
rotationOrigin?: [number, number] | undefined
```

Point around which the rotation is applied. See GStyle.

[View source — packages/core/src/lib/components/g.ts:52](/source/packages/core/src/lib/components/g-ts/#L52)

</details>

<span id="api-ForceStyle-translateX"></span>
<details>
<summary>translateX (optional)</summary>


```ts
translateX?: number | undefined
```

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

[View source — packages/core/src/lib/components/g.ts:54](/source/packages/core/src/lib/components/g-ts/#L54)

</details>

<span id="api-ForceStyle-translateY"></span>
<details>
<summary>translateY (optional)</summary>


```ts
translateY?: number | undefined
```

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

[View source — packages/core/src/lib/components/g.ts:56](/source/packages/core/src/lib/components/g-ts/#L56)

</details>

<span id="api-ForceStyle-skewX"></span>
<details>
<summary>skewX (optional)</summary>


```ts
skewX?: number | undefined
```

Horizontal skew angle in degrees.

[View source — packages/core/src/lib/components/g.ts:58](/source/packages/core/src/lib/components/g-ts/#L58)

</details>

<span id="api-ForceStyle-skewY"></span>
<details>
<summary>skewY (optional)</summary>


```ts
skewY?: number | undefined
```

Vertical skew angle in degrees.

[View source — packages/core/src/lib/components/g.ts:60](/source/packages/core/src/lib/components/g-ts/#L60)

</details>

<span id="api-ForceStyle-position"></span>
<details>
<summary>position (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L194)

</details>

<span id="api-ForceStyle-left"></span>
<details>
<summary>left (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L196)

</details>

<span id="api-ForceStyle-right"></span>
<details>
<summary>right (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L198)

</details>

<span id="api-ForceStyle-top"></span>
<details>
<summary>top (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L200)

</details>

<span id="api-ForceStyle-bottom"></span>
<details>
<summary>bottom (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L202)

</details>

<span id="api-ForceStyle-insetStart"></span>
<details>
<summary>insetStart (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L204)

</details>

<span id="api-ForceStyle-insetEnd"></span>
<details>
<summary>insetEnd (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L206)

</details>

<span id="api-ForceStyle-aspectRatio"></span>
<details>
<summary>aspectRatio (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L84)

</details>

<span id="api-ForceStyle-boxSizing"></span>
<details>
<summary>boxSizing (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L89)

</details>

<span id="api-ForceStyle-width"></span>
<details>
<summary>width (optional)</summary>


```ts
width?: SizingLength | undefined
```

Related API: [SizingLength](/reference/types/layout/#sizinglength).

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

[View source — packages/core/src/lib/style/types.ts:91](/source/packages/core/src/lib/style/types-ts/#L91)

</details>

<span id="api-ForceStyle-height"></span>
<details>
<summary>height (optional)</summary>


```ts
height?: SizingLength | undefined
```

Related API: [SizingLength](/reference/types/layout/#sizinglength).

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

[View source — packages/core/src/lib/style/types.ts:93](/source/packages/core/src/lib/style/types-ts/#L93)

</details>

<span id="api-ForceStyle-minWidth"></span>
<details>
<summary>minWidth (optional)</summary>


```ts
minWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L95)

</details>

<span id="api-ForceStyle-maxWidth"></span>
<details>
<summary>maxWidth (optional)</summary>


```ts
maxWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L97)

</details>

<span id="api-ForceStyle-minHeight"></span>
<details>
<summary>minHeight (optional)</summary>


```ts
minHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#sizingkeyword).

Minimum permitted height. See Length.

[View source — packages/core/src/lib/style/types.ts:99](/source/packages/core/src/lib/style/types-ts/#L99)

</details>

<span id="api-ForceStyle-maxHeight"></span>
<details>
<summary>maxHeight (optional)</summary>


```ts
maxHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#sizingkeyword).

Maximum permitted height. See Length.

[View source — packages/core/src/lib/style/types.ts:101](/source/packages/core/src/lib/style/types-ts/#L101)

</details>

<span id="api-ForceStyle-padding"></span>
<details>
<summary>padding (optional)</summary>


```ts
padding?: EdgeValues<number | `${number}%`> | undefined
```

Related API: [EdgeValues](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L103)

</details>

<span id="api-ForceStyle-paddingStart"></span>
<details>
<summary>paddingStart (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L105)

</details>

<span id="api-ForceStyle-paddingEnd"></span>
<details>
<summary>paddingEnd (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L107)

</details>

<span id="api-ForceStyle-borderWidth"></span>
<details>
<summary>borderWidth (optional)</summary>


```ts
borderWidth?: EdgeValues<number> | undefined
```

Related API: [EdgeValues](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L109)

</details>

<span id="api-ForceStyle-borderStartWidth"></span>
<details>
<summary>borderStartWidth (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L111)

</details>

<span id="api-ForceStyle-borderEndWidth"></span>
<details>
<summary>borderEndWidth (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L113)

</details>

<span id="api-ForceStyle-overflow"></span>
<details>
<summary>overflow (optional)</summary>


```ts
overflow?: "clip" | "visible" | undefined
```

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

[View source — packages/core/src/lib/style/types.ts:115](/source/packages/core/src/lib/style/types-ts/#L115)

</details>

<span id="api-ForceStyle-margin"></span>
<details>
<summary>margin (optional)</summary>


```ts
margin?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L146)

</details>

<span id="api-ForceStyle-marginTop"></span>
<details>
<summary>marginTop (optional)</summary>


```ts
marginTop?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical top margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:148](/source/packages/core/src/lib/style/types-ts/#L148)

</details>

<span id="api-ForceStyle-marginRight"></span>
<details>
<summary>marginRight (optional)</summary>


```ts
marginRight?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical right margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:150](/source/packages/core/src/lib/style/types-ts/#L150)

</details>

<span id="api-ForceStyle-marginBottom"></span>
<details>
<summary>marginBottom (optional)</summary>


```ts
marginBottom?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical bottom margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:152](/source/packages/core/src/lib/style/types-ts/#L152)

</details>

<span id="api-ForceStyle-marginLeft"></span>
<details>
<summary>marginLeft (optional)</summary>


```ts
marginLeft?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical left margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:154](/source/packages/core/src/lib/style/types-ts/#L154)

</details>

<span id="api-ForceStyle-marginStart"></span>
<details>
<summary>marginStart (optional)</summary>


```ts
marginStart?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L156)

</details>

<span id="api-ForceStyle-marginEnd"></span>
<details>
<summary>marginEnd (optional)</summary>


```ts
marginEnd?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L158)

</details>

<span id="api-ForceStyle-alignSelf"></span>
<details>
<summary>alignSelf (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L160)

</details>

<span id="api-ForceStyle-justifySelf"></span>
<details>
<summary>justifySelf (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L162)

</details>

<span id="api-ForceStyle-flexBasis"></span>
<details>
<summary>flexBasis (optional)</summary>


```ts
flexBasis?: SizingLength | undefined
```

Related API: [SizingLength](/reference/types/layout/#sizinglength).

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

[View source — packages/core/src/lib/style/types.ts:164](/source/packages/core/src/lib/style/types-ts/#L164)

</details>

<span id="api-ForceStyle-flexGrow"></span>
<details>
<summary>flexGrow (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L166)

</details>

<span id="api-ForceStyle-flexShrink"></span>
<details>
<summary>flexShrink (optional)</summary>


```ts
flexShrink?: number | undefined
```

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

[View source — packages/core/src/lib/style/types.ts:168](/source/packages/core/src/lib/style/types-ts/#L168)

</details>

<span id="api-ForceStyle-gridColumnStart"></span>
<details>
<summary>gridColumnStart (optional)</summary>


```ts
gridColumnStart?: number | undefined
```

Explicit starting grid column. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:170](/source/packages/core/src/lib/style/types-ts/#L170)

</details>

<span id="api-ForceStyle-gridColumnSpan"></span>
<details>
<summary>gridColumnSpan (optional)</summary>


```ts
gridColumnSpan?: number | undefined
```

Number of columns occupied by this child. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:172](/source/packages/core/src/lib/style/types-ts/#L172)

</details>

<span id="api-ForceStyle-gridRowStart"></span>
<details>
<summary>gridRowStart (optional)</summary>


```ts
gridRowStart?: number | undefined
```

Explicit starting grid row. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:174](/source/packages/core/src/lib/style/types-ts/#L174)

</details>

<span id="api-ForceStyle-gridRowSpan"></span>
<details>
<summary>gridRowSpan (optional)</summary>


```ts
gridRowSpan?: number | undefined
```

Number of rows occupied by this child. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:176](/source/packages/core/src/lib/style/types-ts/#L176)

</details>

<span id="api-ForceStyle-layoutParticipation"></span>
<details>
<summary>layoutParticipation (optional)</summary>


```ts
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](/source/packages/core/src/lib/types-ts/#L69)

</details>

<span id="api-ForceStyle-transition"></span>
<details>
<summary>transition (optional)</summary>


```ts
transition?: PibblTransitionBinding | undefined
```

Related API: [PibblTransitionBinding](/reference/hooks/use-visibility-transition/).

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

[View source — packages/core/src/lib/types.ts:71](/source/packages/core/src/lib/types-ts/#L71)

</details>

<span id="api-ForceStyle-custom"></span>
<details>
<summary>custom (optional)</summary>


```ts
custom?: unknown
```

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

[View source — packages/core/src/lib/types.ts:73](/source/packages/core/src/lib/types-ts/#L73)

</details>

<span id="api-ForceStyle-filter"></span>
<details>
<summary>filter (optional)</summary>


```ts
filter?: PibblFilter | readonly PibblFilter[] | undefined
```

Related API: [PibblFilter](/reference/types/filters/#pibblfilter).

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

[View source — packages/core/src/lib/types.ts:78](/source/packages/core/src/lib/types-ts/#L78)

</details>

<span id="api-ForceNetworkProps"></span>

### ForceNetworkProps

Reactive force-network data, solver settings, and presentation. GraphLayout

```ts
interface ForceNetworkProps<N, E> extends GraphAccessors<N, E>, GraphPresentation<N, E>
```

Related API: [ForceNetworkProps](/reference/components/graph-visualization/), [GraphAccessors](/reference/components/graph-visualization/), [GraphPresentation](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:325](/source/packages/core/src/features/viz/lib/graph/types-ts/#L325)

#### Properties and methods

<span id="api-ForceNetworkProps-createSimulation"></span>
<details>
<summary>createSimulation (optional)</summary>


```ts
readonly createSimulation?: ForceSimulationFactory<N, E> | undefined
```

Related API: [ForceSimulationFactory](/reference/components/graph-visualization/).

Optional compatible numeric solver factory. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:328](/source/packages/core/src/features/viz/lib/graph/types-ts/#L328)

</details>

<span id="api-ForceNetworkProps-graph"></span>
<details>
<summary>graph</summary>


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

Related API: [SignalValue](/reference/types/signal-inputs/#signalvalue), [GraphData](/reference/components/graph-visualization/).

Graph records; publish a new snapshot to update. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:330](/source/packages/core/src/features/viz/lib/graph/types-ts/#L330)

</details>

<span id="api-ForceNetworkProps-nodeSize"></span>
<details>
<summary>nodeSize (optional)</summary>


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

Related API: [Size](/reference/types/layout/#size).

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

##### Parameters

- **`node`** — Source record to measure.

##### Returns

Finite local logical size.

[View source — packages/core/src/features/viz/lib/graph/types.ts:334](/source/packages/core/src/features/viz/lib/graph/types-ts/#L334)

</details>

<span id="api-ForceNetworkProps-simulation"></span>
<details>
<summary>simulation (optional)</summary>


```ts
readonly simulation?: ForceSettings | undefined
```

Related API: [ForceSettings](/reference/components/graph-visualization/).

Optional deterministic solver settings. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:340](/source/packages/core/src/features/viz/lib/graph/types-ts/#L340)

</details>

<span id="api-ForceNetworkProps-directed"></span>
<details>
<summary>directed (optional)</summary>


```ts
readonly directed?: boolean | undefined
```

Whether direction affects the algorithm. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:342](/source/packages/core/src/features/viz/lib/graph/types-ts/#L342)

</details>

<span id="api-ForceNetworkProps-paused"></span>
<details>
<summary>paused (optional)</summary>


```ts
readonly paused?: SignalValue<boolean> | undefined
```

Related API: [SignalValue](/reference/types/signal-inputs/#signalvalue).

Signal controlling whether simulation advances. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:344](/source/packages/core/src/features/viz/lib/graph/types-ts/#L344)

</details>

<span id="api-ForceNetworkProps-style"></span>
<details>
<summary>style (optional)</summary>


```ts
readonly style?: Style<GStyle> | undefined
```

Related API: [Style](/reference/components/graph-visualization/), [GStyle](/reference/types/styles/#gstyle).

Frame style and responsive size allocation. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:346](/source/packages/core/src/features/viz/lib/graph/types-ts/#L346)

</details>

<span id="api-ForceNetworkProps-nodeKey"></span>
<details>
<summary>nodeKey</summary>


```ts
readonly nodeKey: Accessor<N, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each node’s stable key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:86](/source/packages/core/src/features/viz/lib/graph/types-ts/#L86)

</details>

<span id="api-ForceNetworkProps-edgeKey"></span>
<details>
<summary>edgeKey</summary>


```ts
readonly edgeKey: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each edge’s stable key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:88](/source/packages/core/src/features/viz/lib/graph/types-ts/#L88)

</details>

<span id="api-ForceNetworkProps-source"></span>
<details>
<summary>source</summary>


```ts
readonly source: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads an edge source key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:90](/source/packages/core/src/features/viz/lib/graph/types-ts/#L90)

</details>

<span id="api-ForceNetworkProps-target"></span>
<details>
<summary>target</summary>


```ts
readonly target: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads an edge target key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:92](/source/packages/core/src/features/viz/lib/graph/types-ts/#L92)

</details>

<span id="api-ForceNetworkProps-label"></span>
<details>
<summary>label (optional)</summary>


```ts
readonly label?: Accessor<N, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a node’s primary text. LabelGeometry

[View source — packages/core/src/features/viz/lib/graph/types.ts:94](/source/packages/core/src/features/viz/lib/graph/types-ts/#L94)

</details>

<span id="api-ForceNetworkProps-detail"></span>
<details>
<summary>detail (optional)</summary>


```ts
readonly detail?: Accessor<N, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a node’s secondary text. LabelGeometry

[View source — packages/core/src/features/viz/lib/graph/types.ts:96](/source/packages/core/src/features/viz/lib/graph/types-ts/#L96)

</details>

<span id="api-ForceNetworkProps-nodeStyle"></span>
<details>
<summary>nodeStyle (optional)</summary>


```ts
readonly nodeStyle?: MarkStyle<GraphNodeGeometry<N>, NodeStyle> | undefined
```

Related API: [MarkStyle](/reference/components/graph-visualization/), [GraphNodeGeometry](/reference/components/graph-visualization/), [NodeStyle](/reference/components/graph-visualization/).

Style or geometry-aware style for node marks. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:156](/source/packages/core/src/features/viz/lib/graph/types-ts/#L156)

</details>

<span id="api-ForceNetworkProps-edgeStyle"></span>
<details>
<summary>edgeStyle (optional)</summary>


```ts
readonly edgeStyle?: MarkStyle<GraphEdgeGeometry<E>, EdgeStyle> | undefined
```

Related API: [MarkStyle](/reference/components/graph-visualization/), [GraphEdgeGeometry](/reference/components/graph-visualization/), [EdgeStyle](/reference/components/graph-visualization/).

Style or geometry-aware style for edge marks. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:158](/source/packages/core/src/features/viz/lib/graph/types-ts/#L158)

</details>

<span id="api-ForceNetworkProps-labelStyle"></span>
<details>
<summary>labelStyle (optional)</summary>


```ts
readonly labelStyle?: MarkStyle<GraphNodeGeometry<N>, LabelStyle> | undefined
```

Related API: [MarkStyle](/reference/components/graph-visualization/), [GraphNodeGeometry](/reference/components/graph-visualization/), [LabelStyle](/reference/components/graph-visualization/).

Style for decorative labels. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:160](/source/packages/core/src/features/viz/lib/graph/types-ts/#L160)

</details>

<span id="api-ForceNetworkProps-renderNode"></span>
<details>
<summary>renderNode (optional)</summary>


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

Related API: [GraphNodeGeometry](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

Replaces the default node mark with this composition. GraphLayout

##### Parameters

- **`node`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:164](/source/packages/core/src/features/viz/lib/graph/types-ts/#L164)

</details>

<span id="api-ForceNetworkProps-renderEdge"></span>
<details>
<summary>renderEdge (optional)</summary>


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

Related API: [GraphEdgeGeometry](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

Replaces the default edge mark with this composition. GraphLayout

##### Parameters

- **`edge`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:168](/source/packages/core/src/features/viz/lib/graph/types-ts/#L168)

</details>

<span id="api-ForceNetworkProps-onNodeClick"></span>
<details>
<summary>onNodeClick (optional)</summary>


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

Related API: [GraphNodeGeometry](/reference/components/graph-visualization/).

Receives clicks on a node mark. GraphLayout

##### Parameters

- **`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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L172)

</details>

<span id="api-ForceNetworkProps-onEdgeClick"></span>
<details>
<summary>onEdgeClick (optional)</summary>


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

Related API: [GraphEdgeGeometry](/reference/components/graph-visualization/).

Receives clicks on an edge mark. GraphLayout

##### Parameters

- **`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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L176)

</details>

<span id="api-ForceHookOptions"></span>

### ForceHookOptions

Configuration for a hook-owned force solver session. GraphLayout

```ts
interface ForceHookOptions<N, E> extends ForceOptions<N, E>
```

Related API: [ForceHookOptions](/reference/components/graph-visualization/), [ForceOptions](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:349](/source/packages/core/src/features/viz/lib/graph/types-ts/#L349)

#### Properties and methods

<span id="api-ForceHookOptions-initialPaused"></span>
<details>
<summary>initialPaused (optional)</summary>


```ts
readonly initialPaused?: boolean | undefined
```

Initial paused state for a new controller. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:351](/source/packages/core/src/features/viz/lib/graph/types-ts/#L351)

</details>

<span id="api-ForceHookOptions-createSimulation"></span>
<details>
<summary>createSimulation (optional)</summary>


```ts
readonly createSimulation?: ForceSimulationFactory<N, E> | undefined
```

Related API: [ForceSimulationFactory](/reference/components/graph-visualization/).

Optional compatible numeric solver factory. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:353](/source/packages/core/src/features/viz/lib/graph/types-ts/#L353)

</details>

<span id="api-ForceHookOptions-nodeKey"></span>
<details>
<summary>nodeKey</summary>


```ts
readonly nodeKey: Accessor<N, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each node’s stable key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:86](/source/packages/core/src/features/viz/lib/graph/types-ts/#L86)

</details>

<span id="api-ForceHookOptions-edgeKey"></span>
<details>
<summary>edgeKey</summary>


```ts
readonly edgeKey: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each edge’s stable key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:88](/source/packages/core/src/features/viz/lib/graph/types-ts/#L88)

</details>

<span id="api-ForceHookOptions-source"></span>
<details>
<summary>source</summary>


```ts
readonly source: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads an edge source key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:90](/source/packages/core/src/features/viz/lib/graph/types-ts/#L90)

</details>

<span id="api-ForceHookOptions-target"></span>
<details>
<summary>target</summary>


```ts
readonly target: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads an edge target key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:92](/source/packages/core/src/features/viz/lib/graph/types-ts/#L92)

</details>

<span id="api-ForceHookOptions-label"></span>
<details>
<summary>label (optional)</summary>


```ts
readonly label?: Accessor<N, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a node’s primary text. LabelGeometry

[View source — packages/core/src/features/viz/lib/graph/types.ts:94](/source/packages/core/src/features/viz/lib/graph/types-ts/#L94)

</details>

<span id="api-ForceHookOptions-detail"></span>
<details>
<summary>detail (optional)</summary>


```ts
readonly detail?: Accessor<N, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a node’s secondary text. LabelGeometry

[View source — packages/core/src/features/viz/lib/graph/types.ts:96](/source/packages/core/src/features/viz/lib/graph/types-ts/#L96)

</details>

<span id="api-ForceHookOptions-bounds"></span>
<details>
<summary>bounds</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L275)

</details>

<span id="api-ForceHookOptions-nodeSize"></span>
<details>
<summary>nodeSize (optional)</summary>


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

Related API: [Size](/reference/types/layout/#size).

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

##### Parameters

- **`node`** — Source record to measure.

##### Returns

Finite local logical size.

[View source — packages/core/src/features/viz/lib/graph/types.ts:279](/source/packages/core/src/features/viz/lib/graph/types-ts/#L279)

</details>

<span id="api-ForceHookOptions-simulation"></span>
<details>
<summary>simulation (optional)</summary>


```ts
readonly simulation?: ForceSettings | undefined
```

Related API: [ForceSettings](/reference/components/graph-visualization/).

Optional deterministic solver settings. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:285](/source/packages/core/src/features/viz/lib/graph/types-ts/#L285)

</details>

<span id="api-ForceHookOptions-directed"></span>
<details>
<summary>directed (optional)</summary>


```ts
readonly directed?: boolean | undefined
```

Whether direction affects the algorithm. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:287](/source/packages/core/src/features/viz/lib/graph/types-ts/#L287)

</details>

<span id="api-HierarchyAccessors"></span>

### HierarchyAccessors

Typed readers for one rooted hierarchy with stable child order. GraphLayout

```ts
interface HierarchyAccessors<D>
```

Related API: [HierarchyAccessors](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:357](/source/packages/core/src/features/viz/lib/graph/types-ts/#L357)

#### Properties and methods

<span id="api-HierarchyAccessors-keyBy"></span>
<details>
<summary>keyBy</summary>


```ts
readonly keyBy: Accessor<D, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each hierarchy record’s stable key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:359](/source/packages/core/src/features/viz/lib/graph/types-ts/#L359)

</details>

<span id="api-HierarchyAccessors-childrenBy"></span>
<details>
<summary>childrenBy</summary>


```ts
readonly childrenBy: Accessor<D, readonly D[] | null | undefined>
```

Related API: [Accessor](/reference/components/graph-visualization/).

Reads ordered child records; null and undefined mean no children. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:361](/source/packages/core/src/features/viz/lib/graph/types-ts/#L361)

</details>

<span id="api-HierarchyAccessors-label"></span>
<details>
<summary>label (optional)</summary>


```ts
readonly label?: Accessor<D, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a node’s primary text. LabelGeometry

[View source — packages/core/src/features/viz/lib/graph/types.ts:363](/source/packages/core/src/features/viz/lib/graph/types-ts/#L363)

</details>

<span id="api-HierarchyAccessors-collapsed"></span>
<details>
<summary>collapsed (optional)</summary>


```ts
readonly collapsed?: ((node: D) => boolean) | undefined
```

Whether this item hides its descendants. GraphLayout

##### Parameters

- **`node`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:367](/source/packages/core/src/features/viz/lib/graph/types-ts/#L367)

</details>

<span id="api-TreeEdge"></span>

### TreeEdge

The original parent and child records represented by a tree edge. GraphLayout

```ts
interface TreeEdge<D>
```

Related API: [TreeEdge](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:370](/source/packages/core/src/features/viz/lib/graph/types-ts/#L370)

#### Properties and methods

<span id="api-TreeEdge-parent"></span>
<details>
<summary>parent</summary>


```ts
readonly parent: D
```

Original parent record. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:372](/source/packages/core/src/features/viz/lib/graph/types-ts/#L372)

</details>

<span id="api-TreeEdge-child"></span>
<details>
<summary>child</summary>


```ts
readonly child: D
```

Original child record. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:374](/source/packages/core/src/features/viz/lib/graph/types-ts/#L374)

</details>

<span id="api-TreeNodeGeometry"></span>

### TreeNodeGeometry

Tree node geometry with ancestry and collapsed-child information. GraphLayout

```ts
interface TreeNodeGeometry<D> extends GraphNodeGeometry<D>
```

Related API: [TreeNodeGeometry](/reference/components/graph-visualization/), [GraphNodeGeometry](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:377](/source/packages/core/src/features/viz/lib/graph/types-ts/#L377)

#### Properties and methods

<span id="api-TreeNodeGeometry-depth"></span>
<details>
<summary>depth</summary>


```ts
readonly depth: number
```

Zero-based hierarchy depth. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:379](/source/packages/core/src/features/viz/lib/graph/types-ts/#L379)

</details>

<span id="api-TreeNodeGeometry-parentKey"></span>
<details>
<summary>parentKey</summary>


```ts
readonly parentKey: VizKey | null
```

Related API: [VizKey](/reference/components/graph-visualization/).

Parent key, or null for a top-level item. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:381](/source/packages/core/src/features/viz/lib/graph/types-ts/#L381)

</details>

<span id="api-TreeNodeGeometry-hiddenChildren"></span>
<details>
<summary>hiddenChildren</summary>


```ts
readonly hiddenChildren: number
```

Number of children omitted by collapse. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:383](/source/packages/core/src/features/viz/lib/graph/types-ts/#L383)

</details>

<span id="api-TreeNodeGeometry-key"></span>
<details>
<summary>key</summary>


```ts
readonly key: VizKey
```

Related API: [VizKey](/reference/components/graph-visualization/).

Stable application-provided key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:101](/source/packages/core/src/features/viz/lib/graph/types-ts/#L101)

</details>

<span id="api-TreeNodeGeometry-datum"></span>
<details>
<summary>datum</summary>


```ts
readonly datum: D
```

Original application record. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:103](/source/packages/core/src/features/viz/lib/graph/types-ts/#L103)

</details>

<span id="api-TreeNodeGeometry-bounds"></span>
<details>
<summary>bounds</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L105)

</details>

<span id="api-TreeNodeGeometry-label"></span>
<details>
<summary>label</summary>


```ts
readonly label: LabelGeometry
```

Related API: [LabelGeometry](/reference/components/graph-visualization/).

Decorative label geometry. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:107](/source/packages/core/src/features/viz/lib/graph/types-ts/#L107)

</details>

<span id="api-TreeNodeGeometry-detail"></span>
<details>
<summary>detail</summary>


```ts
readonly detail: LabelGeometry | null
```

Related API: [LabelGeometry](/reference/components/graph-visualization/).

Optional secondary label geometry. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:109](/source/packages/core/src/features/viz/lib/graph/types-ts/#L109)

</details>

<span id="api-TreeLayout"></span>

### TreeLayout

Immutable tidy-tree node and edge geometry. GraphLayout

```ts
interface TreeLayout<D> extends GraphLayout<D, TreeEdge<D>>
```

Related API: [TreeLayout](/reference/components/graph-visualization/), [GraphLayout](/reference/components/graph-visualization/), [TreeEdge](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:386](/source/packages/core/src/features/viz/lib/graph/types-ts/#L386)

#### Properties and methods

<span id="api-TreeLayout-nodes"></span>
<details>
<summary>nodes</summary>


```ts
readonly nodes: readonly TreeNodeGeometry<D>[]
```

Related API: [TreeNodeGeometry](/reference/components/graph-visualization/).

Source nodes in application order. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:388](/source/packages/core/src/features/viz/lib/graph/types-ts/#L388)

</details>

<span id="api-TreeLayout-bounds"></span>
<details>
<summary>bounds</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L143)

</details>

<span id="api-TreeLayout-edges"></span>
<details>
<summary>edges</summary>


```ts
readonly edges: readonly GraphEdgeGeometry<TreeEdge<D>>[]
```

Related API: [GraphEdgeGeometry](/reference/components/graph-visualization/), [TreeEdge](/reference/components/graph-visualization/).

Source edges in application order. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:147](/source/packages/core/src/features/viz/lib/graph/types-ts/#L147)

</details>

<span id="api-TreeStyle"></span>

### TreeStyle

Frame options controlling tree level and sibling spacing. GraphLayout

```ts
interface TreeStyle extends GStyle
```

Related API: [TreeStyle](/reference/components/graph-visualization/), [GStyle](/reference/types/styles/#gstyle).

[View source — packages/core/src/features/viz/lib/graph/types.ts:391](/source/packages/core/src/features/viz/lib/graph/types-ts/#L391)

#### Properties and methods

<span id="api-TreeStyle-levelGap"></span>
<details>
<summary>levelGap (optional)</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L393)

</details>

<span id="api-TreeStyle-siblingGap"></span>
<details>
<summary>siblingGap (optional)</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L395)

</details>

<span id="api-TreeStyle-position"></span>
<details>
<summary>position (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L194)

</details>

<span id="api-TreeStyle-left"></span>
<details>
<summary>left (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L196)

</details>

<span id="api-TreeStyle-right"></span>
<details>
<summary>right (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L198)

</details>

<span id="api-TreeStyle-top"></span>
<details>
<summary>top (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L200)

</details>

<span id="api-TreeStyle-bottom"></span>
<details>
<summary>bottom (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L202)

</details>

<span id="api-TreeStyle-insetStart"></span>
<details>
<summary>insetStart (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L204)

</details>

<span id="api-TreeStyle-insetEnd"></span>
<details>
<summary>insetEnd (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L206)

</details>

<span id="api-TreeStyle-aspectRatio"></span>
<details>
<summary>aspectRatio (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L84)

</details>

<span id="api-TreeStyle-boxSizing"></span>
<details>
<summary>boxSizing (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L89)

</details>

<span id="api-TreeStyle-width"></span>
<details>
<summary>width (optional)</summary>


```ts
width?: SizingLength | undefined
```

Related API: [SizingLength](/reference/types/layout/#sizinglength).

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

[View source — packages/core/src/lib/style/types.ts:91](/source/packages/core/src/lib/style/types-ts/#L91)

</details>

<span id="api-TreeStyle-height"></span>
<details>
<summary>height (optional)</summary>


```ts
height?: SizingLength | undefined
```

Related API: [SizingLength](/reference/types/layout/#sizinglength).

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

[View source — packages/core/src/lib/style/types.ts:93](/source/packages/core/src/lib/style/types-ts/#L93)

</details>

<span id="api-TreeStyle-minWidth"></span>
<details>
<summary>minWidth (optional)</summary>


```ts
minWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L95)

</details>

<span id="api-TreeStyle-maxWidth"></span>
<details>
<summary>maxWidth (optional)</summary>


```ts
maxWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L97)

</details>

<span id="api-TreeStyle-minHeight"></span>
<details>
<summary>minHeight (optional)</summary>


```ts
minHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#sizingkeyword).

Minimum permitted height. See Length.

[View source — packages/core/src/lib/style/types.ts:99](/source/packages/core/src/lib/style/types-ts/#L99)

</details>

<span id="api-TreeStyle-maxHeight"></span>
<details>
<summary>maxHeight (optional)</summary>


```ts
maxHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#sizingkeyword).

Maximum permitted height. See Length.

[View source — packages/core/src/lib/style/types.ts:101](/source/packages/core/src/lib/style/types-ts/#L101)

</details>

<span id="api-TreeStyle-padding"></span>
<details>
<summary>padding (optional)</summary>


```ts
padding?: EdgeValues<number | `${number}%`> | undefined
```

Related API: [EdgeValues](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L103)

</details>

<span id="api-TreeStyle-paddingStart"></span>
<details>
<summary>paddingStart (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L105)

</details>

<span id="api-TreeStyle-paddingEnd"></span>
<details>
<summary>paddingEnd (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L107)

</details>

<span id="api-TreeStyle-borderWidth"></span>
<details>
<summary>borderWidth (optional)</summary>


```ts
borderWidth?: EdgeValues<number> | undefined
```

Related API: [EdgeValues](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L109)

</details>

<span id="api-TreeStyle-borderStartWidth"></span>
<details>
<summary>borderStartWidth (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L111)

</details>

<span id="api-TreeStyle-borderEndWidth"></span>
<details>
<summary>borderEndWidth (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L113)

</details>

<span id="api-TreeStyle-overflow"></span>
<details>
<summary>overflow (optional)</summary>


```ts
overflow?: "clip" | "visible" | undefined
```

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

[View source — packages/core/src/lib/style/types.ts:115](/source/packages/core/src/lib/style/types-ts/#L115)

</details>

<span id="api-TreeStyle-margin"></span>
<details>
<summary>margin (optional)</summary>


```ts
margin?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L146)

</details>

<span id="api-TreeStyle-marginTop"></span>
<details>
<summary>marginTop (optional)</summary>


```ts
marginTop?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical top margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:148](/source/packages/core/src/lib/style/types-ts/#L148)

</details>

<span id="api-TreeStyle-marginRight"></span>
<details>
<summary>marginRight (optional)</summary>


```ts
marginRight?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical right margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:150](/source/packages/core/src/lib/style/types-ts/#L150)

</details>

<span id="api-TreeStyle-marginBottom"></span>
<details>
<summary>marginBottom (optional)</summary>


```ts
marginBottom?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical bottom margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:152](/source/packages/core/src/lib/style/types-ts/#L152)

</details>

<span id="api-TreeStyle-marginLeft"></span>
<details>
<summary>marginLeft (optional)</summary>


```ts
marginLeft?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical left margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:154](/source/packages/core/src/lib/style/types-ts/#L154)

</details>

<span id="api-TreeStyle-marginStart"></span>
<details>
<summary>marginStart (optional)</summary>


```ts
marginStart?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L156)

</details>

<span id="api-TreeStyle-marginEnd"></span>
<details>
<summary>marginEnd (optional)</summary>


```ts
marginEnd?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L158)

</details>

<span id="api-TreeStyle-alignSelf"></span>
<details>
<summary>alignSelf (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L160)

</details>

<span id="api-TreeStyle-justifySelf"></span>
<details>
<summary>justifySelf (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L162)

</details>

<span id="api-TreeStyle-flexBasis"></span>
<details>
<summary>flexBasis (optional)</summary>


```ts
flexBasis?: SizingLength | undefined
```

Related API: [SizingLength](/reference/types/layout/#sizinglength).

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

[View source — packages/core/src/lib/style/types.ts:164](/source/packages/core/src/lib/style/types-ts/#L164)

</details>

<span id="api-TreeStyle-flexGrow"></span>
<details>
<summary>flexGrow (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L166)

</details>

<span id="api-TreeStyle-flexShrink"></span>
<details>
<summary>flexShrink (optional)</summary>


```ts
flexShrink?: number | undefined
```

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

[View source — packages/core/src/lib/style/types.ts:168](/source/packages/core/src/lib/style/types-ts/#L168)

</details>

<span id="api-TreeStyle-gridColumnStart"></span>
<details>
<summary>gridColumnStart (optional)</summary>


```ts
gridColumnStart?: number | undefined
```

Explicit starting grid column. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:170](/source/packages/core/src/lib/style/types-ts/#L170)

</details>

<span id="api-TreeStyle-gridColumnSpan"></span>
<details>
<summary>gridColumnSpan (optional)</summary>


```ts
gridColumnSpan?: number | undefined
```

Number of columns occupied by this child. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:172](/source/packages/core/src/lib/style/types-ts/#L172)

</details>

<span id="api-TreeStyle-gridRowStart"></span>
<details>
<summary>gridRowStart (optional)</summary>


```ts
gridRowStart?: number | undefined
```

Explicit starting grid row. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:174](/source/packages/core/src/lib/style/types-ts/#L174)

</details>

<span id="api-TreeStyle-gridRowSpan"></span>
<details>
<summary>gridRowSpan (optional)</summary>


```ts
gridRowSpan?: number | undefined
```

Number of rows occupied by this child. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:176](/source/packages/core/src/lib/style/types-ts/#L176)

</details>

<span id="api-TreeStyle-scaleX"></span>
<details>
<summary>scaleX (optional)</summary>


```ts
scaleX?: number | undefined
```

Horizontal scale factor. See GStyle.

[View source — packages/core/src/lib/components/g.ts:46](/source/packages/core/src/lib/components/g-ts/#L46)

</details>

<span id="api-TreeStyle-scaleY"></span>
<details>
<summary>scaleY (optional)</summary>


```ts
scaleY?: number | undefined
```

Vertical scale factor. See GStyle.

[View source — packages/core/src/lib/components/g.ts:48](/source/packages/core/src/lib/components/g-ts/#L48)

</details>

<span id="api-TreeStyle-rotationDegrees"></span>
<details>
<summary>rotationDegrees (optional)</summary>


```ts
rotationDegrees?: number | undefined
```

Clockwise rotation in degrees.

[View source — packages/core/src/lib/components/g.ts:50](/source/packages/core/src/lib/components/g-ts/#L50)

</details>

<span id="api-TreeStyle-rotationOrigin"></span>
<details>
<summary>rotationOrigin (optional)</summary>


```ts
rotationOrigin?: [number, number] | undefined
```

Point around which the rotation is applied. See GStyle.

[View source — packages/core/src/lib/components/g.ts:52](/source/packages/core/src/lib/components/g-ts/#L52)

</details>

<span id="api-TreeStyle-translateX"></span>
<details>
<summary>translateX (optional)</summary>


```ts
translateX?: number | undefined
```

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

[View source — packages/core/src/lib/components/g.ts:54](/source/packages/core/src/lib/components/g-ts/#L54)

</details>

<span id="api-TreeStyle-translateY"></span>
<details>
<summary>translateY (optional)</summary>


```ts
translateY?: number | undefined
```

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

[View source — packages/core/src/lib/components/g.ts:56](/source/packages/core/src/lib/components/g-ts/#L56)

</details>

<span id="api-TreeStyle-skewX"></span>
<details>
<summary>skewX (optional)</summary>


```ts
skewX?: number | undefined
```

Horizontal skew angle in degrees.

[View source — packages/core/src/lib/components/g.ts:58](/source/packages/core/src/lib/components/g-ts/#L58)

</details>

<span id="api-TreeStyle-skewY"></span>
<details>
<summary>skewY (optional)</summary>


```ts
skewY?: number | undefined
```

Vertical skew angle in degrees.

[View source — packages/core/src/lib/components/g.ts:60](/source/packages/core/src/lib/components/g-ts/#L60)

</details>

<span id="api-TreeStyle-layoutParticipation"></span>
<details>
<summary>layoutParticipation (optional)</summary>


```ts
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](/source/packages/core/src/lib/types-ts/#L69)

</details>

<span id="api-TreeStyle-transition"></span>
<details>
<summary>transition (optional)</summary>


```ts
transition?: PibblTransitionBinding | undefined
```

Related API: [PibblTransitionBinding](/reference/hooks/use-visibility-transition/).

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

[View source — packages/core/src/lib/types.ts:71](/source/packages/core/src/lib/types-ts/#L71)

</details>

<span id="api-TreeStyle-custom"></span>
<details>
<summary>custom (optional)</summary>


```ts
custom?: unknown
```

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

[View source — packages/core/src/lib/types.ts:73](/source/packages/core/src/lib/types-ts/#L73)

</details>

<span id="api-TreeStyle-filter"></span>
<details>
<summary>filter (optional)</summary>


```ts
filter?: PibblFilter | readonly PibblFilter[] | undefined
```

Related API: [PibblFilter](/reference/types/filters/#pibblfilter).

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

[View source — packages/core/src/lib/types.ts:78](/source/packages/core/src/lib/types-ts/#L78)

</details>

<span id="api-TreeOptions"></span>

### TreeOptions

Pure tidy-tree inputs including bounds and optional dimensions. GraphLayout

```ts
interface TreeOptions<D> extends HierarchyAccessors<D>
```

Related API: [TreeOptions](/reference/components/graph-visualization/), [HierarchyAccessors](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:398](/source/packages/core/src/features/viz/lib/graph/types-ts/#L398)

#### Properties and methods

<span id="api-TreeOptions-bounds"></span>
<details>
<summary>bounds</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L400)

</details>

<span id="api-TreeOptions-detail"></span>
<details>
<summary>detail (optional)</summary>


```ts
readonly detail?: Accessor<D, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a node’s secondary text. LabelGeometry

[View source — packages/core/src/features/viz/lib/graph/types.ts:402](/source/packages/core/src/features/viz/lib/graph/types-ts/#L402)

</details>

<span id="api-TreeOptions-nodeSize"></span>
<details>
<summary>nodeSize (optional)</summary>


```ts
readonly nodeSize?: Size | ((node: D) => Size) | undefined
```

Related API: [Size](/reference/types/layout/#size).

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

##### Parameters

- **`node`** — Source record to measure.

##### Returns

Finite local logical size.

[View source — packages/core/src/features/viz/lib/graph/types.ts:406](/source/packages/core/src/features/viz/lib/graph/types-ts/#L406)

</details>

<span id="api-TreeOptions-levelGap"></span>
<details>
<summary>levelGap (optional)</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L412)

</details>

<span id="api-TreeOptions-siblingGap"></span>
<details>
<summary>siblingGap (optional)</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L414)

</details>

<span id="api-TreeOptions-keyBy"></span>
<details>
<summary>keyBy</summary>


```ts
readonly keyBy: Accessor<D, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each hierarchy record’s stable key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:359](/source/packages/core/src/features/viz/lib/graph/types-ts/#L359)

</details>

<span id="api-TreeOptions-childrenBy"></span>
<details>
<summary>childrenBy</summary>


```ts
readonly childrenBy: Accessor<D, readonly D[] | null | undefined>
```

Related API: [Accessor](/reference/components/graph-visualization/).

Reads ordered child records; null and undefined mean no children. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:361](/source/packages/core/src/features/viz/lib/graph/types-ts/#L361)

</details>

<span id="api-TreeOptions-label"></span>
<details>
<summary>label (optional)</summary>


```ts
readonly label?: Accessor<D, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a node’s primary text. LabelGeometry

[View source — packages/core/src/features/viz/lib/graph/types.ts:363](/source/packages/core/src/features/viz/lib/graph/types-ts/#L363)

</details>

<span id="api-TreeOptions-collapsed"></span>
<details>
<summary>collapsed (optional)</summary>


```ts
readonly collapsed?: ((node: D) => boolean) | undefined
```

Whether this item hides its descendants. GraphLayout

##### Parameters

- **`node`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:367](/source/packages/core/src/features/viz/lib/graph/types-ts/#L367)

</details>

<span id="api-TidyTreeProps"></span>

### TidyTreeProps

Reactive hierarchy data and presentation for TidyTree. GraphLayout

```ts
interface TidyTreeProps<D> extends
    HierarchyAccessors<D>,
    GraphPresentation<D, TreeEdge<D>, TreeNodeGeometry<D>>
```

Related API: [TidyTreeProps](/reference/components/graph-visualization/), [HierarchyAccessors](/reference/components/graph-visualization/), [GraphPresentation](/reference/components/graph-visualization/), [TreeEdge](/reference/components/graph-visualization/), [TreeNodeGeometry](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:417](/source/packages/core/src/features/viz/lib/graph/types-ts/#L417)

#### Properties and methods

<span id="api-TidyTreeProps-root"></span>
<details>
<summary>root</summary>


```ts
readonly root: SignalValue<D>
```

Related API: [SignalValue](/reference/types/signal-inputs/#signalvalue).

Hierarchy root; publish a new root to update. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:422](/source/packages/core/src/features/viz/lib/graph/types-ts/#L422)

</details>

<span id="api-TidyTreeProps-detail"></span>
<details>
<summary>detail (optional)</summary>


```ts
readonly detail?: Accessor<D, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a node’s secondary text. LabelGeometry

[View source — packages/core/src/features/viz/lib/graph/types.ts:424](/source/packages/core/src/features/viz/lib/graph/types-ts/#L424)

</details>

<span id="api-TidyTreeProps-nodeSize"></span>
<details>
<summary>nodeSize (optional)</summary>


```ts
readonly nodeSize?: Size | ((node: D) => Size) | undefined
```

Related API: [Size](/reference/types/layout/#size).

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

##### Parameters

- **`node`** — Source record to measure.

##### Returns

Finite local logical size.

[View source — packages/core/src/features/viz/lib/graph/types.ts:428](/source/packages/core/src/features/viz/lib/graph/types-ts/#L428)

</details>

<span id="api-TidyTreeProps-renderNode"></span>
<details>
<summary>renderNode (optional)</summary>


```ts
readonly renderNode?: ((node: TreeNodeGeometry<D>) => PibblNode) | undefined
```

Related API: [TreeNodeGeometry](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

Replaces the default node mark with this composition. GraphLayout

##### Parameters

- **`node`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:436](/source/packages/core/src/features/viz/lib/graph/types-ts/#L436)

</details>

<span id="api-TidyTreeProps-onNodeClick"></span>
<details>
<summary>onNodeClick (optional)</summary>


```ts
readonly onNodeClick?: ((node: TreeNodeGeometry<D>, event: ClickEvent) => void) | undefined
```

Related API: [TreeNodeGeometry](/reference/components/graph-visualization/).

Receives clicks on a node mark. GraphLayout

##### Parameters

- **`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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L440)

</details>

<span id="api-TidyTreeProps-style"></span>
<details>
<summary>style (optional)</summary>


```ts
readonly style?: Style<TreeStyle> | undefined
```

Related API: [Style](/reference/components/graph-visualization/), [TreeStyle](/reference/components/graph-visualization/).

Frame style and responsive size allocation. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:442](/source/packages/core/src/features/viz/lib/graph/types-ts/#L442)

</details>

<span id="api-TidyTreeProps-nodeStyle"></span>
<details>
<summary>nodeStyle (optional)</summary>


```ts
readonly nodeStyle?: MarkStyle<TreeNodeGeometry<D>, NodeStyle> | undefined
```

Related API: [MarkStyle](/reference/components/graph-visualization/), [TreeNodeGeometry](/reference/components/graph-visualization/), [NodeStyle](/reference/components/graph-visualization/).

Style or geometry-aware style for node marks. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:156](/source/packages/core/src/features/viz/lib/graph/types-ts/#L156)

</details>

<span id="api-TidyTreeProps-edgeStyle"></span>
<details>
<summary>edgeStyle (optional)</summary>


```ts
readonly edgeStyle?: MarkStyle<GraphEdgeGeometry<TreeEdge<D>>, EdgeStyle> | undefined
```

Related API: [MarkStyle](/reference/components/graph-visualization/), [GraphEdgeGeometry](/reference/components/graph-visualization/), [TreeEdge](/reference/components/graph-visualization/), [EdgeStyle](/reference/components/graph-visualization/).

Style or geometry-aware style for edge marks. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:158](/source/packages/core/src/features/viz/lib/graph/types-ts/#L158)

</details>

<span id="api-TidyTreeProps-labelStyle"></span>
<details>
<summary>labelStyle (optional)</summary>


```ts
readonly labelStyle?: MarkStyle<TreeNodeGeometry<D>, LabelStyle> | undefined
```

Related API: [MarkStyle](/reference/components/graph-visualization/), [TreeNodeGeometry](/reference/components/graph-visualization/), [LabelStyle](/reference/components/graph-visualization/).

Style for decorative labels. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:160](/source/packages/core/src/features/viz/lib/graph/types-ts/#L160)

</details>

<span id="api-TidyTreeProps-renderEdge"></span>
<details>
<summary>renderEdge (optional)</summary>


```ts
readonly renderEdge?: ((edge: GraphEdgeGeometry<TreeEdge<D>>) => PibblNode) | undefined
```

Related API: [GraphEdgeGeometry](/reference/components/graph-visualization/), [TreeEdge](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

Replaces the default edge mark with this composition. GraphLayout

##### Parameters

- **`edge`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:168](/source/packages/core/src/features/viz/lib/graph/types-ts/#L168)

</details>

<span id="api-TidyTreeProps-onEdgeClick"></span>
<details>
<summary>onEdgeClick (optional)</summary>


```ts
readonly onEdgeClick?: ((edge: GraphEdgeGeometry<TreeEdge<D>>, event: ClickEvent) => void) | undefined
```

Related API: [GraphEdgeGeometry](/reference/components/graph-visualization/), [TreeEdge](/reference/components/graph-visualization/).

Receives clicks on an edge mark. GraphLayout

##### Parameters

- **`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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L176)

</details>

<span id="api-TidyTreeProps-keyBy"></span>
<details>
<summary>keyBy</summary>


```ts
readonly keyBy: Accessor<D, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each hierarchy record’s stable key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:359](/source/packages/core/src/features/viz/lib/graph/types-ts/#L359)

</details>

<span id="api-TidyTreeProps-childrenBy"></span>
<details>
<summary>childrenBy</summary>


```ts
readonly childrenBy: Accessor<D, readonly D[] | null | undefined>
```

Related API: [Accessor](/reference/components/graph-visualization/).

Reads ordered child records; null and undefined mean no children. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:361](/source/packages/core/src/features/viz/lib/graph/types-ts/#L361)

</details>

<span id="api-TidyTreeProps-label"></span>
<details>
<summary>label (optional)</summary>


```ts
readonly label?: Accessor<D, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a node’s primary text. LabelGeometry

[View source — packages/core/src/features/viz/lib/graph/types.ts:363](/source/packages/core/src/features/viz/lib/graph/types-ts/#L363)

</details>

<span id="api-TidyTreeProps-collapsed"></span>
<details>
<summary>collapsed (optional)</summary>


```ts
readonly collapsed?: ((node: D) => boolean) | undefined
```

Whether this item hides its descendants. GraphLayout

##### Parameters

- **`node`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:367](/source/packages/core/src/features/viz/lib/graph/types-ts/#L367)

</details>

<span id="api-MatrixData"></span>

### MatrixData

Ordered row, column, and relation records for an adjacency matrix. GraphLayout

```ts
interface MatrixData<R, C, E>
```

Related API: [MatrixData](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:446](/source/packages/core/src/features/viz/lib/graph/types-ts/#L446)

#### Properties and methods

<span id="api-MatrixData-rows"></span>
<details>
<summary>rows</summary>


```ts
readonly rows: readonly R[]
```

Ordered source row records. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:448](/source/packages/core/src/features/viz/lib/graph/types-ts/#L448)

</details>

<span id="api-MatrixData-columns"></span>
<details>
<summary>columns</summary>


```ts
readonly columns: readonly C[]
```

Ordered source column records. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:450](/source/packages/core/src/features/viz/lib/graph/types-ts/#L450)

</details>

<span id="api-MatrixData-relations"></span>
<details>
<summary>relations</summary>


```ts
readonly relations: readonly E[]
```

Source relation records. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:452](/source/packages/core/src/features/viz/lib/graph/types-ts/#L452)

</details>

<span id="api-MatrixAccessors"></span>

### MatrixAccessors

Typed matrix keys, quantity reader, labels, and display unit. GraphLayout

```ts
interface MatrixAccessors<R, C, E>
```

Related API: [MatrixAccessors](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:455](/source/packages/core/src/features/viz/lib/graph/types-ts/#L455)

#### Properties and methods

<span id="api-MatrixAccessors-rowKey"></span>
<details>
<summary>rowKey</summary>


```ts
readonly rowKey: Accessor<R, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Stable row key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:457](/source/packages/core/src/features/viz/lib/graph/types-ts/#L457)

</details>

<span id="api-MatrixAccessors-columnKey"></span>
<details>
<summary>columnKey</summary>


```ts
readonly columnKey: Accessor<C, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Stable column key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:459](/source/packages/core/src/features/viz/lib/graph/types-ts/#L459)

</details>

<span id="api-MatrixAccessors-source"></span>
<details>
<summary>source</summary>


```ts
readonly source: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads an edge source key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:461](/source/packages/core/src/features/viz/lib/graph/types-ts/#L461)

</details>

<span id="api-MatrixAccessors-target"></span>
<details>
<summary>target</summary>


```ts
readonly target: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads an edge target key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:463](/source/packages/core/src/features/viz/lib/graph/types-ts/#L463)

</details>

<span id="api-MatrixAccessors-value"></span>
<details>
<summary>value</summary>


```ts
readonly value: Accessor<E, number>
```

Related API: [Accessor](/reference/components/graph-visualization/).

Reads the finite quantitative value. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:465](/source/packages/core/src/features/viz/lib/graph/types-ts/#L465)

</details>

<span id="api-MatrixAccessors-rowLabel"></span>
<details>
<summary>rowLabel (optional)</summary>


```ts
readonly rowLabel?: Accessor<R, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Reads a row label. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:467](/source/packages/core/src/features/viz/lib/graph/types-ts/#L467)

</details>

<span id="api-MatrixAccessors-columnLabel"></span>
<details>
<summary>columnLabel (optional)</summary>


```ts
readonly columnLabel?: Accessor<C, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Reads a column label. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:469](/source/packages/core/src/features/viz/lib/graph/types-ts/#L469)

</details>

<span id="api-MatrixAccessors-unit"></span>
<details>
<summary>unit</summary>


```ts
readonly unit: string
```

Display unit for quantitative values. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:471](/source/packages/core/src/features/viz/lib/graph/types-ts/#L471)

</details>

<span id="api-MatrixAccessors-formatValue"></span>
<details>
<summary>formatValue (optional)</summary>


```ts
readonly formatValue?: ((value: number) => string) | undefined
```

Formats a quantitative value for display. GraphLayout

##### Parameters

- **`value`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:475](/source/packages/core/src/features/viz/lib/graph/types-ts/#L475)

</details>

<span id="api-MatrixCellGeometry"></span>

### MatrixCellGeometry

Immutable aggregate geometry for one ordered row/column pair. GraphLayout

```ts
interface MatrixCellGeometry<R, C, E>
```

Related API: [MatrixCellGeometry](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:478](/source/packages/core/src/features/viz/lib/graph/types-ts/#L478)

#### Properties and methods

<span id="api-MatrixCellGeometry-row"></span>
<details>
<summary>row</summary>


```ts
readonly row: R
```

Original row record. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:480](/source/packages/core/src/features/viz/lib/graph/types-ts/#L480)

</details>

<span id="api-MatrixCellGeometry-column"></span>
<details>
<summary>column</summary>


```ts
readonly column: C
```

Original column record. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:482](/source/packages/core/src/features/viz/lib/graph/types-ts/#L482)

</details>

<span id="api-MatrixCellGeometry-rowKey"></span>
<details>
<summary>rowKey</summary>


```ts
readonly rowKey: VizKey
```

Related API: [VizKey](/reference/components/graph-visualization/).

Stable row key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:484](/source/packages/core/src/features/viz/lib/graph/types-ts/#L484)

</details>

<span id="api-MatrixCellGeometry-columnKey"></span>
<details>
<summary>columnKey</summary>


```ts
readonly columnKey: VizKey
```

Related API: [VizKey](/reference/components/graph-visualization/).

Stable column key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:486](/source/packages/core/src/features/viz/lib/graph/types-ts/#L486)

</details>

<span id="api-MatrixCellGeometry-records"></span>
<details>
<summary>records</summary>


```ts
readonly records: readonly E[]
```

Original records represented by this aggregate. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:488](/source/packages/core/src/features/viz/lib/graph/types-ts/#L488)

</details>

<span id="api-MatrixCellGeometry-value"></span>
<details>
<summary>value</summary>


```ts
readonly value: number | null
```

Reads the finite quantitative value. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:490](/source/packages/core/src/features/viz/lib/graph/types-ts/#L490)

</details>

<span id="api-MatrixCellGeometry-bounds"></span>
<details>
<summary>bounds</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L492)

</details>

<span id="api-MatrixCellGeometry-label"></span>
<details>
<summary>label</summary>


```ts
readonly label: LabelGeometry | null
```

Related API: [LabelGeometry](/reference/components/graph-visualization/).

Decorative label geometry. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:494](/source/packages/core/src/features/viz/lib/graph/types-ts/#L494)

</details>

<span id="api-MatrixLayout"></span>

### MatrixLayout

Immutable matrix cells and decorative axis labels. GraphLayout

```ts
interface MatrixLayout<R, C, E>
```

Related API: [MatrixLayout](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:497](/source/packages/core/src/features/viz/lib/graph/types-ts/#L497)

#### Properties and methods

<span id="api-MatrixLayout-bounds"></span>
<details>
<summary>bounds</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L499)

</details>

<span id="api-MatrixLayout-unit"></span>
<details>
<summary>unit</summary>


```ts
readonly unit: string
```

Display unit for quantitative values. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:501](/source/packages/core/src/features/viz/lib/graph/types-ts/#L501)

</details>

<span id="api-MatrixLayout-cells"></span>
<details>
<summary>cells</summary>


```ts
readonly cells: readonly MatrixCellGeometry<R, C, E>[]
```

Related API: [MatrixCellGeometry](/reference/components/graph-visualization/).

Immutable cells in source-stable layout order. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:503](/source/packages/core/src/features/viz/lib/graph/types-ts/#L503)

</details>

<span id="api-MatrixLayout-rowLabels"></span>
<details>
<summary>rowLabels</summary>


```ts
readonly rowLabels: readonly LabelGeometry[]
```

Related API: [LabelGeometry](/reference/components/graph-visualization/).

Decorative labels for matrix rows. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:505](/source/packages/core/src/features/viz/lib/graph/types-ts/#L505)

</details>

<span id="api-MatrixLayout-columnLabels"></span>
<details>
<summary>columnLabels</summary>


```ts
readonly columnLabels: readonly LabelGeometry[]
```

Related API: [LabelGeometry](/reference/components/graph-visualization/).

Decorative labels for matrix columns. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:507](/source/packages/core/src/features/viz/lib/graph/types-ts/#L507)

</details>

<span id="api-MatrixStyle"></span>

### MatrixStyle

Frame options for matrix gaps and label reservations. GraphLayout

```ts
interface MatrixStyle extends GStyle
```

Related API: [MatrixStyle](/reference/components/graph-visualization/), [GStyle](/reference/types/styles/#gstyle).

[View source — packages/core/src/features/viz/lib/graph/types.ts:510](/source/packages/core/src/features/viz/lib/graph/types-ts/#L510)

#### Properties and methods

<span id="api-MatrixStyle-cellGap"></span>
<details>
<summary>cellGap (optional)</summary>


```ts
readonly cellGap?: number | undefined
```

Gap between cells in local logical pixels. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:512](/source/packages/core/src/features/viz/lib/graph/types-ts/#L512)

</details>

<span id="api-MatrixStyle-rowLabelWidth"></span>
<details>
<summary>rowLabelWidth (optional)</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L514)

</details>

<span id="api-MatrixStyle-columnLabelHeight"></span>
<details>
<summary>columnLabelHeight (optional)</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L516)

</details>

<span id="api-MatrixStyle-position"></span>
<details>
<summary>position (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L194)

</details>

<span id="api-MatrixStyle-left"></span>
<details>
<summary>left (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L196)

</details>

<span id="api-MatrixStyle-right"></span>
<details>
<summary>right (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L198)

</details>

<span id="api-MatrixStyle-top"></span>
<details>
<summary>top (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L200)

</details>

<span id="api-MatrixStyle-bottom"></span>
<details>
<summary>bottom (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L202)

</details>

<span id="api-MatrixStyle-insetStart"></span>
<details>
<summary>insetStart (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L204)

</details>

<span id="api-MatrixStyle-insetEnd"></span>
<details>
<summary>insetEnd (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L206)

</details>

<span id="api-MatrixStyle-aspectRatio"></span>
<details>
<summary>aspectRatio (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L84)

</details>

<span id="api-MatrixStyle-boxSizing"></span>
<details>
<summary>boxSizing (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L89)

</details>

<span id="api-MatrixStyle-width"></span>
<details>
<summary>width (optional)</summary>


```ts
width?: SizingLength | undefined
```

Related API: [SizingLength](/reference/types/layout/#sizinglength).

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

[View source — packages/core/src/lib/style/types.ts:91](/source/packages/core/src/lib/style/types-ts/#L91)

</details>

<span id="api-MatrixStyle-height"></span>
<details>
<summary>height (optional)</summary>


```ts
height?: SizingLength | undefined
```

Related API: [SizingLength](/reference/types/layout/#sizinglength).

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

[View source — packages/core/src/lib/style/types.ts:93](/source/packages/core/src/lib/style/types-ts/#L93)

</details>

<span id="api-MatrixStyle-minWidth"></span>
<details>
<summary>minWidth (optional)</summary>


```ts
minWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L95)

</details>

<span id="api-MatrixStyle-maxWidth"></span>
<details>
<summary>maxWidth (optional)</summary>


```ts
maxWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L97)

</details>

<span id="api-MatrixStyle-minHeight"></span>
<details>
<summary>minHeight (optional)</summary>


```ts
minHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#sizingkeyword).

Minimum permitted height. See Length.

[View source — packages/core/src/lib/style/types.ts:99](/source/packages/core/src/lib/style/types-ts/#L99)

</details>

<span id="api-MatrixStyle-maxHeight"></span>
<details>
<summary>maxHeight (optional)</summary>


```ts
maxHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#sizingkeyword).

Maximum permitted height. See Length.

[View source — packages/core/src/lib/style/types.ts:101](/source/packages/core/src/lib/style/types-ts/#L101)

</details>

<span id="api-MatrixStyle-padding"></span>
<details>
<summary>padding (optional)</summary>


```ts
padding?: EdgeValues<number | `${number}%`> | undefined
```

Related API: [EdgeValues](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L103)

</details>

<span id="api-MatrixStyle-paddingStart"></span>
<details>
<summary>paddingStart (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L105)

</details>

<span id="api-MatrixStyle-paddingEnd"></span>
<details>
<summary>paddingEnd (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L107)

</details>

<span id="api-MatrixStyle-borderWidth"></span>
<details>
<summary>borderWidth (optional)</summary>


```ts
borderWidth?: EdgeValues<number> | undefined
```

Related API: [EdgeValues](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L109)

</details>

<span id="api-MatrixStyle-borderStartWidth"></span>
<details>
<summary>borderStartWidth (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L111)

</details>

<span id="api-MatrixStyle-borderEndWidth"></span>
<details>
<summary>borderEndWidth (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L113)

</details>

<span id="api-MatrixStyle-overflow"></span>
<details>
<summary>overflow (optional)</summary>


```ts
overflow?: "clip" | "visible" | undefined
```

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

[View source — packages/core/src/lib/style/types.ts:115](/source/packages/core/src/lib/style/types-ts/#L115)

</details>

<span id="api-MatrixStyle-margin"></span>
<details>
<summary>margin (optional)</summary>


```ts
margin?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L146)

</details>

<span id="api-MatrixStyle-marginTop"></span>
<details>
<summary>marginTop (optional)</summary>


```ts
marginTop?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical top margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:148](/source/packages/core/src/lib/style/types-ts/#L148)

</details>

<span id="api-MatrixStyle-marginRight"></span>
<details>
<summary>marginRight (optional)</summary>


```ts
marginRight?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical right margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:150](/source/packages/core/src/lib/style/types-ts/#L150)

</details>

<span id="api-MatrixStyle-marginBottom"></span>
<details>
<summary>marginBottom (optional)</summary>


```ts
marginBottom?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical bottom margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:152](/source/packages/core/src/lib/style/types-ts/#L152)

</details>

<span id="api-MatrixStyle-marginLeft"></span>
<details>
<summary>marginLeft (optional)</summary>


```ts
marginLeft?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical left margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:154](/source/packages/core/src/lib/style/types-ts/#L154)

</details>

<span id="api-MatrixStyle-marginStart"></span>
<details>
<summary>marginStart (optional)</summary>


```ts
marginStart?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L156)

</details>

<span id="api-MatrixStyle-marginEnd"></span>
<details>
<summary>marginEnd (optional)</summary>


```ts
marginEnd?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L158)

</details>

<span id="api-MatrixStyle-alignSelf"></span>
<details>
<summary>alignSelf (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L160)

</details>

<span id="api-MatrixStyle-justifySelf"></span>
<details>
<summary>justifySelf (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L162)

</details>

<span id="api-MatrixStyle-flexBasis"></span>
<details>
<summary>flexBasis (optional)</summary>


```ts
flexBasis?: SizingLength | undefined
```

Related API: [SizingLength](/reference/types/layout/#sizinglength).

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

[View source — packages/core/src/lib/style/types.ts:164](/source/packages/core/src/lib/style/types-ts/#L164)

</details>

<span id="api-MatrixStyle-flexGrow"></span>
<details>
<summary>flexGrow (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L166)

</details>

<span id="api-MatrixStyle-flexShrink"></span>
<details>
<summary>flexShrink (optional)</summary>


```ts
flexShrink?: number | undefined
```

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

[View source — packages/core/src/lib/style/types.ts:168](/source/packages/core/src/lib/style/types-ts/#L168)

</details>

<span id="api-MatrixStyle-gridColumnStart"></span>
<details>
<summary>gridColumnStart (optional)</summary>


```ts
gridColumnStart?: number | undefined
```

Explicit starting grid column. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:170](/source/packages/core/src/lib/style/types-ts/#L170)

</details>

<span id="api-MatrixStyle-gridColumnSpan"></span>
<details>
<summary>gridColumnSpan (optional)</summary>


```ts
gridColumnSpan?: number | undefined
```

Number of columns occupied by this child. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:172](/source/packages/core/src/lib/style/types-ts/#L172)

</details>

<span id="api-MatrixStyle-gridRowStart"></span>
<details>
<summary>gridRowStart (optional)</summary>


```ts
gridRowStart?: number | undefined
```

Explicit starting grid row. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:174](/source/packages/core/src/lib/style/types-ts/#L174)

</details>

<span id="api-MatrixStyle-gridRowSpan"></span>
<details>
<summary>gridRowSpan (optional)</summary>


```ts
gridRowSpan?: number | undefined
```

Number of rows occupied by this child. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:176](/source/packages/core/src/lib/style/types-ts/#L176)

</details>

<span id="api-MatrixStyle-scaleX"></span>
<details>
<summary>scaleX (optional)</summary>


```ts
scaleX?: number | undefined
```

Horizontal scale factor. See GStyle.

[View source — packages/core/src/lib/components/g.ts:46](/source/packages/core/src/lib/components/g-ts/#L46)

</details>

<span id="api-MatrixStyle-scaleY"></span>
<details>
<summary>scaleY (optional)</summary>


```ts
scaleY?: number | undefined
```

Vertical scale factor. See GStyle.

[View source — packages/core/src/lib/components/g.ts:48](/source/packages/core/src/lib/components/g-ts/#L48)

</details>

<span id="api-MatrixStyle-rotationDegrees"></span>
<details>
<summary>rotationDegrees (optional)</summary>


```ts
rotationDegrees?: number | undefined
```

Clockwise rotation in degrees.

[View source — packages/core/src/lib/components/g.ts:50](/source/packages/core/src/lib/components/g-ts/#L50)

</details>

<span id="api-MatrixStyle-rotationOrigin"></span>
<details>
<summary>rotationOrigin (optional)</summary>


```ts
rotationOrigin?: [number, number] | undefined
```

Point around which the rotation is applied. See GStyle.

[View source — packages/core/src/lib/components/g.ts:52](/source/packages/core/src/lib/components/g-ts/#L52)

</details>

<span id="api-MatrixStyle-translateX"></span>
<details>
<summary>translateX (optional)</summary>


```ts
translateX?: number | undefined
```

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

[View source — packages/core/src/lib/components/g.ts:54](/source/packages/core/src/lib/components/g-ts/#L54)

</details>

<span id="api-MatrixStyle-translateY"></span>
<details>
<summary>translateY (optional)</summary>


```ts
translateY?: number | undefined
```

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

[View source — packages/core/src/lib/components/g.ts:56](/source/packages/core/src/lib/components/g-ts/#L56)

</details>

<span id="api-MatrixStyle-skewX"></span>
<details>
<summary>skewX (optional)</summary>


```ts
skewX?: number | undefined
```

Horizontal skew angle in degrees.

[View source — packages/core/src/lib/components/g.ts:58](/source/packages/core/src/lib/components/g-ts/#L58)

</details>

<span id="api-MatrixStyle-skewY"></span>
<details>
<summary>skewY (optional)</summary>


```ts
skewY?: number | undefined
```

Vertical skew angle in degrees.

[View source — packages/core/src/lib/components/g.ts:60](/source/packages/core/src/lib/components/g-ts/#L60)

</details>

<span id="api-MatrixStyle-layoutParticipation"></span>
<details>
<summary>layoutParticipation (optional)</summary>


```ts
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](/source/packages/core/src/lib/types-ts/#L69)

</details>

<span id="api-MatrixStyle-transition"></span>
<details>
<summary>transition (optional)</summary>


```ts
transition?: PibblTransitionBinding | undefined
```

Related API: [PibblTransitionBinding](/reference/hooks/use-visibility-transition/).

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

[View source — packages/core/src/lib/types.ts:71](/source/packages/core/src/lib/types-ts/#L71)

</details>

<span id="api-MatrixStyle-custom"></span>
<details>
<summary>custom (optional)</summary>


```ts
custom?: unknown
```

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

[View source — packages/core/src/lib/types.ts:73](/source/packages/core/src/lib/types-ts/#L73)

</details>

<span id="api-MatrixStyle-filter"></span>
<details>
<summary>filter (optional)</summary>


```ts
filter?: PibblFilter | readonly PibblFilter[] | undefined
```

Related API: [PibblFilter](/reference/types/filters/#pibblfilter).

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

[View source — packages/core/src/lib/types.ts:78](/source/packages/core/src/lib/types-ts/#L78)

</details>

<span id="api-MatrixOptions"></span>

### MatrixOptions

Pure adjacency-matrix inputs and finite output bounds. GraphLayout

```ts
interface MatrixOptions<R, C, E> extends MatrixAccessors<R, C, E>
```

Related API: [MatrixOptions](/reference/components/graph-visualization/), [MatrixAccessors](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:519](/source/packages/core/src/features/viz/lib/graph/types-ts/#L519)

#### Properties and methods

<span id="api-MatrixOptions-bounds"></span>
<details>
<summary>bounds</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L521)

</details>

<span id="api-MatrixOptions-cellGap"></span>
<details>
<summary>cellGap (optional)</summary>


```ts
readonly cellGap?: number | undefined
```

Gap between cells in local logical pixels. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:523](/source/packages/core/src/features/viz/lib/graph/types-ts/#L523)

</details>

<span id="api-MatrixOptions-rowLabelWidth"></span>
<details>
<summary>rowLabelWidth (optional)</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L525)

</details>

<span id="api-MatrixOptions-columnLabelHeight"></span>
<details>
<summary>columnLabelHeight (optional)</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L527)

</details>

<span id="api-MatrixOptions-rowKey"></span>
<details>
<summary>rowKey</summary>


```ts
readonly rowKey: Accessor<R, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Stable row key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:457](/source/packages/core/src/features/viz/lib/graph/types-ts/#L457)

</details>

<span id="api-MatrixOptions-columnKey"></span>
<details>
<summary>columnKey</summary>


```ts
readonly columnKey: Accessor<C, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Stable column key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:459](/source/packages/core/src/features/viz/lib/graph/types-ts/#L459)

</details>

<span id="api-MatrixOptions-source"></span>
<details>
<summary>source</summary>


```ts
readonly source: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads an edge source key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:461](/source/packages/core/src/features/viz/lib/graph/types-ts/#L461)

</details>

<span id="api-MatrixOptions-target"></span>
<details>
<summary>target</summary>


```ts
readonly target: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads an edge target key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:463](/source/packages/core/src/features/viz/lib/graph/types-ts/#L463)

</details>

<span id="api-MatrixOptions-value"></span>
<details>
<summary>value</summary>


```ts
readonly value: Accessor<E, number>
```

Related API: [Accessor](/reference/components/graph-visualization/).

Reads the finite quantitative value. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:465](/source/packages/core/src/features/viz/lib/graph/types-ts/#L465)

</details>

<span id="api-MatrixOptions-rowLabel"></span>
<details>
<summary>rowLabel (optional)</summary>


```ts
readonly rowLabel?: Accessor<R, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Reads a row label. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:467](/source/packages/core/src/features/viz/lib/graph/types-ts/#L467)

</details>

<span id="api-MatrixOptions-columnLabel"></span>
<details>
<summary>columnLabel (optional)</summary>


```ts
readonly columnLabel?: Accessor<C, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Reads a column label. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:469](/source/packages/core/src/features/viz/lib/graph/types-ts/#L469)

</details>

<span id="api-MatrixOptions-unit"></span>
<details>
<summary>unit</summary>


```ts
readonly unit: string
```

Display unit for quantitative values. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:471](/source/packages/core/src/features/viz/lib/graph/types-ts/#L471)

</details>

<span id="api-MatrixOptions-formatValue"></span>
<details>
<summary>formatValue (optional)</summary>


```ts
readonly formatValue?: ((value: number) => string) | undefined
```

Formats a quantitative value for display. GraphLayout

##### Parameters

- **`value`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:475](/source/packages/core/src/features/viz/lib/graph/types-ts/#L475)

</details>

<span id="api-AdjacencyMatrixProps"></span>

### AdjacencyMatrixProps

Reactive matrix data and cell presentation. GraphLayout

```ts
interface AdjacencyMatrixProps<R, C, E> extends MatrixAccessors<
  R,
  C,
  E
>
```

Related API: [AdjacencyMatrixProps](/reference/components/graph-visualization/), [MatrixAccessors](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:530](/source/packages/core/src/features/viz/lib/graph/types-ts/#L530)

#### Properties and methods

<span id="api-AdjacencyMatrixProps-data"></span>
<details>
<summary>data</summary>


```ts
readonly data: SignalValue<MatrixData<R, C, E>>
```

Related API: [SignalValue](/reference/types/signal-inputs/#signalvalue), [MatrixData](/reference/components/graph-visualization/).

Input records; publish a new snapshot to update. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:536](/source/packages/core/src/features/viz/lib/graph/types-ts/#L536)

</details>

<span id="api-AdjacencyMatrixProps-style"></span>
<details>
<summary>style (optional)</summary>


```ts
readonly style?: Style<MatrixStyle> | undefined
```

Related API: [Style](/reference/components/graph-visualization/), [MatrixStyle](/reference/components/graph-visualization/).

Frame style and responsive size allocation. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:538](/source/packages/core/src/features/viz/lib/graph/types-ts/#L538)

</details>

<span id="api-AdjacencyMatrixProps-cellStyle"></span>
<details>
<summary>cellStyle (optional)</summary>


```ts
readonly cellStyle?: MarkStyle<MatrixCellGeometry<R, C, E>, NodeStyle> | undefined
```

Related API: [MarkStyle](/reference/components/graph-visualization/), [MatrixCellGeometry](/reference/components/graph-visualization/), [NodeStyle](/reference/components/graph-visualization/).

Style or geometry-aware style for cell marks. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:540](/source/packages/core/src/features/viz/lib/graph/types-ts/#L540)

</details>

<span id="api-AdjacencyMatrixProps-labelStyle"></span>
<details>
<summary>labelStyle (optional)</summary>


```ts
readonly labelStyle?: Style<LabelStyle> | undefined
```

Related API: [Style](/reference/components/graph-visualization/), [LabelStyle](/reference/components/graph-visualization/).

Style for decorative labels. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:542](/source/packages/core/src/features/viz/lib/graph/types-ts/#L542)

</details>

<span id="api-AdjacencyMatrixProps-renderCell"></span>
<details>
<summary>renderCell (optional)</summary>


```ts
readonly renderCell?: ((cell: MatrixCellGeometry<R, C, E>) => PibblNode) | undefined
```

Related API: [MatrixCellGeometry](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

Replaces the default cell mark with this composition. GraphLayout

##### Parameters

- **`cell`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:546](/source/packages/core/src/features/viz/lib/graph/types-ts/#L546)

</details>

<span id="api-AdjacencyMatrixProps-onCellClick"></span>
<details>
<summary>onCellClick (optional)</summary>


```ts
readonly onCellClick?: ((cell: MatrixCellGeometry<R, C, E>, event: ClickEvent) => void) | undefined
```

Related API: [MatrixCellGeometry](/reference/components/graph-visualization/).

Receives clicks on a cell mark. GraphLayout

##### Parameters

- **`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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L550)

</details>

<span id="api-AdjacencyMatrixProps-rowKey"></span>
<details>
<summary>rowKey</summary>


```ts
readonly rowKey: Accessor<R, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Stable row key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:457](/source/packages/core/src/features/viz/lib/graph/types-ts/#L457)

</details>

<span id="api-AdjacencyMatrixProps-columnKey"></span>
<details>
<summary>columnKey</summary>


```ts
readonly columnKey: Accessor<C, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Stable column key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:459](/source/packages/core/src/features/viz/lib/graph/types-ts/#L459)

</details>

<span id="api-AdjacencyMatrixProps-source"></span>
<details>
<summary>source</summary>


```ts
readonly source: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads an edge source key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:461](/source/packages/core/src/features/viz/lib/graph/types-ts/#L461)

</details>

<span id="api-AdjacencyMatrixProps-target"></span>
<details>
<summary>target</summary>


```ts
readonly target: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads an edge target key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:463](/source/packages/core/src/features/viz/lib/graph/types-ts/#L463)

</details>

<span id="api-AdjacencyMatrixProps-value"></span>
<details>
<summary>value</summary>


```ts
readonly value: Accessor<E, number>
```

Related API: [Accessor](/reference/components/graph-visualization/).

Reads the finite quantitative value. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:465](/source/packages/core/src/features/viz/lib/graph/types-ts/#L465)

</details>

<span id="api-AdjacencyMatrixProps-rowLabel"></span>
<details>
<summary>rowLabel (optional)</summary>


```ts
readonly rowLabel?: Accessor<R, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Reads a row label. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:467](/source/packages/core/src/features/viz/lib/graph/types-ts/#L467)

</details>

<span id="api-AdjacencyMatrixProps-columnLabel"></span>
<details>
<summary>columnLabel (optional)</summary>


```ts
readonly columnLabel?: Accessor<C, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Reads a column label. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:469](/source/packages/core/src/features/viz/lib/graph/types-ts/#L469)

</details>

<span id="api-AdjacencyMatrixProps-unit"></span>
<details>
<summary>unit</summary>


```ts
readonly unit: string
```

Display unit for quantitative values. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:471](/source/packages/core/src/features/viz/lib/graph/types-ts/#L471)

</details>

<span id="api-AdjacencyMatrixProps-formatValue"></span>
<details>
<summary>formatValue (optional)</summary>


```ts
readonly formatValue?: ((value: number) => string) | undefined
```

Formats a quantitative value for display. GraphLayout

##### Parameters

- **`value`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:475](/source/packages/core/src/features/viz/lib/graph/types-ts/#L475)

</details>

<span id="api-MatrixCellProps"></span>

### MatrixCellProps

Geometry, paint, events, and content for one matrix cell. GraphLayout

```ts
interface MatrixCellProps<R, C, E> extends MarkInteraction
```

Related API: [MatrixCellProps](/reference/components/graph-visualization/), [MarkInteraction](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:556](/source/packages/core/src/features/viz/lib/graph/types-ts/#L556)

#### Properties and methods

<span id="api-MatrixCellProps-cell"></span>
<details>
<summary>cell</summary>


```ts
readonly cell: MatrixCellGeometry<R, C, E>
```

Related API: [MatrixCellGeometry](/reference/components/graph-visualization/).

Immutable cell geometry and its original records. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:558](/source/packages/core/src/features/viz/lib/graph/types-ts/#L558)

</details>

<span id="api-MatrixCellProps-style"></span>
<details>
<summary>style (optional)</summary>


```ts
readonly style?: Style<NodeStyle> | undefined
```

Related API: [Style](/reference/components/graph-visualization/), [NodeStyle](/reference/components/graph-visualization/).

Frame style and responsive size allocation. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:560](/source/packages/core/src/features/viz/lib/graph/types-ts/#L560)

</details>

<span id="api-MatrixCellProps-children"></span>
<details>
<summary>children (optional)</summary>


```ts
readonly children?: PibblNode
```

Related API: [PibblNode](/reference/types/elements-components/#pibblnode).

Optional content painted with this mark. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:562](/source/packages/core/src/features/viz/lib/graph/types-ts/#L562)

</details>

<span id="api-MatrixCellProps-pointerEvents"></span>
<details>
<summary>pointerEvents (optional)</summary>


```ts
readonly pointerEvents?: PibblPointerEvents | undefined
```

Related API: [PibblPointerEvents](/reference/types/events/#pibblpointerevents).

Whether this content participates in pointer targeting. See PibblPointerEvents.

[View source — packages/core/src/lib/events/types.ts:126](/source/packages/core/src/lib/events/types-ts/#L126)

</details>

<span id="api-MatrixCellProps-keyboardFocusable"></span>
<details>
<summary>keyboardFocusable (optional)</summary>


```ts
readonly keyboardFocusable?: boolean | undefined
```

Whether the mark enters logical keyboard focus. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:185](/source/packages/core/src/features/viz/lib/graph/types-ts/#L185)

</details>

<span id="api-MatrixCellProps-keyboardNavigationBounds"></span>
<details>
<summary>keyboardNavigationBounds (optional)</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L187)

</details>

<span id="api-SankeyNodeGeometry"></span>

### SankeyNodeGeometry

Node geometry annotated with incoming, outgoing, and net quantities. GraphLayout

```ts
interface SankeyNodeGeometry<N> extends GraphNodeGeometry<N>
```

Related API: [SankeyNodeGeometry](/reference/components/graph-visualization/), [GraphNodeGeometry](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:566](/source/packages/core/src/features/viz/lib/graph/types-ts/#L566)

#### Properties and methods

<span id="api-SankeyNodeGeometry-incomingValue"></span>
<details>
<summary>incomingValue</summary>


```ts
readonly incomingValue: number
```

Total value arriving at this node. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:568](/source/packages/core/src/features/viz/lib/graph/types-ts/#L568)

</details>

<span id="api-SankeyNodeGeometry-outgoingValue"></span>
<details>
<summary>outgoingValue</summary>


```ts
readonly outgoingValue: number
```

Total value leaving this node. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:570](/source/packages/core/src/features/viz/lib/graph/types-ts/#L570)

</details>

<span id="api-SankeyNodeGeometry-netValue"></span>
<details>
<summary>netValue</summary>


```ts
readonly netValue: number
```

Outgoing value minus incoming value. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:572](/source/packages/core/src/features/viz/lib/graph/types-ts/#L572)

</details>

<span id="api-SankeyNodeGeometry-key"></span>
<details>
<summary>key</summary>


```ts
readonly key: VizKey
```

Related API: [VizKey](/reference/components/graph-visualization/).

Stable application-provided key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:101](/source/packages/core/src/features/viz/lib/graph/types-ts/#L101)

</details>

<span id="api-SankeyNodeGeometry-datum"></span>
<details>
<summary>datum</summary>


```ts
readonly datum: N
```

Original application record. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:103](/source/packages/core/src/features/viz/lib/graph/types-ts/#L103)

</details>

<span id="api-SankeyNodeGeometry-bounds"></span>
<details>
<summary>bounds</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L105)

</details>

<span id="api-SankeyNodeGeometry-label"></span>
<details>
<summary>label</summary>


```ts
readonly label: LabelGeometry
```

Related API: [LabelGeometry](/reference/components/graph-visualization/).

Decorative label geometry. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:107](/source/packages/core/src/features/viz/lib/graph/types-ts/#L107)

</details>

<span id="api-SankeyNodeGeometry-detail"></span>
<details>
<summary>detail</summary>


```ts
readonly detail: LabelGeometry | null
```

Related API: [LabelGeometry](/reference/components/graph-visualization/).

Optional secondary label geometry. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:109](/source/packages/core/src/features/viz/lib/graph/types-ts/#L109)

</details>

<span id="api-SankeyFlowGeometry"></span>

### SankeyFlowGeometry

Flow geometry annotated with its source quantity and pixel thickness. GraphLayout

```ts
interface SankeyFlowGeometry<E> extends GraphEdgeGeometry<E>
```

Related API: [SankeyFlowGeometry](/reference/components/graph-visualization/), [GraphEdgeGeometry](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:575](/source/packages/core/src/features/viz/lib/graph/types-ts/#L575)

#### Properties and methods

<span id="api-SankeyFlowGeometry-value"></span>
<details>
<summary>value</summary>


```ts
readonly value: number
```

Reads the finite quantitative value. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:577](/source/packages/core/src/features/viz/lib/graph/types-ts/#L577)

</details>

<span id="api-SankeyFlowGeometry-unit"></span>
<details>
<summary>unit</summary>


```ts
readonly unit: string
```

Display unit for quantitative values. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:579](/source/packages/core/src/features/viz/lib/graph/types-ts/#L579)

</details>

<span id="api-SankeyFlowGeometry-sourceSpan"></span>
<details>
<summary>sourceSpan</summary>


```ts
readonly sourceSpan: Readonly<{ top: Point; bottom: Point; }>
```

Related API: [Point](/reference/components/graph-visualization/).

Source-side flow attachment span. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:581](/source/packages/core/src/features/viz/lib/graph/types-ts/#L581)

</details>

<span id="api-SankeyFlowGeometry-targetSpan"></span>
<details>
<summary>targetSpan</summary>


```ts
readonly targetSpan: Readonly<{ top: Point; bottom: Point; }>
```

Related API: [Point](/reference/components/graph-visualization/).

Target-side flow attachment span. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:588](/source/packages/core/src/features/viz/lib/graph/types-ts/#L588)

</details>

<span id="api-SankeyFlowGeometry-thickness"></span>
<details>
<summary>thickness</summary>


```ts
readonly thickness: number
```

Flow width in local logical pixels. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:595](/source/packages/core/src/features/viz/lib/graph/types-ts/#L595)

</details>

<span id="api-SankeyFlowGeometry-key"></span>
<details>
<summary>key</summary>


```ts
readonly key: VizKey
```

Related API: [VizKey](/reference/components/graph-visualization/).

Stable application-provided key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:126](/source/packages/core/src/features/viz/lib/graph/types-ts/#L126)

</details>

<span id="api-SankeyFlowGeometry-datum"></span>
<details>
<summary>datum</summary>


```ts
readonly datum: E
```

Original application record. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:128](/source/packages/core/src/features/viz/lib/graph/types-ts/#L128)

</details>

<span id="api-SankeyFlowGeometry-sourceKey"></span>
<details>
<summary>sourceKey</summary>


```ts
readonly sourceKey: VizKey
```

Related API: [VizKey](/reference/components/graph-visualization/).

Stable key of the edge source node. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:130](/source/packages/core/src/features/viz/lib/graph/types-ts/#L130)

</details>

<span id="api-SankeyFlowGeometry-targetKey"></span>
<details>
<summary>targetKey</summary>


```ts
readonly targetKey: VizKey
```

Related API: [VizKey](/reference/components/graph-visualization/).

Stable key of the edge target node. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:132](/source/packages/core/src/features/viz/lib/graph/types-ts/#L132)

</details>

<span id="api-SankeyFlowGeometry-route"></span>
<details>
<summary>route</summary>


```ts
readonly route: GraphRoute
```

Related API: [GraphRoute](/reference/components/graph-visualization/).

Structured route used to produce the serialized path. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:134](/source/packages/core/src/features/viz/lib/graph/types-ts/#L134)

</details>

<span id="api-SankeyFlowGeometry-path"></span>
<details>
<summary>path</summary>


```ts
readonly path: string
```

SVG path serialization of the route. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:136](/source/packages/core/src/features/viz/lib/graph/types-ts/#L136)

</details>

<span id="api-SankeyFlowGeometry-arrowPath"></span>
<details>
<summary>arrowPath</summary>


```ts
readonly arrowPath: string | null
```

Optional SVG path for the route arrow. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:138](/source/packages/core/src/features/viz/lib/graph/types-ts/#L138)

</details>

<span id="api-SankeyLayout"></span>

### SankeyLayout

Immutable Sankey nodes and flows with their display unit. GraphLayout

```ts
interface SankeyLayout<N, E>
```

Related API: [SankeyLayout](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:598](/source/packages/core/src/features/viz/lib/graph/types-ts/#L598)

#### Properties and methods

<span id="api-SankeyLayout-bounds"></span>
<details>
<summary>bounds</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L600)

</details>

<span id="api-SankeyLayout-unit"></span>
<details>
<summary>unit</summary>


```ts
readonly unit: string
```

Display unit for quantitative values. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:602](/source/packages/core/src/features/viz/lib/graph/types-ts/#L602)

</details>

<span id="api-SankeyLayout-nodes"></span>
<details>
<summary>nodes</summary>


```ts
readonly nodes: readonly SankeyNodeGeometry<N>[]
```

Related API: [SankeyNodeGeometry](/reference/components/graph-visualization/).

Source nodes in application order. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:604](/source/packages/core/src/features/viz/lib/graph/types-ts/#L604)

</details>

<span id="api-SankeyLayout-flows"></span>
<details>
<summary>flows</summary>


```ts
readonly flows: readonly SankeyFlowGeometry<E>[]
```

Related API: [SankeyFlowGeometry](/reference/components/graph-visualization/).

Immutable Sankey flow geometry. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:606](/source/packages/core/src/features/viz/lib/graph/types-ts/#L606)

</details>

<span id="api-SankeyAccessors"></span>

### SankeyAccessors

Typed Sankey keys, flow quantity reader, and display unit. GraphLayout

```ts
interface SankeyAccessors<N, E> extends GraphAccessors<N, E>
```

Related API: [SankeyAccessors](/reference/components/graph-visualization/), [GraphAccessors](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:609](/source/packages/core/src/features/viz/lib/graph/types-ts/#L609)

#### Properties and methods

<span id="api-SankeyAccessors-value"></span>
<details>
<summary>value</summary>


```ts
readonly value: Accessor<E, number>
```

Related API: [Accessor](/reference/components/graph-visualization/).

Reads the finite quantitative value. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:611](/source/packages/core/src/features/viz/lib/graph/types-ts/#L611)

</details>

<span id="api-SankeyAccessors-unit"></span>
<details>
<summary>unit</summary>


```ts
readonly unit: string
```

Display unit for quantitative values. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:613](/source/packages/core/src/features/viz/lib/graph/types-ts/#L613)

</details>

<span id="api-SankeyAccessors-formatValue"></span>
<details>
<summary>formatValue (optional)</summary>


```ts
readonly formatValue?: ((value: number) => string) | undefined
```

Formats a quantitative value for display. GraphLayout

##### Parameters

- **`value`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:617](/source/packages/core/src/features/viz/lib/graph/types-ts/#L617)

</details>

<span id="api-SankeyAccessors-nodeKey"></span>
<details>
<summary>nodeKey</summary>


```ts
readonly nodeKey: Accessor<N, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each node’s stable key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:86](/source/packages/core/src/features/viz/lib/graph/types-ts/#L86)

</details>

<span id="api-SankeyAccessors-edgeKey"></span>
<details>
<summary>edgeKey</summary>


```ts
readonly edgeKey: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each edge’s stable key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:88](/source/packages/core/src/features/viz/lib/graph/types-ts/#L88)

</details>

<span id="api-SankeyAccessors-source"></span>
<details>
<summary>source</summary>


```ts
readonly source: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads an edge source key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:90](/source/packages/core/src/features/viz/lib/graph/types-ts/#L90)

</details>

<span id="api-SankeyAccessors-target"></span>
<details>
<summary>target</summary>


```ts
readonly target: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads an edge target key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:92](/source/packages/core/src/features/viz/lib/graph/types-ts/#L92)

</details>

<span id="api-SankeyAccessors-label"></span>
<details>
<summary>label (optional)</summary>


```ts
readonly label?: Accessor<N, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a node’s primary text. LabelGeometry

[View source — packages/core/src/features/viz/lib/graph/types.ts:94](/source/packages/core/src/features/viz/lib/graph/types-ts/#L94)

</details>

<span id="api-SankeyAccessors-detail"></span>
<details>
<summary>detail (optional)</summary>


```ts
readonly detail?: Accessor<N, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a node’s secondary text. LabelGeometry

[View source — packages/core/src/features/viz/lib/graph/types.ts:96](/source/packages/core/src/features/viz/lib/graph/types-ts/#L96)

</details>

<span id="api-SankeyStyle"></span>

### SankeyStyle

Frame options for Sankey node width and separation. GraphLayout

```ts
interface SankeyStyle extends GStyle
```

Related API: [SankeyStyle](/reference/components/graph-visualization/), [GStyle](/reference/types/styles/#gstyle).

[View source — packages/core/src/features/viz/lib/graph/types.ts:620](/source/packages/core/src/features/viz/lib/graph/types-ts/#L620)

#### Properties and methods

<span id="api-SankeyStyle-nodeWidth"></span>
<details>
<summary>nodeWidth (optional)</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L622)

</details>

<span id="api-SankeyStyle-nodeGap"></span>
<details>
<summary>nodeGap (optional)</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L624)

</details>

<span id="api-SankeyStyle-position"></span>
<details>
<summary>position (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L194)

</details>

<span id="api-SankeyStyle-left"></span>
<details>
<summary>left (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L196)

</details>

<span id="api-SankeyStyle-right"></span>
<details>
<summary>right (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L198)

</details>

<span id="api-SankeyStyle-top"></span>
<details>
<summary>top (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L200)

</details>

<span id="api-SankeyStyle-bottom"></span>
<details>
<summary>bottom (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L202)

</details>

<span id="api-SankeyStyle-insetStart"></span>
<details>
<summary>insetStart (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L204)

</details>

<span id="api-SankeyStyle-insetEnd"></span>
<details>
<summary>insetEnd (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L206)

</details>

<span id="api-SankeyStyle-aspectRatio"></span>
<details>
<summary>aspectRatio (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L84)

</details>

<span id="api-SankeyStyle-boxSizing"></span>
<details>
<summary>boxSizing (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L89)

</details>

<span id="api-SankeyStyle-width"></span>
<details>
<summary>width (optional)</summary>


```ts
width?: SizingLength | undefined
```

Related API: [SizingLength](/reference/types/layout/#sizinglength).

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

[View source — packages/core/src/lib/style/types.ts:91](/source/packages/core/src/lib/style/types-ts/#L91)

</details>

<span id="api-SankeyStyle-height"></span>
<details>
<summary>height (optional)</summary>


```ts
height?: SizingLength | undefined
```

Related API: [SizingLength](/reference/types/layout/#sizinglength).

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

[View source — packages/core/src/lib/style/types.ts:93](/source/packages/core/src/lib/style/types-ts/#L93)

</details>

<span id="api-SankeyStyle-minWidth"></span>
<details>
<summary>minWidth (optional)</summary>


```ts
minWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L95)

</details>

<span id="api-SankeyStyle-maxWidth"></span>
<details>
<summary>maxWidth (optional)</summary>


```ts
maxWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L97)

</details>

<span id="api-SankeyStyle-minHeight"></span>
<details>
<summary>minHeight (optional)</summary>


```ts
minHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#sizingkeyword).

Minimum permitted height. See Length.

[View source — packages/core/src/lib/style/types.ts:99](/source/packages/core/src/lib/style/types-ts/#L99)

</details>

<span id="api-SankeyStyle-maxHeight"></span>
<details>
<summary>maxHeight (optional)</summary>


```ts
maxHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#sizingkeyword).

Maximum permitted height. See Length.

[View source — packages/core/src/lib/style/types.ts:101](/source/packages/core/src/lib/style/types-ts/#L101)

</details>

<span id="api-SankeyStyle-padding"></span>
<details>
<summary>padding (optional)</summary>


```ts
padding?: EdgeValues<number | `${number}%`> | undefined
```

Related API: [EdgeValues](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L103)

</details>

<span id="api-SankeyStyle-paddingStart"></span>
<details>
<summary>paddingStart (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L105)

</details>

<span id="api-SankeyStyle-paddingEnd"></span>
<details>
<summary>paddingEnd (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L107)

</details>

<span id="api-SankeyStyle-borderWidth"></span>
<details>
<summary>borderWidth (optional)</summary>


```ts
borderWidth?: EdgeValues<number> | undefined
```

Related API: [EdgeValues](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L109)

</details>

<span id="api-SankeyStyle-borderStartWidth"></span>
<details>
<summary>borderStartWidth (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L111)

</details>

<span id="api-SankeyStyle-borderEndWidth"></span>
<details>
<summary>borderEndWidth (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L113)

</details>

<span id="api-SankeyStyle-overflow"></span>
<details>
<summary>overflow (optional)</summary>


```ts
overflow?: "clip" | "visible" | undefined
```

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

[View source — packages/core/src/lib/style/types.ts:115](/source/packages/core/src/lib/style/types-ts/#L115)

</details>

<span id="api-SankeyStyle-margin"></span>
<details>
<summary>margin (optional)</summary>


```ts
margin?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L146)

</details>

<span id="api-SankeyStyle-marginTop"></span>
<details>
<summary>marginTop (optional)</summary>


```ts
marginTop?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical top margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:148](/source/packages/core/src/lib/style/types-ts/#L148)

</details>

<span id="api-SankeyStyle-marginRight"></span>
<details>
<summary>marginRight (optional)</summary>


```ts
marginRight?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical right margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:150](/source/packages/core/src/lib/style/types-ts/#L150)

</details>

<span id="api-SankeyStyle-marginBottom"></span>
<details>
<summary>marginBottom (optional)</summary>


```ts
marginBottom?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical bottom margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:152](/source/packages/core/src/lib/style/types-ts/#L152)

</details>

<span id="api-SankeyStyle-marginLeft"></span>
<details>
<summary>marginLeft (optional)</summary>


```ts
marginLeft?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical left margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:154](/source/packages/core/src/lib/style/types-ts/#L154)

</details>

<span id="api-SankeyStyle-marginStart"></span>
<details>
<summary>marginStart (optional)</summary>


```ts
marginStart?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L156)

</details>

<span id="api-SankeyStyle-marginEnd"></span>
<details>
<summary>marginEnd (optional)</summary>


```ts
marginEnd?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L158)

</details>

<span id="api-SankeyStyle-alignSelf"></span>
<details>
<summary>alignSelf (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L160)

</details>

<span id="api-SankeyStyle-justifySelf"></span>
<details>
<summary>justifySelf (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L162)

</details>

<span id="api-SankeyStyle-flexBasis"></span>
<details>
<summary>flexBasis (optional)</summary>


```ts
flexBasis?: SizingLength | undefined
```

Related API: [SizingLength](/reference/types/layout/#sizinglength).

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

[View source — packages/core/src/lib/style/types.ts:164](/source/packages/core/src/lib/style/types-ts/#L164)

</details>

<span id="api-SankeyStyle-flexGrow"></span>
<details>
<summary>flexGrow (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L166)

</details>

<span id="api-SankeyStyle-flexShrink"></span>
<details>
<summary>flexShrink (optional)</summary>


```ts
flexShrink?: number | undefined
```

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

[View source — packages/core/src/lib/style/types.ts:168](/source/packages/core/src/lib/style/types-ts/#L168)

</details>

<span id="api-SankeyStyle-gridColumnStart"></span>
<details>
<summary>gridColumnStart (optional)</summary>


```ts
gridColumnStart?: number | undefined
```

Explicit starting grid column. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:170](/source/packages/core/src/lib/style/types-ts/#L170)

</details>

<span id="api-SankeyStyle-gridColumnSpan"></span>
<details>
<summary>gridColumnSpan (optional)</summary>


```ts
gridColumnSpan?: number | undefined
```

Number of columns occupied by this child. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:172](/source/packages/core/src/lib/style/types-ts/#L172)

</details>

<span id="api-SankeyStyle-gridRowStart"></span>
<details>
<summary>gridRowStart (optional)</summary>


```ts
gridRowStart?: number | undefined
```

Explicit starting grid row. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:174](/source/packages/core/src/lib/style/types-ts/#L174)

</details>

<span id="api-SankeyStyle-gridRowSpan"></span>
<details>
<summary>gridRowSpan (optional)</summary>


```ts
gridRowSpan?: number | undefined
```

Number of rows occupied by this child. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:176](/source/packages/core/src/lib/style/types-ts/#L176)

</details>

<span id="api-SankeyStyle-scaleX"></span>
<details>
<summary>scaleX (optional)</summary>


```ts
scaleX?: number | undefined
```

Horizontal scale factor. See GStyle.

[View source — packages/core/src/lib/components/g.ts:46](/source/packages/core/src/lib/components/g-ts/#L46)

</details>

<span id="api-SankeyStyle-scaleY"></span>
<details>
<summary>scaleY (optional)</summary>


```ts
scaleY?: number | undefined
```

Vertical scale factor. See GStyle.

[View source — packages/core/src/lib/components/g.ts:48](/source/packages/core/src/lib/components/g-ts/#L48)

</details>

<span id="api-SankeyStyle-rotationDegrees"></span>
<details>
<summary>rotationDegrees (optional)</summary>


```ts
rotationDegrees?: number | undefined
```

Clockwise rotation in degrees.

[View source — packages/core/src/lib/components/g.ts:50](/source/packages/core/src/lib/components/g-ts/#L50)

</details>

<span id="api-SankeyStyle-rotationOrigin"></span>
<details>
<summary>rotationOrigin (optional)</summary>


```ts
rotationOrigin?: [number, number] | undefined
```

Point around which the rotation is applied. See GStyle.

[View source — packages/core/src/lib/components/g.ts:52](/source/packages/core/src/lib/components/g-ts/#L52)

</details>

<span id="api-SankeyStyle-translateX"></span>
<details>
<summary>translateX (optional)</summary>


```ts
translateX?: number | undefined
```

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

[View source — packages/core/src/lib/components/g.ts:54](/source/packages/core/src/lib/components/g-ts/#L54)

</details>

<span id="api-SankeyStyle-translateY"></span>
<details>
<summary>translateY (optional)</summary>


```ts
translateY?: number | undefined
```

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

[View source — packages/core/src/lib/components/g.ts:56](/source/packages/core/src/lib/components/g-ts/#L56)

</details>

<span id="api-SankeyStyle-skewX"></span>
<details>
<summary>skewX (optional)</summary>


```ts
skewX?: number | undefined
```

Horizontal skew angle in degrees.

[View source — packages/core/src/lib/components/g.ts:58](/source/packages/core/src/lib/components/g-ts/#L58)

</details>

<span id="api-SankeyStyle-skewY"></span>
<details>
<summary>skewY (optional)</summary>


```ts
skewY?: number | undefined
```

Vertical skew angle in degrees.

[View source — packages/core/src/lib/components/g.ts:60](/source/packages/core/src/lib/components/g-ts/#L60)

</details>

<span id="api-SankeyStyle-layoutParticipation"></span>
<details>
<summary>layoutParticipation (optional)</summary>


```ts
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](/source/packages/core/src/lib/types-ts/#L69)

</details>

<span id="api-SankeyStyle-transition"></span>
<details>
<summary>transition (optional)</summary>


```ts
transition?: PibblTransitionBinding | undefined
```

Related API: [PibblTransitionBinding](/reference/hooks/use-visibility-transition/).

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

[View source — packages/core/src/lib/types.ts:71](/source/packages/core/src/lib/types-ts/#L71)

</details>

<span id="api-SankeyStyle-custom"></span>
<details>
<summary>custom (optional)</summary>


```ts
custom?: unknown
```

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

[View source — packages/core/src/lib/types.ts:73](/source/packages/core/src/lib/types-ts/#L73)

</details>

<span id="api-SankeyStyle-filter"></span>
<details>
<summary>filter (optional)</summary>


```ts
filter?: PibblFilter | readonly PibblFilter[] | undefined
```

Related API: [PibblFilter](/reference/types/filters/#pibblfilter).

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

[View source — packages/core/src/lib/types.ts:78](/source/packages/core/src/lib/types-ts/#L78)

</details>

<span id="api-SankeyOptions"></span>

### SankeyOptions

Pure Sankey inputs and finite output bounds. GraphLayout

```ts
interface SankeyOptions<N, E> extends SankeyAccessors<N, E>
```

Related API: [SankeyOptions](/reference/components/graph-visualization/), [SankeyAccessors](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:627](/source/packages/core/src/features/viz/lib/graph/types-ts/#L627)

#### Properties and methods

<span id="api-SankeyOptions-bounds"></span>
<details>
<summary>bounds</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L629)

</details>

<span id="api-SankeyOptions-nodeWidth"></span>
<details>
<summary>nodeWidth (optional)</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L631)

</details>

<span id="api-SankeyOptions-nodeGap"></span>
<details>
<summary>nodeGap (optional)</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L633)

</details>

<span id="api-SankeyOptions-nodeKey"></span>
<details>
<summary>nodeKey</summary>


```ts
readonly nodeKey: Accessor<N, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each node’s stable key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:86](/source/packages/core/src/features/viz/lib/graph/types-ts/#L86)

</details>

<span id="api-SankeyOptions-edgeKey"></span>
<details>
<summary>edgeKey</summary>


```ts
readonly edgeKey: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each edge’s stable key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:88](/source/packages/core/src/features/viz/lib/graph/types-ts/#L88)

</details>

<span id="api-SankeyOptions-source"></span>
<details>
<summary>source</summary>


```ts
readonly source: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads an edge source key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:90](/source/packages/core/src/features/viz/lib/graph/types-ts/#L90)

</details>

<span id="api-SankeyOptions-target"></span>
<details>
<summary>target</summary>


```ts
readonly target: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads an edge target key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:92](/source/packages/core/src/features/viz/lib/graph/types-ts/#L92)

</details>

<span id="api-SankeyOptions-label"></span>
<details>
<summary>label (optional)</summary>


```ts
readonly label?: Accessor<N, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a node’s primary text. LabelGeometry

[View source — packages/core/src/features/viz/lib/graph/types.ts:94](/source/packages/core/src/features/viz/lib/graph/types-ts/#L94)

</details>

<span id="api-SankeyOptions-detail"></span>
<details>
<summary>detail (optional)</summary>


```ts
readonly detail?: Accessor<N, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a node’s secondary text. LabelGeometry

[View source — packages/core/src/features/viz/lib/graph/types.ts:96](/source/packages/core/src/features/viz/lib/graph/types-ts/#L96)

</details>

<span id="api-SankeyOptions-value"></span>
<details>
<summary>value</summary>


```ts
readonly value: Accessor<E, number>
```

Related API: [Accessor](/reference/components/graph-visualization/).

Reads the finite quantitative value. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:611](/source/packages/core/src/features/viz/lib/graph/types-ts/#L611)

</details>

<span id="api-SankeyOptions-unit"></span>
<details>
<summary>unit</summary>


```ts
readonly unit: string
```

Display unit for quantitative values. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:613](/source/packages/core/src/features/viz/lib/graph/types-ts/#L613)

</details>

<span id="api-SankeyOptions-formatValue"></span>
<details>
<summary>formatValue (optional)</summary>


```ts
readonly formatValue?: ((value: number) => string) | undefined
```

Formats a quantitative value for display. GraphLayout

##### Parameters

- **`value`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:617](/source/packages/core/src/features/viz/lib/graph/types-ts/#L617)

</details>

<span id="api-SankeyProps"></span>

### SankeyProps

Reactive Sankey data and default flow/node presentation. GraphLayout

```ts
interface SankeyProps<N, E> extends SankeyAccessors<N, E>
```

Related API: [SankeyProps](/reference/components/graph-visualization/), [SankeyAccessors](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:636](/source/packages/core/src/features/viz/lib/graph/types-ts/#L636)

#### Properties and methods

<span id="api-SankeyProps-graph"></span>
<details>
<summary>graph</summary>


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

Related API: [SignalValue](/reference/types/signal-inputs/#signalvalue), [GraphData](/reference/components/graph-visualization/).

Graph records; publish a new snapshot to update. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:638](/source/packages/core/src/features/viz/lib/graph/types-ts/#L638)

</details>

<span id="api-SankeyProps-style"></span>
<details>
<summary>style (optional)</summary>


```ts
readonly style?: Style<SankeyStyle> | undefined
```

Related API: [Style](/reference/components/graph-visualization/), [SankeyStyle](/reference/components/graph-visualization/).

Frame style and responsive size allocation. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:640](/source/packages/core/src/features/viz/lib/graph/types-ts/#L640)

</details>

<span id="api-SankeyProps-nodeStyle"></span>
<details>
<summary>nodeStyle (optional)</summary>


```ts
readonly nodeStyle?: MarkStyle<SankeyNodeGeometry<N>, NodeStyle> | undefined
```

Related API: [MarkStyle](/reference/components/graph-visualization/), [SankeyNodeGeometry](/reference/components/graph-visualization/), [NodeStyle](/reference/components/graph-visualization/).

Style or geometry-aware style for node marks. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:642](/source/packages/core/src/features/viz/lib/graph/types-ts/#L642)

</details>

<span id="api-SankeyProps-flowStyle"></span>
<details>
<summary>flowStyle (optional)</summary>


```ts
readonly flowStyle?: MarkStyle<SankeyFlowGeometry<E>, EdgeStyle> | undefined
```

Related API: [MarkStyle](/reference/components/graph-visualization/), [SankeyFlowGeometry](/reference/components/graph-visualization/), [EdgeStyle](/reference/components/graph-visualization/).

Style or geometry-aware style for flow marks. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:644](/source/packages/core/src/features/viz/lib/graph/types-ts/#L644)

</details>

<span id="api-SankeyProps-labelStyle"></span>
<details>
<summary>labelStyle (optional)</summary>


```ts
readonly labelStyle?: Style<LabelStyle> | undefined
```

Related API: [Style](/reference/components/graph-visualization/), [LabelStyle](/reference/components/graph-visualization/).

Style for decorative labels. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:646](/source/packages/core/src/features/viz/lib/graph/types-ts/#L646)

</details>

<span id="api-SankeyProps-renderNode"></span>
<details>
<summary>renderNode (optional)</summary>


```ts
readonly renderNode?: ((node: SankeyNodeGeometry<N>) => PibblNode) | undefined
```

Related API: [SankeyNodeGeometry](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

Replaces the default node mark with this composition. GraphLayout

##### Parameters

- **`node`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:650](/source/packages/core/src/features/viz/lib/graph/types-ts/#L650)

</details>

<span id="api-SankeyProps-renderFlow"></span>
<details>
<summary>renderFlow (optional)</summary>


```ts
readonly renderFlow?: ((flow: SankeyFlowGeometry<E>) => PibblNode) | undefined
```

Related API: [SankeyFlowGeometry](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

Replaces the default flow mark with this composition. GraphLayout

##### Parameters

- **`flow`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:654](/source/packages/core/src/features/viz/lib/graph/types-ts/#L654)

</details>

<span id="api-SankeyProps-onNodeClick"></span>
<details>
<summary>onNodeClick (optional)</summary>


```ts
readonly onNodeClick?: ((node: SankeyNodeGeometry<N>, event: ClickEvent) => void) | undefined
```

Related API: [SankeyNodeGeometry](/reference/components/graph-visualization/).

Receives clicks on a node mark. GraphLayout

##### Parameters

- **`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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L658)

</details>

<span id="api-SankeyProps-onFlowClick"></span>
<details>
<summary>onFlowClick (optional)</summary>


```ts
readonly onFlowClick?: ((flow: SankeyFlowGeometry<E>, event: ClickEvent) => void) | undefined
```

Related API: [SankeyFlowGeometry](/reference/components/graph-visualization/).

Receives clicks on a flow mark. GraphLayout

##### Parameters

- **`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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L665)

</details>

<span id="api-SankeyProps-nodeKey"></span>
<details>
<summary>nodeKey</summary>


```ts
readonly nodeKey: Accessor<N, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each node’s stable key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:86](/source/packages/core/src/features/viz/lib/graph/types-ts/#L86)

</details>

<span id="api-SankeyProps-edgeKey"></span>
<details>
<summary>edgeKey</summary>


```ts
readonly edgeKey: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each edge’s stable key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:88](/source/packages/core/src/features/viz/lib/graph/types-ts/#L88)

</details>

<span id="api-SankeyProps-source"></span>
<details>
<summary>source</summary>


```ts
readonly source: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads an edge source key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:90](/source/packages/core/src/features/viz/lib/graph/types-ts/#L90)

</details>

<span id="api-SankeyProps-target"></span>
<details>
<summary>target</summary>


```ts
readonly target: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads an edge target key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:92](/source/packages/core/src/features/viz/lib/graph/types-ts/#L92)

</details>

<span id="api-SankeyProps-label"></span>
<details>
<summary>label (optional)</summary>


```ts
readonly label?: Accessor<N, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a node’s primary text. LabelGeometry

[View source — packages/core/src/features/viz/lib/graph/types.ts:94](/source/packages/core/src/features/viz/lib/graph/types-ts/#L94)

</details>

<span id="api-SankeyProps-detail"></span>
<details>
<summary>detail (optional)</summary>


```ts
readonly detail?: Accessor<N, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a node’s secondary text. LabelGeometry

[View source — packages/core/src/features/viz/lib/graph/types.ts:96](/source/packages/core/src/features/viz/lib/graph/types-ts/#L96)

</details>

<span id="api-SankeyProps-value"></span>
<details>
<summary>value</summary>


```ts
readonly value: Accessor<E, number>
```

Related API: [Accessor](/reference/components/graph-visualization/).

Reads the finite quantitative value. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:611](/source/packages/core/src/features/viz/lib/graph/types-ts/#L611)

</details>

<span id="api-SankeyProps-unit"></span>
<details>
<summary>unit</summary>


```ts
readonly unit: string
```

Display unit for quantitative values. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:613](/source/packages/core/src/features/viz/lib/graph/types-ts/#L613)

</details>

<span id="api-SankeyProps-formatValue"></span>
<details>
<summary>formatValue (optional)</summary>


```ts
readonly formatValue?: ((value: number) => string) | undefined
```

Formats a quantitative value for display. GraphLayout

##### Parameters

- **`value`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:617](/source/packages/core/src/features/viz/lib/graph/types-ts/#L617)

</details>

<span id="api-BipartiteData"></span>

### BipartiteData

Ordered left, right, and edge records for a two-sided graph. GraphLayout

```ts
interface BipartiteData<L, R, E>
```

Related API: [BipartiteData](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:672](/source/packages/core/src/features/viz/lib/graph/types-ts/#L672)

#### Properties and methods

<span id="api-BipartiteData-left"></span>
<details>
<summary>left</summary>


```ts
readonly left: readonly L[]
```

Left-side endpoint geometry. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:674](/source/packages/core/src/features/viz/lib/graph/types-ts/#L674)

</details>

<span id="api-BipartiteData-right"></span>
<details>
<summary>right</summary>


```ts
readonly right: readonly R[]
```

Right-side endpoint geometry. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:676](/source/packages/core/src/features/viz/lib/graph/types-ts/#L676)

</details>

<span id="api-BipartiteData-edges"></span>
<details>
<summary>edges</summary>


```ts
readonly edges: readonly E[]
```

Source edges in application order. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:678](/source/packages/core/src/features/viz/lib/graph/types-ts/#L678)

</details>

<span id="api-BipartiteAccessors"></span>

### BipartiteAccessors

Typed keys and optional labels for both graph sides. GraphLayout

```ts
interface BipartiteAccessors<L, R, E>
```

Related API: [BipartiteAccessors](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:681](/source/packages/core/src/features/viz/lib/graph/types-ts/#L681)

#### Properties and methods

<span id="api-BipartiteAccessors-leftKey"></span>
<details>
<summary>leftKey</summary>


```ts
readonly leftKey: Accessor<L, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each left-side record’s stable key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:683](/source/packages/core/src/features/viz/lib/graph/types-ts/#L683)

</details>

<span id="api-BipartiteAccessors-rightKey"></span>
<details>
<summary>rightKey</summary>


```ts
readonly rightKey: Accessor<R, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each right-side record’s stable key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:685](/source/packages/core/src/features/viz/lib/graph/types-ts/#L685)

</details>

<span id="api-BipartiteAccessors-edgeKey"></span>
<details>
<summary>edgeKey</summary>


```ts
readonly edgeKey: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each edge’s stable key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:687](/source/packages/core/src/features/viz/lib/graph/types-ts/#L687)

</details>

<span id="api-BipartiteAccessors-source"></span>
<details>
<summary>source</summary>


```ts
readonly source: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads an edge source key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:689](/source/packages/core/src/features/viz/lib/graph/types-ts/#L689)

</details>

<span id="api-BipartiteAccessors-target"></span>
<details>
<summary>target</summary>


```ts
readonly target: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads an edge target key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:691](/source/packages/core/src/features/viz/lib/graph/types-ts/#L691)

</details>

<span id="api-BipartiteAccessors-leftLabel"></span>
<details>
<summary>leftLabel (optional)</summary>


```ts
readonly leftLabel?: Accessor<L, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a left-side label. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:693](/source/packages/core/src/features/viz/lib/graph/types-ts/#L693)

</details>

<span id="api-BipartiteAccessors-rightLabel"></span>
<details>
<summary>rightLabel (optional)</summary>


```ts
readonly rightLabel?: Accessor<R, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a right-side label. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:695](/source/packages/core/src/features/viz/lib/graph/types-ts/#L695)

</details>

<span id="api-BipartiteEdgeGeometry"></span>

### BipartiteEdgeGeometry

Edge geometry retaining side-qualified endpoints. GraphLayout

```ts
interface BipartiteEdgeGeometry<L, R, E> extends GraphEdgeGeometry<E>
```

Related API: [BipartiteEdgeGeometry](/reference/components/graph-visualization/), [GraphEdgeGeometry](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:698](/source/packages/core/src/features/viz/lib/graph/types-ts/#L698)

#### Properties and methods

<span id="api-BipartiteEdgeGeometry-left"></span>
<details>
<summary>left</summary>


```ts
readonly left: GraphNodeGeometry<L>
```

Related API: [GraphNodeGeometry](/reference/components/graph-visualization/).

Left-side endpoint geometry. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:700](/source/packages/core/src/features/viz/lib/graph/types-ts/#L700)

</details>

<span id="api-BipartiteEdgeGeometry-right"></span>
<details>
<summary>right</summary>


```ts
readonly right: GraphNodeGeometry<R>
```

Related API: [GraphNodeGeometry](/reference/components/graph-visualization/).

Right-side endpoint geometry. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:702](/source/packages/core/src/features/viz/lib/graph/types-ts/#L702)

</details>

<span id="api-BipartiteEdgeGeometry-key"></span>
<details>
<summary>key</summary>


```ts
readonly key: VizKey
```

Related API: [VizKey](/reference/components/graph-visualization/).

Stable application-provided key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:126](/source/packages/core/src/features/viz/lib/graph/types-ts/#L126)

</details>

<span id="api-BipartiteEdgeGeometry-datum"></span>
<details>
<summary>datum</summary>


```ts
readonly datum: E
```

Original application record. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:128](/source/packages/core/src/features/viz/lib/graph/types-ts/#L128)

</details>

<span id="api-BipartiteEdgeGeometry-sourceKey"></span>
<details>
<summary>sourceKey</summary>


```ts
readonly sourceKey: VizKey
```

Related API: [VizKey](/reference/components/graph-visualization/).

Stable key of the edge source node. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:130](/source/packages/core/src/features/viz/lib/graph/types-ts/#L130)

</details>

<span id="api-BipartiteEdgeGeometry-targetKey"></span>
<details>
<summary>targetKey</summary>


```ts
readonly targetKey: VizKey
```

Related API: [VizKey](/reference/components/graph-visualization/).

Stable key of the edge target node. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:132](/source/packages/core/src/features/viz/lib/graph/types-ts/#L132)

</details>

<span id="api-BipartiteEdgeGeometry-route"></span>
<details>
<summary>route</summary>


```ts
readonly route: GraphRoute
```

Related API: [GraphRoute](/reference/components/graph-visualization/).

Structured route used to produce the serialized path. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:134](/source/packages/core/src/features/viz/lib/graph/types-ts/#L134)

</details>

<span id="api-BipartiteEdgeGeometry-path"></span>
<details>
<summary>path</summary>


```ts
readonly path: string
```

SVG path serialization of the route. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:136](/source/packages/core/src/features/viz/lib/graph/types-ts/#L136)

</details>

<span id="api-BipartiteEdgeGeometry-arrowPath"></span>
<details>
<summary>arrowPath</summary>


```ts
readonly arrowPath: string | null
```

Optional SVG path for the route arrow. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:138](/source/packages/core/src/features/viz/lib/graph/types-ts/#L138)

</details>

<span id="api-BipartiteLayout"></span>

### BipartiteLayout

Immutable left nodes, right nodes, and their connecting edges. GraphLayout

```ts
interface BipartiteLayout<L, R, E>
```

Related API: [BipartiteLayout](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:705](/source/packages/core/src/features/viz/lib/graph/types-ts/#L705)

#### Properties and methods

<span id="api-BipartiteLayout-bounds"></span>
<details>
<summary>bounds</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L707)

</details>

<span id="api-BipartiteLayout-left"></span>
<details>
<summary>left</summary>


```ts
readonly left: readonly GraphNodeGeometry<L>[]
```

Related API: [GraphNodeGeometry](/reference/components/graph-visualization/).

Left-side endpoint geometry. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:709](/source/packages/core/src/features/viz/lib/graph/types-ts/#L709)

</details>

<span id="api-BipartiteLayout-right"></span>
<details>
<summary>right</summary>


```ts
readonly right: readonly GraphNodeGeometry<R>[]
```

Related API: [GraphNodeGeometry](/reference/components/graph-visualization/).

Right-side endpoint geometry. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:711](/source/packages/core/src/features/viz/lib/graph/types-ts/#L711)

</details>

<span id="api-BipartiteLayout-edges"></span>
<details>
<summary>edges</summary>


```ts
readonly edges: readonly BipartiteEdgeGeometry<L, R, E>[]
```

Related API: [BipartiteEdgeGeometry](/reference/components/graph-visualization/).

Source edges in application order. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:713](/source/packages/core/src/features/viz/lib/graph/types-ts/#L713)

</details>

<span id="api-BipartiteStyle"></span>

### BipartiteStyle

Frame options for two-sided graph columns and node spacing. GraphLayout

```ts
interface BipartiteStyle extends GStyle
```

Related API: [BipartiteStyle](/reference/components/graph-visualization/), [GStyle](/reference/types/styles/#gstyle).

[View source — packages/core/src/features/viz/lib/graph/types.ts:716](/source/packages/core/src/features/viz/lib/graph/types-ts/#L716)

#### Properties and methods

<span id="api-BipartiteStyle-columnGap"></span>
<details>
<summary>columnGap (optional)</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L718)

</details>

<span id="api-BipartiteStyle-nodeGap"></span>
<details>
<summary>nodeGap (optional)</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L720)

</details>

<span id="api-BipartiteStyle-position"></span>
<details>
<summary>position (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L194)

</details>

<span id="api-BipartiteStyle-left"></span>
<details>
<summary>left (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L196)

</details>

<span id="api-BipartiteStyle-right"></span>
<details>
<summary>right (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L198)

</details>

<span id="api-BipartiteStyle-top"></span>
<details>
<summary>top (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L200)

</details>

<span id="api-BipartiteStyle-bottom"></span>
<details>
<summary>bottom (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L202)

</details>

<span id="api-BipartiteStyle-insetStart"></span>
<details>
<summary>insetStart (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L204)

</details>

<span id="api-BipartiteStyle-insetEnd"></span>
<details>
<summary>insetEnd (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L206)

</details>

<span id="api-BipartiteStyle-aspectRatio"></span>
<details>
<summary>aspectRatio (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L84)

</details>

<span id="api-BipartiteStyle-boxSizing"></span>
<details>
<summary>boxSizing (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L89)

</details>

<span id="api-BipartiteStyle-width"></span>
<details>
<summary>width (optional)</summary>


```ts
width?: SizingLength | undefined
```

Related API: [SizingLength](/reference/types/layout/#sizinglength).

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

[View source — packages/core/src/lib/style/types.ts:91](/source/packages/core/src/lib/style/types-ts/#L91)

</details>

<span id="api-BipartiteStyle-height"></span>
<details>
<summary>height (optional)</summary>


```ts
height?: SizingLength | undefined
```

Related API: [SizingLength](/reference/types/layout/#sizinglength).

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

[View source — packages/core/src/lib/style/types.ts:93](/source/packages/core/src/lib/style/types-ts/#L93)

</details>

<span id="api-BipartiteStyle-minWidth"></span>
<details>
<summary>minWidth (optional)</summary>


```ts
minWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L95)

</details>

<span id="api-BipartiteStyle-maxWidth"></span>
<details>
<summary>maxWidth (optional)</summary>


```ts
maxWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L97)

</details>

<span id="api-BipartiteStyle-minHeight"></span>
<details>
<summary>minHeight (optional)</summary>


```ts
minHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#sizingkeyword).

Minimum permitted height. See Length.

[View source — packages/core/src/lib/style/types.ts:99](/source/packages/core/src/lib/style/types-ts/#L99)

</details>

<span id="api-BipartiteStyle-maxHeight"></span>
<details>
<summary>maxHeight (optional)</summary>


```ts
maxHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#sizingkeyword).

Maximum permitted height. See Length.

[View source — packages/core/src/lib/style/types.ts:101](/source/packages/core/src/lib/style/types-ts/#L101)

</details>

<span id="api-BipartiteStyle-padding"></span>
<details>
<summary>padding (optional)</summary>


```ts
padding?: EdgeValues<number | `${number}%`> | undefined
```

Related API: [EdgeValues](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L103)

</details>

<span id="api-BipartiteStyle-paddingStart"></span>
<details>
<summary>paddingStart (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L105)

</details>

<span id="api-BipartiteStyle-paddingEnd"></span>
<details>
<summary>paddingEnd (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L107)

</details>

<span id="api-BipartiteStyle-borderWidth"></span>
<details>
<summary>borderWidth (optional)</summary>


```ts
borderWidth?: EdgeValues<number> | undefined
```

Related API: [EdgeValues](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L109)

</details>

<span id="api-BipartiteStyle-borderStartWidth"></span>
<details>
<summary>borderStartWidth (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L111)

</details>

<span id="api-BipartiteStyle-borderEndWidth"></span>
<details>
<summary>borderEndWidth (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L113)

</details>

<span id="api-BipartiteStyle-overflow"></span>
<details>
<summary>overflow (optional)</summary>


```ts
overflow?: "clip" | "visible" | undefined
```

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

[View source — packages/core/src/lib/style/types.ts:115](/source/packages/core/src/lib/style/types-ts/#L115)

</details>

<span id="api-BipartiteStyle-margin"></span>
<details>
<summary>margin (optional)</summary>


```ts
margin?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L146)

</details>

<span id="api-BipartiteStyle-marginTop"></span>
<details>
<summary>marginTop (optional)</summary>


```ts
marginTop?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical top margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:148](/source/packages/core/src/lib/style/types-ts/#L148)

</details>

<span id="api-BipartiteStyle-marginRight"></span>
<details>
<summary>marginRight (optional)</summary>


```ts
marginRight?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical right margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:150](/source/packages/core/src/lib/style/types-ts/#L150)

</details>

<span id="api-BipartiteStyle-marginBottom"></span>
<details>
<summary>marginBottom (optional)</summary>


```ts
marginBottom?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical bottom margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:152](/source/packages/core/src/lib/style/types-ts/#L152)

</details>

<span id="api-BipartiteStyle-marginLeft"></span>
<details>
<summary>marginLeft (optional)</summary>


```ts
marginLeft?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical left margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:154](/source/packages/core/src/lib/style/types-ts/#L154)

</details>

<span id="api-BipartiteStyle-marginStart"></span>
<details>
<summary>marginStart (optional)</summary>


```ts
marginStart?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L156)

</details>

<span id="api-BipartiteStyle-marginEnd"></span>
<details>
<summary>marginEnd (optional)</summary>


```ts
marginEnd?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L158)

</details>

<span id="api-BipartiteStyle-alignSelf"></span>
<details>
<summary>alignSelf (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L160)

</details>

<span id="api-BipartiteStyle-justifySelf"></span>
<details>
<summary>justifySelf (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L162)

</details>

<span id="api-BipartiteStyle-flexBasis"></span>
<details>
<summary>flexBasis (optional)</summary>


```ts
flexBasis?: SizingLength | undefined
```

Related API: [SizingLength](/reference/types/layout/#sizinglength).

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

[View source — packages/core/src/lib/style/types.ts:164](/source/packages/core/src/lib/style/types-ts/#L164)

</details>

<span id="api-BipartiteStyle-flexGrow"></span>
<details>
<summary>flexGrow (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L166)

</details>

<span id="api-BipartiteStyle-flexShrink"></span>
<details>
<summary>flexShrink (optional)</summary>


```ts
flexShrink?: number | undefined
```

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

[View source — packages/core/src/lib/style/types.ts:168](/source/packages/core/src/lib/style/types-ts/#L168)

</details>

<span id="api-BipartiteStyle-gridColumnStart"></span>
<details>
<summary>gridColumnStart (optional)</summary>


```ts
gridColumnStart?: number | undefined
```

Explicit starting grid column. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:170](/source/packages/core/src/lib/style/types-ts/#L170)

</details>

<span id="api-BipartiteStyle-gridColumnSpan"></span>
<details>
<summary>gridColumnSpan (optional)</summary>


```ts
gridColumnSpan?: number | undefined
```

Number of columns occupied by this child. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:172](/source/packages/core/src/lib/style/types-ts/#L172)

</details>

<span id="api-BipartiteStyle-gridRowStart"></span>
<details>
<summary>gridRowStart (optional)</summary>


```ts
gridRowStart?: number | undefined
```

Explicit starting grid row. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:174](/source/packages/core/src/lib/style/types-ts/#L174)

</details>

<span id="api-BipartiteStyle-gridRowSpan"></span>
<details>
<summary>gridRowSpan (optional)</summary>


```ts
gridRowSpan?: number | undefined
```

Number of rows occupied by this child. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:176](/source/packages/core/src/lib/style/types-ts/#L176)

</details>

<span id="api-BipartiteStyle-scaleX"></span>
<details>
<summary>scaleX (optional)</summary>


```ts
scaleX?: number | undefined
```

Horizontal scale factor. See GStyle.

[View source — packages/core/src/lib/components/g.ts:46](/source/packages/core/src/lib/components/g-ts/#L46)

</details>

<span id="api-BipartiteStyle-scaleY"></span>
<details>
<summary>scaleY (optional)</summary>


```ts
scaleY?: number | undefined
```

Vertical scale factor. See GStyle.

[View source — packages/core/src/lib/components/g.ts:48](/source/packages/core/src/lib/components/g-ts/#L48)

</details>

<span id="api-BipartiteStyle-rotationDegrees"></span>
<details>
<summary>rotationDegrees (optional)</summary>


```ts
rotationDegrees?: number | undefined
```

Clockwise rotation in degrees.

[View source — packages/core/src/lib/components/g.ts:50](/source/packages/core/src/lib/components/g-ts/#L50)

</details>

<span id="api-BipartiteStyle-rotationOrigin"></span>
<details>
<summary>rotationOrigin (optional)</summary>


```ts
rotationOrigin?: [number, number] | undefined
```

Point around which the rotation is applied. See GStyle.

[View source — packages/core/src/lib/components/g.ts:52](/source/packages/core/src/lib/components/g-ts/#L52)

</details>

<span id="api-BipartiteStyle-translateX"></span>
<details>
<summary>translateX (optional)</summary>


```ts
translateX?: number | undefined
```

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

[View source — packages/core/src/lib/components/g.ts:54](/source/packages/core/src/lib/components/g-ts/#L54)

</details>

<span id="api-BipartiteStyle-translateY"></span>
<details>
<summary>translateY (optional)</summary>


```ts
translateY?: number | undefined
```

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

[View source — packages/core/src/lib/components/g.ts:56](/source/packages/core/src/lib/components/g-ts/#L56)

</details>

<span id="api-BipartiteStyle-skewX"></span>
<details>
<summary>skewX (optional)</summary>


```ts
skewX?: number | undefined
```

Horizontal skew angle in degrees.

[View source — packages/core/src/lib/components/g.ts:58](/source/packages/core/src/lib/components/g-ts/#L58)

</details>

<span id="api-BipartiteStyle-skewY"></span>
<details>
<summary>skewY (optional)</summary>


```ts
skewY?: number | undefined
```

Vertical skew angle in degrees.

[View source — packages/core/src/lib/components/g.ts:60](/source/packages/core/src/lib/components/g-ts/#L60)

</details>

<span id="api-BipartiteStyle-layoutParticipation"></span>
<details>
<summary>layoutParticipation (optional)</summary>


```ts
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](/source/packages/core/src/lib/types-ts/#L69)

</details>

<span id="api-BipartiteStyle-transition"></span>
<details>
<summary>transition (optional)</summary>


```ts
transition?: PibblTransitionBinding | undefined
```

Related API: [PibblTransitionBinding](/reference/hooks/use-visibility-transition/).

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

[View source — packages/core/src/lib/types.ts:71](/source/packages/core/src/lib/types-ts/#L71)

</details>

<span id="api-BipartiteStyle-custom"></span>
<details>
<summary>custom (optional)</summary>


```ts
custom?: unknown
```

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

[View source — packages/core/src/lib/types.ts:73](/source/packages/core/src/lib/types-ts/#L73)

</details>

<span id="api-BipartiteStyle-filter"></span>
<details>
<summary>filter (optional)</summary>


```ts
filter?: PibblFilter | readonly PibblFilter[] | undefined
```

Related API: [PibblFilter](/reference/types/filters/#pibblfilter).

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

[View source — packages/core/src/lib/types.ts:78](/source/packages/core/src/lib/types-ts/#L78)

</details>

<span id="api-BipartiteOptions"></span>

### BipartiteOptions

Pure bipartite inputs, side dimensions, and finite bounds. GraphLayout

```ts
interface BipartiteOptions<L, R, E> extends BipartiteAccessors<L, R, E>
```

Related API: [BipartiteOptions](/reference/components/graph-visualization/), [BipartiteAccessors](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:723](/source/packages/core/src/features/viz/lib/graph/types-ts/#L723)

#### Properties and methods

<span id="api-BipartiteOptions-bounds"></span>
<details>
<summary>bounds</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L725)

</details>

<span id="api-BipartiteOptions-leftSize"></span>
<details>
<summary>leftSize (optional)</summary>


```ts
readonly leftSize?: Size | ((datum: L) => Size) | undefined
```

Related API: [Size](/reference/types/layout/#size).

Optional left-node size reader in local logical pixels. GraphLayout

##### Parameters

- **`datum`** — Left-side source record to measure.

##### Returns

Finite local logical size.

[View source — packages/core/src/features/viz/lib/graph/types.ts:729](/source/packages/core/src/features/viz/lib/graph/types-ts/#L729)

</details>

<span id="api-BipartiteOptions-rightSize"></span>
<details>
<summary>rightSize (optional)</summary>


```ts
readonly rightSize?: Size | ((datum: R) => Size) | undefined
```

Related API: [Size](/reference/types/layout/#size).

Optional right-node size reader in local logical pixels. GraphLayout

##### Parameters

- **`datum`** — Right-side source record to measure.

##### Returns

Finite local logical size.

[View source — packages/core/src/features/viz/lib/graph/types.ts:737](/source/packages/core/src/features/viz/lib/graph/types-ts/#L737)

</details>

<span id="api-BipartiteOptions-columnGap"></span>
<details>
<summary>columnGap (optional)</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L743)

</details>

<span id="api-BipartiteOptions-nodeGap"></span>
<details>
<summary>nodeGap (optional)</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L745)

</details>

<span id="api-BipartiteOptions-leftKey"></span>
<details>
<summary>leftKey</summary>


```ts
readonly leftKey: Accessor<L, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each left-side record’s stable key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:683](/source/packages/core/src/features/viz/lib/graph/types-ts/#L683)

</details>

<span id="api-BipartiteOptions-rightKey"></span>
<details>
<summary>rightKey</summary>


```ts
readonly rightKey: Accessor<R, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each right-side record’s stable key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:685](/source/packages/core/src/features/viz/lib/graph/types-ts/#L685)

</details>

<span id="api-BipartiteOptions-edgeKey"></span>
<details>
<summary>edgeKey</summary>


```ts
readonly edgeKey: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each edge’s stable key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:687](/source/packages/core/src/features/viz/lib/graph/types-ts/#L687)

</details>

<span id="api-BipartiteOptions-source"></span>
<details>
<summary>source</summary>


```ts
readonly source: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads an edge source key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:689](/source/packages/core/src/features/viz/lib/graph/types-ts/#L689)

</details>

<span id="api-BipartiteOptions-target"></span>
<details>
<summary>target</summary>


```ts
readonly target: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads an edge target key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:691](/source/packages/core/src/features/viz/lib/graph/types-ts/#L691)

</details>

<span id="api-BipartiteOptions-leftLabel"></span>
<details>
<summary>leftLabel (optional)</summary>


```ts
readonly leftLabel?: Accessor<L, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a left-side label. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:693](/source/packages/core/src/features/viz/lib/graph/types-ts/#L693)

</details>

<span id="api-BipartiteOptions-rightLabel"></span>
<details>
<summary>rightLabel (optional)</summary>


```ts
readonly rightLabel?: Accessor<R, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a right-side label. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:695](/source/packages/core/src/features/viz/lib/graph/types-ts/#L695)

</details>

<span id="api-BipartiteGraphProps"></span>

### BipartiteGraphProps

Reactive bipartite data and side-specific mark presentation. GraphLayout

```ts
interface BipartiteGraphProps<L, R, E> extends BipartiteAccessors<
  L,
  R,
  E
>
```

Related API: [BipartiteGraphProps](/reference/components/graph-visualization/), [BipartiteAccessors](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:748](/source/packages/core/src/features/viz/lib/graph/types-ts/#L748)

#### Properties and methods

<span id="api-BipartiteGraphProps-graph"></span>
<details>
<summary>graph</summary>


```ts
readonly graph: SignalValue<BipartiteData<L, R, E>>
```

Related API: [SignalValue](/reference/types/signal-inputs/#signalvalue), [BipartiteData](/reference/components/graph-visualization/).

Graph records; publish a new snapshot to update. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:754](/source/packages/core/src/features/viz/lib/graph/types-ts/#L754)

</details>

<span id="api-BipartiteGraphProps-leftSize"></span>
<details>
<summary>leftSize (optional)</summary>


```ts
readonly leftSize?: Size | ((datum: L) => Size) | undefined
```

Related API: [Size](/reference/types/layout/#size).

Optional left-node size reader in local logical pixels. GraphLayout

##### Parameters

- **`datum`** — Left-side source record to measure.

##### Returns

Finite local logical size.

[View source — packages/core/src/features/viz/lib/graph/types.ts:758](/source/packages/core/src/features/viz/lib/graph/types-ts/#L758)

</details>

<span id="api-BipartiteGraphProps-rightSize"></span>
<details>
<summary>rightSize (optional)</summary>


```ts
readonly rightSize?: Size | ((datum: R) => Size) | undefined
```

Related API: [Size](/reference/types/layout/#size).

Optional right-node size reader in local logical pixels. GraphLayout

##### Parameters

- **`datum`** — Right-side source record to measure.

##### Returns

Finite local logical size.

[View source — packages/core/src/features/viz/lib/graph/types.ts:766](/source/packages/core/src/features/viz/lib/graph/types-ts/#L766)

</details>

<span id="api-BipartiteGraphProps-style"></span>
<details>
<summary>style (optional)</summary>


```ts
readonly style?: Style<BipartiteStyle> | undefined
```

Related API: [Style](/reference/components/graph-visualization/), [BipartiteStyle](/reference/components/graph-visualization/).

Frame style and responsive size allocation. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:772](/source/packages/core/src/features/viz/lib/graph/types-ts/#L772)

</details>

<span id="api-BipartiteGraphProps-leftNodeStyle"></span>
<details>
<summary>leftNodeStyle (optional)</summary>


```ts
readonly leftNodeStyle?: MarkStyle<GraphNodeGeometry<L>, NodeStyle> | undefined
```

Related API: [MarkStyle](/reference/components/graph-visualization/), [GraphNodeGeometry](/reference/components/graph-visualization/), [NodeStyle](/reference/components/graph-visualization/).

Style or geometry-aware style for left nodes. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:774](/source/packages/core/src/features/viz/lib/graph/types-ts/#L774)

</details>

<span id="api-BipartiteGraphProps-rightNodeStyle"></span>
<details>
<summary>rightNodeStyle (optional)</summary>


```ts
readonly rightNodeStyle?: MarkStyle<GraphNodeGeometry<R>, NodeStyle> | undefined
```

Related API: [MarkStyle](/reference/components/graph-visualization/), [GraphNodeGeometry](/reference/components/graph-visualization/), [NodeStyle](/reference/components/graph-visualization/).

Style or geometry-aware style for right nodes. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:776](/source/packages/core/src/features/viz/lib/graph/types-ts/#L776)

</details>

<span id="api-BipartiteGraphProps-edgeStyle"></span>
<details>
<summary>edgeStyle (optional)</summary>


```ts
readonly edgeStyle?: MarkStyle<BipartiteEdgeGeometry<L, R, E>, EdgeStyle> | undefined
```

Related API: [MarkStyle](/reference/components/graph-visualization/), [BipartiteEdgeGeometry](/reference/components/graph-visualization/), [EdgeStyle](/reference/components/graph-visualization/).

Style or geometry-aware style for edge marks. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:778](/source/packages/core/src/features/viz/lib/graph/types-ts/#L778)

</details>

<span id="api-BipartiteGraphProps-labelStyle"></span>
<details>
<summary>labelStyle (optional)</summary>


```ts
readonly labelStyle?: Style<LabelStyle> | undefined
```

Related API: [Style](/reference/components/graph-visualization/), [LabelStyle](/reference/components/graph-visualization/).

Style for decorative labels. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:780](/source/packages/core/src/features/viz/lib/graph/types-ts/#L780)

</details>

<span id="api-BipartiteGraphProps-renderLeftNode"></span>
<details>
<summary>renderLeftNode (optional)</summary>


```ts
readonly renderLeftNode?: ((node: GraphNodeGeometry<L>) => PibblNode) | undefined
```

Related API: [GraphNodeGeometry](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

Replaces a default left-node mark. GraphLayout

##### Parameters

- **`node`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:784](/source/packages/core/src/features/viz/lib/graph/types-ts/#L784)

</details>

<span id="api-BipartiteGraphProps-renderRightNode"></span>
<details>
<summary>renderRightNode (optional)</summary>


```ts
readonly renderRightNode?: ((node: GraphNodeGeometry<R>) => PibblNode) | undefined
```

Related API: [GraphNodeGeometry](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

Replaces a default right-node mark. GraphLayout

##### Parameters

- **`node`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:788](/source/packages/core/src/features/viz/lib/graph/types-ts/#L788)

</details>

<span id="api-BipartiteGraphProps-renderEdge"></span>
<details>
<summary>renderEdge (optional)</summary>


```ts
readonly renderEdge?: ((edge: BipartiteEdgeGeometry<L, R, E>) => PibblNode) | undefined
```

Related API: [BipartiteEdgeGeometry](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

Replaces the default edge mark with this composition. GraphLayout

##### Parameters

- **`edge`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:792](/source/packages/core/src/features/viz/lib/graph/types-ts/#L792)

</details>

<span id="api-BipartiteGraphProps-onLeftNodeClick"></span>
<details>
<summary>onLeftNodeClick (optional)</summary>


```ts
readonly onLeftNodeClick?: ((node: GraphNodeGeometry<L>, event: ClickEvent) => void) | undefined
```

Related API: [GraphNodeGeometry](/reference/components/graph-visualization/).

Receives clicks on left-side nodes. GraphLayout

##### Parameters

- **`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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L796)

</details>

<span id="api-BipartiteGraphProps-onRightNodeClick"></span>
<details>
<summary>onRightNodeClick (optional)</summary>


```ts
readonly onRightNodeClick?: ((node: GraphNodeGeometry<R>, event: ClickEvent) => void) | undefined
```

Related API: [GraphNodeGeometry](/reference/components/graph-visualization/).

Receives clicks on right-side nodes. GraphLayout

##### Parameters

- **`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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L803)

</details>

<span id="api-BipartiteGraphProps-onEdgeClick"></span>
<details>
<summary>onEdgeClick (optional)</summary>


```ts
readonly onEdgeClick?: ((edge: BipartiteEdgeGeometry<L, R, E>, event: ClickEvent) => void) | undefined
```

Related API: [BipartiteEdgeGeometry](/reference/components/graph-visualization/).

Receives clicks on an edge mark. GraphLayout

##### Parameters

- **`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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L810)

</details>

<span id="api-BipartiteGraphProps-leftKey"></span>
<details>
<summary>leftKey</summary>


```ts
readonly leftKey: Accessor<L, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each left-side record’s stable key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:683](/source/packages/core/src/features/viz/lib/graph/types-ts/#L683)

</details>

<span id="api-BipartiteGraphProps-rightKey"></span>
<details>
<summary>rightKey</summary>


```ts
readonly rightKey: Accessor<R, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each right-side record’s stable key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:685](/source/packages/core/src/features/viz/lib/graph/types-ts/#L685)

</details>

<span id="api-BipartiteGraphProps-edgeKey"></span>
<details>
<summary>edgeKey</summary>


```ts
readonly edgeKey: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each edge’s stable key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:687](/source/packages/core/src/features/viz/lib/graph/types-ts/#L687)

</details>

<span id="api-BipartiteGraphProps-source"></span>
<details>
<summary>source</summary>


```ts
readonly source: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads an edge source key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:689](/source/packages/core/src/features/viz/lib/graph/types-ts/#L689)

</details>

<span id="api-BipartiteGraphProps-target"></span>
<details>
<summary>target</summary>


```ts
readonly target: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads an edge target key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:691](/source/packages/core/src/features/viz/lib/graph/types-ts/#L691)

</details>

<span id="api-BipartiteGraphProps-leftLabel"></span>
<details>
<summary>leftLabel (optional)</summary>


```ts
readonly leftLabel?: Accessor<L, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a left-side label. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:693](/source/packages/core/src/features/viz/lib/graph/types-ts/#L693)

</details>

<span id="api-BipartiteGraphProps-rightLabel"></span>
<details>
<summary>rightLabel (optional)</summary>


```ts
readonly rightLabel?: Accessor<R, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a right-side label. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:695](/source/packages/core/src/features/viz/lib/graph/types-ts/#L695)

</details>

<span id="api-PartitionAccessors"></span>

### PartitionAccessors

Hierarchy readers plus a leaf quantity, unit, and optional formatter. GraphLayout

```ts
interface PartitionAccessors<D> extends HierarchyAccessors<D>
```

Related API: [PartitionAccessors](/reference/components/graph-visualization/), [HierarchyAccessors](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:817](/source/packages/core/src/features/viz/lib/graph/types-ts/#L817)

#### Properties and methods

<span id="api-PartitionAccessors-value"></span>
<details>
<summary>value</summary>


```ts
readonly value: Accessor<D, number>
```

Related API: [Accessor](/reference/components/graph-visualization/).

Reads the finite quantitative value. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:819](/source/packages/core/src/features/viz/lib/graph/types-ts/#L819)

</details>

<span id="api-PartitionAccessors-unit"></span>
<details>
<summary>unit</summary>


```ts
readonly unit: string
```

Display unit for quantitative values. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:821](/source/packages/core/src/features/viz/lib/graph/types-ts/#L821)

</details>

<span id="api-PartitionAccessors-formatValue"></span>
<details>
<summary>formatValue (optional)</summary>


```ts
readonly formatValue?: ((value: number) => string) | undefined
```

Formats a quantitative value for display. GraphLayout

##### Parameters

- **`value`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:825](/source/packages/core/src/features/viz/lib/graph/types-ts/#L825)

</details>

<span id="api-PartitionAccessors-keyBy"></span>
<details>
<summary>keyBy</summary>


```ts
readonly keyBy: Accessor<D, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each hierarchy record’s stable key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:359](/source/packages/core/src/features/viz/lib/graph/types-ts/#L359)

</details>

<span id="api-PartitionAccessors-childrenBy"></span>
<details>
<summary>childrenBy</summary>


```ts
readonly childrenBy: Accessor<D, readonly D[] | null | undefined>
```

Related API: [Accessor](/reference/components/graph-visualization/).

Reads ordered child records; null and undefined mean no children. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:361](/source/packages/core/src/features/viz/lib/graph/types-ts/#L361)

</details>

<span id="api-PartitionAccessors-label"></span>
<details>
<summary>label (optional)</summary>


```ts
readonly label?: Accessor<D, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a node’s primary text. LabelGeometry

[View source — packages/core/src/features/viz/lib/graph/types.ts:363](/source/packages/core/src/features/viz/lib/graph/types-ts/#L363)

</details>

<span id="api-PartitionAccessors-collapsed"></span>
<details>
<summary>collapsed (optional)</summary>


```ts
readonly collapsed?: ((node: D) => boolean) | undefined
```

Whether this item hides its descendants. GraphLayout

##### Parameters

- **`node`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:367](/source/packages/core/src/features/viz/lib/graph/types-ts/#L367)

</details>

<span id="api-PartitionCellGeometry"></span>

### PartitionCellGeometry

Immutable hierarchy-cell geometry with aggregate quantity metadata. GraphLayout

```ts
interface PartitionCellGeometry<D>
```

Related API: [PartitionCellGeometry](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:828](/source/packages/core/src/features/viz/lib/graph/types-ts/#L828)

#### Properties and methods

<span id="api-PartitionCellGeometry-key"></span>
<details>
<summary>key</summary>


```ts
readonly key: VizKey
```

Related API: [VizKey](/reference/components/graph-visualization/).

Stable application-provided key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:830](/source/packages/core/src/features/viz/lib/graph/types-ts/#L830)

</details>

<span id="api-PartitionCellGeometry-datum"></span>
<details>
<summary>datum</summary>


```ts
readonly datum: D
```

Original application record. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:832](/source/packages/core/src/features/viz/lib/graph/types-ts/#L832)

</details>

<span id="api-PartitionCellGeometry-parentKey"></span>
<details>
<summary>parentKey</summary>


```ts
readonly parentKey: VizKey | null
```

Related API: [VizKey](/reference/components/graph-visualization/).

Parent key, or null for a top-level item. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:834](/source/packages/core/src/features/viz/lib/graph/types-ts/#L834)

</details>

<span id="api-PartitionCellGeometry-depth"></span>
<details>
<summary>depth</summary>


```ts
readonly depth: number
```

Zero-based hierarchy depth. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:836](/source/packages/core/src/features/viz/lib/graph/types-ts/#L836)

</details>

<span id="api-PartitionCellGeometry-value"></span>
<details>
<summary>value</summary>


```ts
readonly value: number
```

Reads the finite quantitative value. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:838](/source/packages/core/src/features/viz/lib/graph/types-ts/#L838)

</details>

<span id="api-PartitionCellGeometry-fraction"></span>
<details>
<summary>fraction</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L840)

</details>

<span id="api-PartitionCellGeometry-isLeaf"></span>
<details>
<summary>isLeaf</summary>


```ts
readonly isLeaf: boolean
```

Whether the original record has no children. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:842](/source/packages/core/src/features/viz/lib/graph/types-ts/#L842)

</details>

<span id="api-PartitionCellGeometry-collapsed"></span>
<details>
<summary>collapsed</summary>


```ts
readonly collapsed: boolean
```

Whether this item hides its descendants. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:844](/source/packages/core/src/features/viz/lib/graph/types-ts/#L844)

</details>

<span id="api-PartitionCellGeometry-bounds"></span>
<details>
<summary>bounds</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L846)

</details>

<span id="api-PartitionCellGeometry-label"></span>
<details>
<summary>label</summary>


```ts
readonly label: LabelGeometry | null
```

Related API: [LabelGeometry](/reference/components/graph-visualization/).

Decorative label geometry. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:848](/source/packages/core/src/features/viz/lib/graph/types-ts/#L848)

</details>

<span id="api-PartitionLayout"></span>

### PartitionLayout

Immutable hierarchy partition cells and root total. GraphLayout

```ts
interface PartitionLayout<D>
```

Related API: [PartitionLayout](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:851](/source/packages/core/src/features/viz/lib/graph/types-ts/#L851)

#### Properties and methods

<span id="api-PartitionLayout-bounds"></span>
<details>
<summary>bounds</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L853)

</details>

<span id="api-PartitionLayout-rootKey"></span>
<details>
<summary>rootKey</summary>


```ts
readonly rootKey: VizKey
```

Related API: [VizKey](/reference/components/graph-visualization/).

Stable key of the hierarchy root. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:855](/source/packages/core/src/features/viz/lib/graph/types-ts/#L855)

</details>

<span id="api-PartitionLayout-total"></span>
<details>
<summary>total</summary>


```ts
readonly total: number
```

Sum of all source leaf values. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:857](/source/packages/core/src/features/viz/lib/graph/types-ts/#L857)

</details>

<span id="api-PartitionLayout-unit"></span>
<details>
<summary>unit</summary>


```ts
readonly unit: string
```

Display unit for quantitative values. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:859](/source/packages/core/src/features/viz/lib/graph/types-ts/#L859)

</details>

<span id="api-PartitionLayout-cells"></span>
<details>
<summary>cells</summary>


```ts
readonly cells: readonly PartitionCellGeometry<D>[]
```

Related API: [PartitionCellGeometry](/reference/components/graph-visualization/).

Immutable cells in source-stable layout order. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:861](/source/packages/core/src/features/viz/lib/graph/types-ts/#L861)

</details>

<span id="api-PartitionPresentation"></span>

### PartitionPresentation

Default partition-cell paint, rendering, and click behavior. GraphLayout

```ts
interface PartitionPresentation<D>
```

Related API: [PartitionPresentation](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:864](/source/packages/core/src/features/viz/lib/graph/types-ts/#L864)

#### Properties and methods

<span id="api-PartitionPresentation-cellStyle"></span>
<details>
<summary>cellStyle (optional)</summary>


```ts
readonly cellStyle?: MarkStyle<PartitionCellGeometry<D>, NodeStyle> | undefined
```

Related API: [MarkStyle](/reference/components/graph-visualization/), [PartitionCellGeometry](/reference/components/graph-visualization/), [NodeStyle](/reference/components/graph-visualization/).

Style or geometry-aware style for cell marks. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:866](/source/packages/core/src/features/viz/lib/graph/types-ts/#L866)

</details>

<span id="api-PartitionPresentation-labelStyle"></span>
<details>
<summary>labelStyle (optional)</summary>


```ts
readonly labelStyle?: Style<LabelStyle> | undefined
```

Related API: [Style](/reference/components/graph-visualization/), [LabelStyle](/reference/components/graph-visualization/).

Style for decorative labels. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:868](/source/packages/core/src/features/viz/lib/graph/types-ts/#L868)

</details>

<span id="api-PartitionPresentation-renderCell"></span>
<details>
<summary>renderCell (optional)</summary>


```ts
readonly renderCell?: ((cell: PartitionCellGeometry<D>) => PibblNode) | undefined
```

Related API: [PartitionCellGeometry](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

Replaces the default cell mark with this composition. GraphLayout

##### Parameters

- **`cell`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:872](/source/packages/core/src/features/viz/lib/graph/types-ts/#L872)

</details>

<span id="api-PartitionPresentation-onCellClick"></span>
<details>
<summary>onCellClick (optional)</summary>


```ts
readonly onCellClick?: ((cell: PartitionCellGeometry<D>, event: ClickEvent) => void) | undefined
```

Related API: [PartitionCellGeometry](/reference/components/graph-visualization/).

Receives clicks on a cell mark. GraphLayout

##### Parameters

- **`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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L876)

</details>

<span id="api-TreemapStyle"></span>

### TreemapStyle

Frame options for squarified-cell gaps, padding, and headers. GraphLayout

```ts
interface TreemapStyle extends GStyle
```

Related API: [TreemapStyle](/reference/components/graph-visualization/), [GStyle](/reference/types/styles/#gstyle).

[View source — packages/core/src/features/viz/lib/graph/types.ts:882](/source/packages/core/src/features/viz/lib/graph/types-ts/#L882)

#### Properties and methods

<span id="api-TreemapStyle-cellGap"></span>
<details>
<summary>cellGap (optional)</summary>


```ts
readonly cellGap?: number | undefined
```

Gap between cells in local logical pixels. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:884](/source/packages/core/src/features/viz/lib/graph/types-ts/#L884)

</details>

<span id="api-TreemapStyle-padding"></span>
<details>
<summary>padding (optional)</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L886)

</details>

<span id="api-TreemapStyle-headerHeight"></span>
<details>
<summary>headerHeight (optional)</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L888)

</details>

<span id="api-TreemapStyle-position"></span>
<details>
<summary>position (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L194)

</details>

<span id="api-TreemapStyle-left"></span>
<details>
<summary>left (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L196)

</details>

<span id="api-TreemapStyle-right"></span>
<details>
<summary>right (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L198)

</details>

<span id="api-TreemapStyle-top"></span>
<details>
<summary>top (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L200)

</details>

<span id="api-TreemapStyle-bottom"></span>
<details>
<summary>bottom (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L202)

</details>

<span id="api-TreemapStyle-insetStart"></span>
<details>
<summary>insetStart (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L204)

</details>

<span id="api-TreemapStyle-insetEnd"></span>
<details>
<summary>insetEnd (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L206)

</details>

<span id="api-TreemapStyle-aspectRatio"></span>
<details>
<summary>aspectRatio (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L84)

</details>

<span id="api-TreemapStyle-boxSizing"></span>
<details>
<summary>boxSizing (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L89)

</details>

<span id="api-TreemapStyle-width"></span>
<details>
<summary>width (optional)</summary>


```ts
width?: SizingLength | undefined
```

Related API: [SizingLength](/reference/types/layout/#sizinglength).

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

[View source — packages/core/src/lib/style/types.ts:91](/source/packages/core/src/lib/style/types-ts/#L91)

</details>

<span id="api-TreemapStyle-height"></span>
<details>
<summary>height (optional)</summary>


```ts
height?: SizingLength | undefined
```

Related API: [SizingLength](/reference/types/layout/#sizinglength).

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

[View source — packages/core/src/lib/style/types.ts:93](/source/packages/core/src/lib/style/types-ts/#L93)

</details>

<span id="api-TreemapStyle-minWidth"></span>
<details>
<summary>minWidth (optional)</summary>


```ts
minWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L95)

</details>

<span id="api-TreemapStyle-maxWidth"></span>
<details>
<summary>maxWidth (optional)</summary>


```ts
maxWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L97)

</details>

<span id="api-TreemapStyle-minHeight"></span>
<details>
<summary>minHeight (optional)</summary>


```ts
minHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#sizingkeyword).

Minimum permitted height. See Length.

[View source — packages/core/src/lib/style/types.ts:99](/source/packages/core/src/lib/style/types-ts/#L99)

</details>

<span id="api-TreemapStyle-maxHeight"></span>
<details>
<summary>maxHeight (optional)</summary>


```ts
maxHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#sizingkeyword).

Maximum permitted height. See Length.

[View source — packages/core/src/lib/style/types.ts:101](/source/packages/core/src/lib/style/types-ts/#L101)

</details>

<span id="api-TreemapStyle-paddingStart"></span>
<details>
<summary>paddingStart (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L105)

</details>

<span id="api-TreemapStyle-paddingEnd"></span>
<details>
<summary>paddingEnd (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L107)

</details>

<span id="api-TreemapStyle-borderWidth"></span>
<details>
<summary>borderWidth (optional)</summary>


```ts
borderWidth?: EdgeValues<number> | undefined
```

Related API: [EdgeValues](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L109)

</details>

<span id="api-TreemapStyle-borderStartWidth"></span>
<details>
<summary>borderStartWidth (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L111)

</details>

<span id="api-TreemapStyle-borderEndWidth"></span>
<details>
<summary>borderEndWidth (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L113)

</details>

<span id="api-TreemapStyle-overflow"></span>
<details>
<summary>overflow (optional)</summary>


```ts
overflow?: "clip" | "visible" | undefined
```

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

[View source — packages/core/src/lib/style/types.ts:115](/source/packages/core/src/lib/style/types-ts/#L115)

</details>

<span id="api-TreemapStyle-margin"></span>
<details>
<summary>margin (optional)</summary>


```ts
margin?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L146)

</details>

<span id="api-TreemapStyle-marginTop"></span>
<details>
<summary>marginTop (optional)</summary>


```ts
marginTop?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical top margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:148](/source/packages/core/src/lib/style/types-ts/#L148)

</details>

<span id="api-TreemapStyle-marginRight"></span>
<details>
<summary>marginRight (optional)</summary>


```ts
marginRight?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical right margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:150](/source/packages/core/src/lib/style/types-ts/#L150)

</details>

<span id="api-TreemapStyle-marginBottom"></span>
<details>
<summary>marginBottom (optional)</summary>


```ts
marginBottom?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical bottom margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:152](/source/packages/core/src/lib/style/types-ts/#L152)

</details>

<span id="api-TreemapStyle-marginLeft"></span>
<details>
<summary>marginLeft (optional)</summary>


```ts
marginLeft?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical left margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:154](/source/packages/core/src/lib/style/types-ts/#L154)

</details>

<span id="api-TreemapStyle-marginStart"></span>
<details>
<summary>marginStart (optional)</summary>


```ts
marginStart?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L156)

</details>

<span id="api-TreemapStyle-marginEnd"></span>
<details>
<summary>marginEnd (optional)</summary>


```ts
marginEnd?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L158)

</details>

<span id="api-TreemapStyle-alignSelf"></span>
<details>
<summary>alignSelf (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L160)

</details>

<span id="api-TreemapStyle-justifySelf"></span>
<details>
<summary>justifySelf (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L162)

</details>

<span id="api-TreemapStyle-flexBasis"></span>
<details>
<summary>flexBasis (optional)</summary>


```ts
flexBasis?: SizingLength | undefined
```

Related API: [SizingLength](/reference/types/layout/#sizinglength).

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

[View source — packages/core/src/lib/style/types.ts:164](/source/packages/core/src/lib/style/types-ts/#L164)

</details>

<span id="api-TreemapStyle-flexGrow"></span>
<details>
<summary>flexGrow (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L166)

</details>

<span id="api-TreemapStyle-flexShrink"></span>
<details>
<summary>flexShrink (optional)</summary>


```ts
flexShrink?: number | undefined
```

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

[View source — packages/core/src/lib/style/types.ts:168](/source/packages/core/src/lib/style/types-ts/#L168)

</details>

<span id="api-TreemapStyle-gridColumnStart"></span>
<details>
<summary>gridColumnStart (optional)</summary>


```ts
gridColumnStart?: number | undefined
```

Explicit starting grid column. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:170](/source/packages/core/src/lib/style/types-ts/#L170)

</details>

<span id="api-TreemapStyle-gridColumnSpan"></span>
<details>
<summary>gridColumnSpan (optional)</summary>


```ts
gridColumnSpan?: number | undefined
```

Number of columns occupied by this child. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:172](/source/packages/core/src/lib/style/types-ts/#L172)

</details>

<span id="api-TreemapStyle-gridRowStart"></span>
<details>
<summary>gridRowStart (optional)</summary>


```ts
gridRowStart?: number | undefined
```

Explicit starting grid row. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:174](/source/packages/core/src/lib/style/types-ts/#L174)

</details>

<span id="api-TreemapStyle-gridRowSpan"></span>
<details>
<summary>gridRowSpan (optional)</summary>


```ts
gridRowSpan?: number | undefined
```

Number of rows occupied by this child. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:176](/source/packages/core/src/lib/style/types-ts/#L176)

</details>

<span id="api-TreemapStyle-scaleX"></span>
<details>
<summary>scaleX (optional)</summary>


```ts
scaleX?: number | undefined
```

Horizontal scale factor. See GStyle.

[View source — packages/core/src/lib/components/g.ts:46](/source/packages/core/src/lib/components/g-ts/#L46)

</details>

<span id="api-TreemapStyle-scaleY"></span>
<details>
<summary>scaleY (optional)</summary>


```ts
scaleY?: number | undefined
```

Vertical scale factor. See GStyle.

[View source — packages/core/src/lib/components/g.ts:48](/source/packages/core/src/lib/components/g-ts/#L48)

</details>

<span id="api-TreemapStyle-rotationDegrees"></span>
<details>
<summary>rotationDegrees (optional)</summary>


```ts
rotationDegrees?: number | undefined
```

Clockwise rotation in degrees.

[View source — packages/core/src/lib/components/g.ts:50](/source/packages/core/src/lib/components/g-ts/#L50)

</details>

<span id="api-TreemapStyle-rotationOrigin"></span>
<details>
<summary>rotationOrigin (optional)</summary>


```ts
rotationOrigin?: [number, number] | undefined
```

Point around which the rotation is applied. See GStyle.

[View source — packages/core/src/lib/components/g.ts:52](/source/packages/core/src/lib/components/g-ts/#L52)

</details>

<span id="api-TreemapStyle-translateX"></span>
<details>
<summary>translateX (optional)</summary>


```ts
translateX?: number | undefined
```

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

[View source — packages/core/src/lib/components/g.ts:54](/source/packages/core/src/lib/components/g-ts/#L54)

</details>

<span id="api-TreemapStyle-translateY"></span>
<details>
<summary>translateY (optional)</summary>


```ts
translateY?: number | undefined
```

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

[View source — packages/core/src/lib/components/g.ts:56](/source/packages/core/src/lib/components/g-ts/#L56)

</details>

<span id="api-TreemapStyle-skewX"></span>
<details>
<summary>skewX (optional)</summary>


```ts
skewX?: number | undefined
```

Horizontal skew angle in degrees.

[View source — packages/core/src/lib/components/g.ts:58](/source/packages/core/src/lib/components/g-ts/#L58)

</details>

<span id="api-TreemapStyle-skewY"></span>
<details>
<summary>skewY (optional)</summary>


```ts
skewY?: number | undefined
```

Vertical skew angle in degrees.

[View source — packages/core/src/lib/components/g.ts:60](/source/packages/core/src/lib/components/g-ts/#L60)

</details>

<span id="api-TreemapStyle-layoutParticipation"></span>
<details>
<summary>layoutParticipation (optional)</summary>


```ts
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](/source/packages/core/src/lib/types-ts/#L69)

</details>

<span id="api-TreemapStyle-transition"></span>
<details>
<summary>transition (optional)</summary>


```ts
transition?: PibblTransitionBinding | undefined
```

Related API: [PibblTransitionBinding](/reference/hooks/use-visibility-transition/).

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

[View source — packages/core/src/lib/types.ts:71](/source/packages/core/src/lib/types-ts/#L71)

</details>

<span id="api-TreemapStyle-custom"></span>
<details>
<summary>custom (optional)</summary>


```ts
custom?: unknown
```

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

[View source — packages/core/src/lib/types.ts:73](/source/packages/core/src/lib/types-ts/#L73)

</details>

<span id="api-TreemapStyle-filter"></span>
<details>
<summary>filter (optional)</summary>


```ts
filter?: PibblFilter | readonly PibblFilter[] | undefined
```

Related API: [PibblFilter](/reference/types/filters/#pibblfilter).

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

[View source — packages/core/src/lib/types.ts:78](/source/packages/core/src/lib/types-ts/#L78)

</details>

<span id="api-TreemapOptions"></span>

### TreemapOptions

Pure treemap inputs and finite output bounds. GraphLayout

```ts
interface TreemapOptions<D> extends PartitionAccessors<D>
```

Related API: [TreemapOptions](/reference/components/graph-visualization/), [PartitionAccessors](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:891](/source/packages/core/src/features/viz/lib/graph/types-ts/#L891)

#### Properties and methods

<span id="api-TreemapOptions-bounds"></span>
<details>
<summary>bounds</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L893)

</details>

<span id="api-TreemapOptions-cellGap"></span>
<details>
<summary>cellGap (optional)</summary>


```ts
readonly cellGap?: number | undefined
```

Gap between cells in local logical pixels. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:895](/source/packages/core/src/features/viz/lib/graph/types-ts/#L895)

</details>

<span id="api-TreemapOptions-padding"></span>
<details>
<summary>padding (optional)</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L897)

</details>

<span id="api-TreemapOptions-headerHeight"></span>
<details>
<summary>headerHeight (optional)</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L899)

</details>

<span id="api-TreemapOptions-keyBy"></span>
<details>
<summary>keyBy</summary>


```ts
readonly keyBy: Accessor<D, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each hierarchy record’s stable key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:359](/source/packages/core/src/features/viz/lib/graph/types-ts/#L359)

</details>

<span id="api-TreemapOptions-childrenBy"></span>
<details>
<summary>childrenBy</summary>


```ts
readonly childrenBy: Accessor<D, readonly D[] | null | undefined>
```

Related API: [Accessor](/reference/components/graph-visualization/).

Reads ordered child records; null and undefined mean no children. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:361](/source/packages/core/src/features/viz/lib/graph/types-ts/#L361)

</details>

<span id="api-TreemapOptions-label"></span>
<details>
<summary>label (optional)</summary>


```ts
readonly label?: Accessor<D, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a node’s primary text. LabelGeometry

[View source — packages/core/src/features/viz/lib/graph/types.ts:363](/source/packages/core/src/features/viz/lib/graph/types-ts/#L363)

</details>

<span id="api-TreemapOptions-collapsed"></span>
<details>
<summary>collapsed (optional)</summary>


```ts
readonly collapsed?: ((node: D) => boolean) | undefined
```

Whether this item hides its descendants. GraphLayout

##### Parameters

- **`node`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:367](/source/packages/core/src/features/viz/lib/graph/types-ts/#L367)

</details>

<span id="api-TreemapOptions-value"></span>
<details>
<summary>value</summary>


```ts
readonly value: Accessor<D, number>
```

Related API: [Accessor](/reference/components/graph-visualization/).

Reads the finite quantitative value. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:819](/source/packages/core/src/features/viz/lib/graph/types-ts/#L819)

</details>

<span id="api-TreemapOptions-unit"></span>
<details>
<summary>unit</summary>


```ts
readonly unit: string
```

Display unit for quantitative values. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:821](/source/packages/core/src/features/viz/lib/graph/types-ts/#L821)

</details>

<span id="api-TreemapOptions-formatValue"></span>
<details>
<summary>formatValue (optional)</summary>


```ts
readonly formatValue?: ((value: number) => string) | undefined
```

Formats a quantitative value for display. GraphLayout

##### Parameters

- **`value`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:825](/source/packages/core/src/features/viz/lib/graph/types-ts/#L825)

</details>

<span id="api-TreemapProps"></span>

### TreemapProps

Reactive hierarchy input and presentation for Treemap. GraphLayout

```ts
interface TreemapProps<D> extends PartitionAccessors<D>, PartitionPresentation<D>
```

Related API: [TreemapProps](/reference/components/graph-visualization/), [PartitionAccessors](/reference/components/graph-visualization/), [PartitionPresentation](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:902](/source/packages/core/src/features/viz/lib/graph/types-ts/#L902)

#### Properties and methods

<span id="api-TreemapProps-root"></span>
<details>
<summary>root</summary>


```ts
readonly root: SignalValue<D>
```

Related API: [SignalValue](/reference/types/signal-inputs/#signalvalue).

Hierarchy root; publish a new root to update. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:905](/source/packages/core/src/features/viz/lib/graph/types-ts/#L905)

</details>

<span id="api-TreemapProps-style"></span>
<details>
<summary>style (optional)</summary>


```ts
readonly style?: Style<TreemapStyle> | undefined
```

Related API: [Style](/reference/components/graph-visualization/), [TreemapStyle](/reference/components/graph-visualization/).

Frame style and responsive size allocation. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:907](/source/packages/core/src/features/viz/lib/graph/types-ts/#L907)

</details>

<span id="api-TreemapProps-keyBy"></span>
<details>
<summary>keyBy</summary>


```ts
readonly keyBy: Accessor<D, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each hierarchy record’s stable key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:359](/source/packages/core/src/features/viz/lib/graph/types-ts/#L359)

</details>

<span id="api-TreemapProps-childrenBy"></span>
<details>
<summary>childrenBy</summary>


```ts
readonly childrenBy: Accessor<D, readonly D[] | null | undefined>
```

Related API: [Accessor](/reference/components/graph-visualization/).

Reads ordered child records; null and undefined mean no children. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:361](/source/packages/core/src/features/viz/lib/graph/types-ts/#L361)

</details>

<span id="api-TreemapProps-label"></span>
<details>
<summary>label (optional)</summary>


```ts
readonly label?: Accessor<D, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a node’s primary text. LabelGeometry

[View source — packages/core/src/features/viz/lib/graph/types.ts:363](/source/packages/core/src/features/viz/lib/graph/types-ts/#L363)

</details>

<span id="api-TreemapProps-collapsed"></span>
<details>
<summary>collapsed (optional)</summary>


```ts
readonly collapsed?: ((node: D) => boolean) | undefined
```

Whether this item hides its descendants. GraphLayout

##### Parameters

- **`node`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:367](/source/packages/core/src/features/viz/lib/graph/types-ts/#L367)

</details>

<span id="api-TreemapProps-value"></span>
<details>
<summary>value</summary>


```ts
readonly value: Accessor<D, number>
```

Related API: [Accessor](/reference/components/graph-visualization/).

Reads the finite quantitative value. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:819](/source/packages/core/src/features/viz/lib/graph/types-ts/#L819)

</details>

<span id="api-TreemapProps-unit"></span>
<details>
<summary>unit</summary>


```ts
readonly unit: string
```

Display unit for quantitative values. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:821](/source/packages/core/src/features/viz/lib/graph/types-ts/#L821)

</details>

<span id="api-TreemapProps-formatValue"></span>
<details>
<summary>formatValue (optional)</summary>


```ts
readonly formatValue?: ((value: number) => string) | undefined
```

Formats a quantitative value for display. GraphLayout

##### Parameters

- **`value`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:825](/source/packages/core/src/features/viz/lib/graph/types-ts/#L825)

</details>

<span id="api-TreemapProps-cellStyle"></span>
<details>
<summary>cellStyle (optional)</summary>


```ts
readonly cellStyle?: MarkStyle<PartitionCellGeometry<D>, NodeStyle> | undefined
```

Related API: [MarkStyle](/reference/components/graph-visualization/), [PartitionCellGeometry](/reference/components/graph-visualization/), [NodeStyle](/reference/components/graph-visualization/).

Style or geometry-aware style for cell marks. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:866](/source/packages/core/src/features/viz/lib/graph/types-ts/#L866)

</details>

<span id="api-TreemapProps-labelStyle"></span>
<details>
<summary>labelStyle (optional)</summary>


```ts
readonly labelStyle?: Style<LabelStyle> | undefined
```

Related API: [Style](/reference/components/graph-visualization/), [LabelStyle](/reference/components/graph-visualization/).

Style for decorative labels. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:868](/source/packages/core/src/features/viz/lib/graph/types-ts/#L868)

</details>

<span id="api-TreemapProps-renderCell"></span>
<details>
<summary>renderCell (optional)</summary>


```ts
readonly renderCell?: ((cell: PartitionCellGeometry<D>) => PibblNode) | undefined
```

Related API: [PartitionCellGeometry](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

Replaces the default cell mark with this composition. GraphLayout

##### Parameters

- **`cell`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:872](/source/packages/core/src/features/viz/lib/graph/types-ts/#L872)

</details>

<span id="api-TreemapProps-onCellClick"></span>
<details>
<summary>onCellClick (optional)</summary>


```ts
readonly onCellClick?: ((cell: PartitionCellGeometry<D>, event: ClickEvent) => void) | undefined
```

Related API: [PartitionCellGeometry](/reference/components/graph-visualization/).

Receives clicks on a cell mark. GraphLayout

##### Parameters

- **`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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L876)

</details>

<span id="api-PartitionCellProps"></span>

### PartitionCellProps

Geometry, paint, events, and content for one partition cell. GraphLayout

```ts
interface PartitionCellProps<D> extends MarkInteraction
```

Related API: [PartitionCellProps](/reference/components/graph-visualization/), [MarkInteraction](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:910](/source/packages/core/src/features/viz/lib/graph/types-ts/#L910)

#### Properties and methods

<span id="api-PartitionCellProps-cell"></span>
<details>
<summary>cell</summary>


```ts
readonly cell: PartitionCellGeometry<D>
```

Related API: [PartitionCellGeometry](/reference/components/graph-visualization/).

Immutable cell geometry and its original records. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:912](/source/packages/core/src/features/viz/lib/graph/types-ts/#L912)

</details>

<span id="api-PartitionCellProps-style"></span>
<details>
<summary>style (optional)</summary>


```ts
readonly style?: Style<NodeStyle> | undefined
```

Related API: [Style](/reference/components/graph-visualization/), [NodeStyle](/reference/components/graph-visualization/).

Frame style and responsive size allocation. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:914](/source/packages/core/src/features/viz/lib/graph/types-ts/#L914)

</details>

<span id="api-PartitionCellProps-children"></span>
<details>
<summary>children (optional)</summary>


```ts
readonly children?: PibblNode
```

Related API: [PibblNode](/reference/types/elements-components/#pibblnode).

Optional content painted with this mark. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:916](/source/packages/core/src/features/viz/lib/graph/types-ts/#L916)

</details>

<span id="api-PartitionCellProps-pointerEvents"></span>
<details>
<summary>pointerEvents (optional)</summary>


```ts
readonly pointerEvents?: PibblPointerEvents | undefined
```

Related API: [PibblPointerEvents](/reference/types/events/#pibblpointerevents).

Whether this content participates in pointer targeting. See PibblPointerEvents.

[View source — packages/core/src/lib/events/types.ts:126](/source/packages/core/src/lib/events/types-ts/#L126)

</details>

<span id="api-PartitionCellProps-keyboardFocusable"></span>
<details>
<summary>keyboardFocusable (optional)</summary>


```ts
readonly keyboardFocusable?: boolean | undefined
```

Whether the mark enters logical keyboard focus. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:185](/source/packages/core/src/features/viz/lib/graph/types-ts/#L185)

</details>

<span id="api-PartitionCellProps-keyboardNavigationBounds"></span>
<details>
<summary>keyboardNavigationBounds (optional)</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L187)

</details>

<span id="api-NeighborhoodStyle"></span>

### NeighborhoodStyle

Frame options for radial hop-ring and node spacing. GraphLayout

```ts
interface NeighborhoodStyle extends GStyle
```

Related API: [NeighborhoodStyle](/reference/components/graph-visualization/), [GStyle](/reference/types/styles/#gstyle).

[View source — packages/core/src/features/viz/lib/graph/types.ts:920](/source/packages/core/src/features/viz/lib/graph/types-ts/#L920)

#### Properties and methods

<span id="api-NeighborhoodStyle-ringGap"></span>
<details>
<summary>ringGap (optional)</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L922)

</details>

<span id="api-NeighborhoodStyle-nodeGap"></span>
<details>
<summary>nodeGap (optional)</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L924)

</details>

<span id="api-NeighborhoodStyle-position"></span>
<details>
<summary>position (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L194)

</details>

<span id="api-NeighborhoodStyle-left"></span>
<details>
<summary>left (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L196)

</details>

<span id="api-NeighborhoodStyle-right"></span>
<details>
<summary>right (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L198)

</details>

<span id="api-NeighborhoodStyle-top"></span>
<details>
<summary>top (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L200)

</details>

<span id="api-NeighborhoodStyle-bottom"></span>
<details>
<summary>bottom (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L202)

</details>

<span id="api-NeighborhoodStyle-insetStart"></span>
<details>
<summary>insetStart (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L204)

</details>

<span id="api-NeighborhoodStyle-insetEnd"></span>
<details>
<summary>insetEnd (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L206)

</details>

<span id="api-NeighborhoodStyle-aspectRatio"></span>
<details>
<summary>aspectRatio (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L84)

</details>

<span id="api-NeighborhoodStyle-boxSizing"></span>
<details>
<summary>boxSizing (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L89)

</details>

<span id="api-NeighborhoodStyle-width"></span>
<details>
<summary>width (optional)</summary>


```ts
width?: SizingLength | undefined
```

Related API: [SizingLength](/reference/types/layout/#sizinglength).

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

[View source — packages/core/src/lib/style/types.ts:91](/source/packages/core/src/lib/style/types-ts/#L91)

</details>

<span id="api-NeighborhoodStyle-height"></span>
<details>
<summary>height (optional)</summary>


```ts
height?: SizingLength | undefined
```

Related API: [SizingLength](/reference/types/layout/#sizinglength).

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

[View source — packages/core/src/lib/style/types.ts:93](/source/packages/core/src/lib/style/types-ts/#L93)

</details>

<span id="api-NeighborhoodStyle-minWidth"></span>
<details>
<summary>minWidth (optional)</summary>


```ts
minWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L95)

</details>

<span id="api-NeighborhoodStyle-maxWidth"></span>
<details>
<summary>maxWidth (optional)</summary>


```ts
maxWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L97)

</details>

<span id="api-NeighborhoodStyle-minHeight"></span>
<details>
<summary>minHeight (optional)</summary>


```ts
minHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#sizingkeyword).

Minimum permitted height. See Length.

[View source — packages/core/src/lib/style/types.ts:99](/source/packages/core/src/lib/style/types-ts/#L99)

</details>

<span id="api-NeighborhoodStyle-maxHeight"></span>
<details>
<summary>maxHeight (optional)</summary>


```ts
maxHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#sizingkeyword).

Maximum permitted height. See Length.

[View source — packages/core/src/lib/style/types.ts:101](/source/packages/core/src/lib/style/types-ts/#L101)

</details>

<span id="api-NeighborhoodStyle-padding"></span>
<details>
<summary>padding (optional)</summary>


```ts
padding?: EdgeValues<number | `${number}%`> | undefined
```

Related API: [EdgeValues](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L103)

</details>

<span id="api-NeighborhoodStyle-paddingStart"></span>
<details>
<summary>paddingStart (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L105)

</details>

<span id="api-NeighborhoodStyle-paddingEnd"></span>
<details>
<summary>paddingEnd (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L107)

</details>

<span id="api-NeighborhoodStyle-borderWidth"></span>
<details>
<summary>borderWidth (optional)</summary>


```ts
borderWidth?: EdgeValues<number> | undefined
```

Related API: [EdgeValues](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L109)

</details>

<span id="api-NeighborhoodStyle-borderStartWidth"></span>
<details>
<summary>borderStartWidth (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L111)

</details>

<span id="api-NeighborhoodStyle-borderEndWidth"></span>
<details>
<summary>borderEndWidth (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L113)

</details>

<span id="api-NeighborhoodStyle-overflow"></span>
<details>
<summary>overflow (optional)</summary>


```ts
overflow?: "clip" | "visible" | undefined
```

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

[View source — packages/core/src/lib/style/types.ts:115](/source/packages/core/src/lib/style/types-ts/#L115)

</details>

<span id="api-NeighborhoodStyle-margin"></span>
<details>
<summary>margin (optional)</summary>


```ts
margin?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L146)

</details>

<span id="api-NeighborhoodStyle-marginTop"></span>
<details>
<summary>marginTop (optional)</summary>


```ts
marginTop?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical top margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:148](/source/packages/core/src/lib/style/types-ts/#L148)

</details>

<span id="api-NeighborhoodStyle-marginRight"></span>
<details>
<summary>marginRight (optional)</summary>


```ts
marginRight?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical right margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:150](/source/packages/core/src/lib/style/types-ts/#L150)

</details>

<span id="api-NeighborhoodStyle-marginBottom"></span>
<details>
<summary>marginBottom (optional)</summary>


```ts
marginBottom?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical bottom margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:152](/source/packages/core/src/lib/style/types-ts/#L152)

</details>

<span id="api-NeighborhoodStyle-marginLeft"></span>
<details>
<summary>marginLeft (optional)</summary>


```ts
marginLeft?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical left margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:154](/source/packages/core/src/lib/style/types-ts/#L154)

</details>

<span id="api-NeighborhoodStyle-marginStart"></span>
<details>
<summary>marginStart (optional)</summary>


```ts
marginStart?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L156)

</details>

<span id="api-NeighborhoodStyle-marginEnd"></span>
<details>
<summary>marginEnd (optional)</summary>


```ts
marginEnd?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L158)

</details>

<span id="api-NeighborhoodStyle-alignSelf"></span>
<details>
<summary>alignSelf (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L160)

</details>

<span id="api-NeighborhoodStyle-justifySelf"></span>
<details>
<summary>justifySelf (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L162)

</details>

<span id="api-NeighborhoodStyle-flexBasis"></span>
<details>
<summary>flexBasis (optional)</summary>


```ts
flexBasis?: SizingLength | undefined
```

Related API: [SizingLength](/reference/types/layout/#sizinglength).

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

[View source — packages/core/src/lib/style/types.ts:164](/source/packages/core/src/lib/style/types-ts/#L164)

</details>

<span id="api-NeighborhoodStyle-flexGrow"></span>
<details>
<summary>flexGrow (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L166)

</details>

<span id="api-NeighborhoodStyle-flexShrink"></span>
<details>
<summary>flexShrink (optional)</summary>


```ts
flexShrink?: number | undefined
```

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

[View source — packages/core/src/lib/style/types.ts:168](/source/packages/core/src/lib/style/types-ts/#L168)

</details>

<span id="api-NeighborhoodStyle-gridColumnStart"></span>
<details>
<summary>gridColumnStart (optional)</summary>


```ts
gridColumnStart?: number | undefined
```

Explicit starting grid column. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:170](/source/packages/core/src/lib/style/types-ts/#L170)

</details>

<span id="api-NeighborhoodStyle-gridColumnSpan"></span>
<details>
<summary>gridColumnSpan (optional)</summary>


```ts
gridColumnSpan?: number | undefined
```

Number of columns occupied by this child. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:172](/source/packages/core/src/lib/style/types-ts/#L172)

</details>

<span id="api-NeighborhoodStyle-gridRowStart"></span>
<details>
<summary>gridRowStart (optional)</summary>


```ts
gridRowStart?: number | undefined
```

Explicit starting grid row. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:174](/source/packages/core/src/lib/style/types-ts/#L174)

</details>

<span id="api-NeighborhoodStyle-gridRowSpan"></span>
<details>
<summary>gridRowSpan (optional)</summary>


```ts
gridRowSpan?: number | undefined
```

Number of rows occupied by this child. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:176](/source/packages/core/src/lib/style/types-ts/#L176)

</details>

<span id="api-NeighborhoodStyle-scaleX"></span>
<details>
<summary>scaleX (optional)</summary>


```ts
scaleX?: number | undefined
```

Horizontal scale factor. See GStyle.

[View source — packages/core/src/lib/components/g.ts:46](/source/packages/core/src/lib/components/g-ts/#L46)

</details>

<span id="api-NeighborhoodStyle-scaleY"></span>
<details>
<summary>scaleY (optional)</summary>


```ts
scaleY?: number | undefined
```

Vertical scale factor. See GStyle.

[View source — packages/core/src/lib/components/g.ts:48](/source/packages/core/src/lib/components/g-ts/#L48)

</details>

<span id="api-NeighborhoodStyle-rotationDegrees"></span>
<details>
<summary>rotationDegrees (optional)</summary>


```ts
rotationDegrees?: number | undefined
```

Clockwise rotation in degrees.

[View source — packages/core/src/lib/components/g.ts:50](/source/packages/core/src/lib/components/g-ts/#L50)

</details>

<span id="api-NeighborhoodStyle-rotationOrigin"></span>
<details>
<summary>rotationOrigin (optional)</summary>


```ts
rotationOrigin?: [number, number] | undefined
```

Point around which the rotation is applied. See GStyle.

[View source — packages/core/src/lib/components/g.ts:52](/source/packages/core/src/lib/components/g-ts/#L52)

</details>

<span id="api-NeighborhoodStyle-translateX"></span>
<details>
<summary>translateX (optional)</summary>


```ts
translateX?: number | undefined
```

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

[View source — packages/core/src/lib/components/g.ts:54](/source/packages/core/src/lib/components/g-ts/#L54)

</details>

<span id="api-NeighborhoodStyle-translateY"></span>
<details>
<summary>translateY (optional)</summary>


```ts
translateY?: number | undefined
```

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

[View source — packages/core/src/lib/components/g.ts:56](/source/packages/core/src/lib/components/g-ts/#L56)

</details>

<span id="api-NeighborhoodStyle-skewX"></span>
<details>
<summary>skewX (optional)</summary>


```ts
skewX?: number | undefined
```

Horizontal skew angle in degrees.

[View source — packages/core/src/lib/components/g.ts:58](/source/packages/core/src/lib/components/g-ts/#L58)

</details>

<span id="api-NeighborhoodStyle-skewY"></span>
<details>
<summary>skewY (optional)</summary>


```ts
skewY?: number | undefined
```

Vertical skew angle in degrees.

[View source — packages/core/src/lib/components/g.ts:60](/source/packages/core/src/lib/components/g-ts/#L60)

</details>

<span id="api-NeighborhoodStyle-layoutParticipation"></span>
<details>
<summary>layoutParticipation (optional)</summary>


```ts
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](/source/packages/core/src/lib/types-ts/#L69)

</details>

<span id="api-NeighborhoodStyle-transition"></span>
<details>
<summary>transition (optional)</summary>


```ts
transition?: PibblTransitionBinding | undefined
```

Related API: [PibblTransitionBinding](/reference/hooks/use-visibility-transition/).

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

[View source — packages/core/src/lib/types.ts:71](/source/packages/core/src/lib/types-ts/#L71)

</details>

<span id="api-NeighborhoodStyle-custom"></span>
<details>
<summary>custom (optional)</summary>


```ts
custom?: unknown
```

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

[View source — packages/core/src/lib/types.ts:73](/source/packages/core/src/lib/types-ts/#L73)

</details>

<span id="api-NeighborhoodStyle-filter"></span>
<details>
<summary>filter (optional)</summary>


```ts
filter?: PibblFilter | readonly PibblFilter[] | undefined
```

Related API: [PibblFilter](/reference/types/filters/#pibblfilter).

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

[View source — packages/core/src/lib/types.ts:78](/source/packages/core/src/lib/types-ts/#L78)

</details>

<span id="api-NeighborhoodOptions"></span>

### NeighborhoodOptions

Pure neighborhood inputs centered on one application key. GraphLayout

```ts
interface NeighborhoodOptions<N, E> extends GraphAccessors<N, E>
```

Related API: [NeighborhoodOptions](/reference/components/graph-visualization/), [GraphAccessors](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:927](/source/packages/core/src/features/viz/lib/graph/types-ts/#L927)

#### Properties and methods

<span id="api-NeighborhoodOptions-bounds"></span>
<details>
<summary>bounds</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L929)

</details>

<span id="api-NeighborhoodOptions-centerKey"></span>
<details>
<summary>centerKey</summary>


```ts
readonly centerKey: VizKey
```

Related API: [VizKey](/reference/components/graph-visualization/).

Key placed at the center of the neighborhood. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:931](/source/packages/core/src/features/viz/lib/graph/types-ts/#L931)

</details>

<span id="api-NeighborhoodOptions-hops"></span>
<details>
<summary>hops (optional)</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L933)

</details>

<span id="api-NeighborhoodOptions-direction"></span>
<details>
<summary>direction (optional)</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L935)

</details>

<span id="api-NeighborhoodOptions-nodeSize"></span>
<details>
<summary>nodeSize (optional)</summary>


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

Related API: [Size](/reference/types/layout/#size).

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

##### Parameters

- **`node`** — Source record to measure.

##### Returns

Finite local logical size.

[View source — packages/core/src/features/viz/lib/graph/types.ts:939](/source/packages/core/src/features/viz/lib/graph/types-ts/#L939)

</details>

<span id="api-NeighborhoodOptions-ringGap"></span>
<details>
<summary>ringGap (optional)</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L945)

</details>

<span id="api-NeighborhoodOptions-nodeGap"></span>
<details>
<summary>nodeGap (optional)</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L947)

</details>

<span id="api-NeighborhoodOptions-nodeKey"></span>
<details>
<summary>nodeKey</summary>


```ts
readonly nodeKey: Accessor<N, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each node’s stable key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:86](/source/packages/core/src/features/viz/lib/graph/types-ts/#L86)

</details>

<span id="api-NeighborhoodOptions-edgeKey"></span>
<details>
<summary>edgeKey</summary>


```ts
readonly edgeKey: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each edge’s stable key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:88](/source/packages/core/src/features/viz/lib/graph/types-ts/#L88)

</details>

<span id="api-NeighborhoodOptions-source"></span>
<details>
<summary>source</summary>


```ts
readonly source: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads an edge source key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:90](/source/packages/core/src/features/viz/lib/graph/types-ts/#L90)

</details>

<span id="api-NeighborhoodOptions-target"></span>
<details>
<summary>target</summary>


```ts
readonly target: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads an edge target key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:92](/source/packages/core/src/features/viz/lib/graph/types-ts/#L92)

</details>

<span id="api-NeighborhoodOptions-label"></span>
<details>
<summary>label (optional)</summary>


```ts
readonly label?: Accessor<N, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a node’s primary text. LabelGeometry

[View source — packages/core/src/features/viz/lib/graph/types.ts:94](/source/packages/core/src/features/viz/lib/graph/types-ts/#L94)

</details>

<span id="api-NeighborhoodOptions-detail"></span>
<details>
<summary>detail (optional)</summary>


```ts
readonly detail?: Accessor<N, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a node’s secondary text. LabelGeometry

[View source — packages/core/src/features/viz/lib/graph/types.ts:96](/source/packages/core/src/features/viz/lib/graph/types-ts/#L96)

</details>

<span id="api-NeighborhoodNodeGeometry"></span>

### NeighborhoodNodeGeometry

Node geometry annotated with its graph distance from center. GraphLayout

```ts
interface NeighborhoodNodeGeometry<N> extends GraphNodeGeometry<N>
```

Related API: [NeighborhoodNodeGeometry](/reference/components/graph-visualization/), [GraphNodeGeometry](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:950](/source/packages/core/src/features/viz/lib/graph/types-ts/#L950)

#### Properties and methods

<span id="api-NeighborhoodNodeGeometry-hop"></span>
<details>
<summary>hop</summary>


```ts
readonly hop: number
```

Zero-based graph distance from the center. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:952](/source/packages/core/src/features/viz/lib/graph/types-ts/#L952)

</details>

<span id="api-NeighborhoodNodeGeometry-key"></span>
<details>
<summary>key</summary>


```ts
readonly key: VizKey
```

Related API: [VizKey](/reference/components/graph-visualization/).

Stable application-provided key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:101](/source/packages/core/src/features/viz/lib/graph/types-ts/#L101)

</details>

<span id="api-NeighborhoodNodeGeometry-datum"></span>
<details>
<summary>datum</summary>


```ts
readonly datum: N
```

Original application record. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:103](/source/packages/core/src/features/viz/lib/graph/types-ts/#L103)

</details>

<span id="api-NeighborhoodNodeGeometry-bounds"></span>
<details>
<summary>bounds</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L105)

</details>

<span id="api-NeighborhoodNodeGeometry-label"></span>
<details>
<summary>label</summary>


```ts
readonly label: LabelGeometry
```

Related API: [LabelGeometry](/reference/components/graph-visualization/).

Decorative label geometry. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:107](/source/packages/core/src/features/viz/lib/graph/types-ts/#L107)

</details>

<span id="api-NeighborhoodNodeGeometry-detail"></span>
<details>
<summary>detail</summary>


```ts
readonly detail: LabelGeometry | null
```

Related API: [LabelGeometry](/reference/components/graph-visualization/).

Optional secondary label geometry. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:109](/source/packages/core/src/features/viz/lib/graph/types-ts/#L109)

</details>

<span id="api-NeighborhoodLayout"></span>

### NeighborhoodLayout

Immutable reachable nodes, retained edges, and omitted keys. GraphLayout

```ts
interface NeighborhoodLayout<N, E> extends GraphLayout<N, E>
```

Related API: [NeighborhoodLayout](/reference/components/graph-visualization/), [GraphLayout](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:955](/source/packages/core/src/features/viz/lib/graph/types-ts/#L955)

#### Properties and methods

<span id="api-NeighborhoodLayout-centerKey"></span>
<details>
<summary>centerKey</summary>


```ts
readonly centerKey: VizKey
```

Related API: [VizKey](/reference/components/graph-visualization/).

Key placed at the center of the neighborhood. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:957](/source/packages/core/src/features/viz/lib/graph/types-ts/#L957)

</details>

<span id="api-NeighborhoodLayout-nodes"></span>
<details>
<summary>nodes</summary>


```ts
readonly nodes: readonly NeighborhoodNodeGeometry<N>[]
```

Related API: [NeighborhoodNodeGeometry](/reference/components/graph-visualization/).

Source nodes in application order. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:959](/source/packages/core/src/features/viz/lib/graph/types-ts/#L959)

</details>

<span id="api-NeighborhoodLayout-omittedKeys"></span>
<details>
<summary>omittedKeys</summary>


```ts
readonly omittedKeys: readonly VizKey[]
```

Related API: [VizKey](/reference/components/graph-visualization/).

Known node keys outside the requested hop range. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:961](/source/packages/core/src/features/viz/lib/graph/types-ts/#L961)

</details>

<span id="api-NeighborhoodLayout-bounds"></span>
<details>
<summary>bounds</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L143)

</details>

<span id="api-NeighborhoodLayout-edges"></span>
<details>
<summary>edges</summary>


```ts
readonly edges: readonly GraphEdgeGeometry<E>[]
```

Related API: [GraphEdgeGeometry](/reference/components/graph-visualization/).

Source edges in application order. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:147](/source/packages/core/src/features/viz/lib/graph/types-ts/#L147)

</details>

<span id="api-RadialNeighborhoodProps"></span>

### RadialNeighborhoodProps

Reactive graph input and presentation for radial neighborhoods. GraphLayout

```ts
interface RadialNeighborhoodProps<N, E> extends
    GraphAccessors<N, E>,
    GraphPresentation<N, E, NeighborhoodNodeGeometry<N>>
```

Related API: [RadialNeighborhoodProps](/reference/components/graph-visualization/), [GraphAccessors](/reference/components/graph-visualization/), [GraphPresentation](/reference/components/graph-visualization/), [NeighborhoodNodeGeometry](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:964](/source/packages/core/src/features/viz/lib/graph/types-ts/#L964)

#### Properties and methods

<span id="api-RadialNeighborhoodProps-graph"></span>
<details>
<summary>graph</summary>


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

Related API: [SignalValue](/reference/types/signal-inputs/#signalvalue), [GraphData](/reference/components/graph-visualization/).

Graph records; publish a new snapshot to update. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:969](/source/packages/core/src/features/viz/lib/graph/types-ts/#L969)

</details>

<span id="api-RadialNeighborhoodProps-centerKey"></span>
<details>
<summary>centerKey</summary>


```ts
readonly centerKey: SignalValue<VizKey>
```

Related API: [SignalValue](/reference/types/signal-inputs/#signalvalue), [VizKey](/reference/components/graph-visualization/).

Key placed at the center of the neighborhood. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:971](/source/packages/core/src/features/viz/lib/graph/types-ts/#L971)

</details>

<span id="api-RadialNeighborhoodProps-hops"></span>
<details>
<summary>hops (optional)</summary>


```ts
readonly hops?: SignalValue<number> | undefined
```

Related API: [SignalValue](/reference/types/signal-inputs/#signalvalue).

Maximum graph distance from the center; defaults to two. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:973](/source/packages/core/src/features/viz/lib/graph/types-ts/#L973)

</details>

<span id="api-RadialNeighborhoodProps-direction"></span>
<details>
<summary>direction (optional)</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L975)

</details>

<span id="api-RadialNeighborhoodProps-nodeSize"></span>
<details>
<summary>nodeSize (optional)</summary>


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

Related API: [Size](/reference/types/layout/#size).

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

##### Parameters

- **`node`** — Source record to measure.

##### Returns

Finite local logical size.

[View source — packages/core/src/features/viz/lib/graph/types.ts:979](/source/packages/core/src/features/viz/lib/graph/types-ts/#L979)

</details>

<span id="api-RadialNeighborhoodProps-renderNode"></span>
<details>
<summary>renderNode (optional)</summary>


```ts
readonly renderNode?: ((node: NeighborhoodNodeGeometry<N>) => PibblNode) | undefined
```

Related API: [NeighborhoodNodeGeometry](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

Replaces the default node mark with this composition. GraphLayout

##### Parameters

- **`node`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:987](/source/packages/core/src/features/viz/lib/graph/types-ts/#L987)

</details>

<span id="api-RadialNeighborhoodProps-onNodeClick"></span>
<details>
<summary>onNodeClick (optional)</summary>


```ts
readonly onNodeClick?: ((node: NeighborhoodNodeGeometry<N>, event: ClickEvent) => void) | undefined
```

Related API: [NeighborhoodNodeGeometry](/reference/components/graph-visualization/).

Receives clicks on a node mark. GraphLayout

##### Parameters

- **`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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L991)

</details>

<span id="api-RadialNeighborhoodProps-style"></span>
<details>
<summary>style (optional)</summary>


```ts
readonly style?: Style<NeighborhoodStyle> | undefined
```

Related API: [Style](/reference/components/graph-visualization/), [NeighborhoodStyle](/reference/components/graph-visualization/).

Frame style and responsive size allocation. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:996](/source/packages/core/src/features/viz/lib/graph/types-ts/#L996)

</details>

<span id="api-RadialNeighborhoodProps-nodeKey"></span>
<details>
<summary>nodeKey</summary>


```ts
readonly nodeKey: Accessor<N, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each node’s stable key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:86](/source/packages/core/src/features/viz/lib/graph/types-ts/#L86)

</details>

<span id="api-RadialNeighborhoodProps-edgeKey"></span>
<details>
<summary>edgeKey</summary>


```ts
readonly edgeKey: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each edge’s stable key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:88](/source/packages/core/src/features/viz/lib/graph/types-ts/#L88)

</details>

<span id="api-RadialNeighborhoodProps-source"></span>
<details>
<summary>source</summary>


```ts
readonly source: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads an edge source key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:90](/source/packages/core/src/features/viz/lib/graph/types-ts/#L90)

</details>

<span id="api-RadialNeighborhoodProps-target"></span>
<details>
<summary>target</summary>


```ts
readonly target: Accessor<E, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads an edge target key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:92](/source/packages/core/src/features/viz/lib/graph/types-ts/#L92)

</details>

<span id="api-RadialNeighborhoodProps-label"></span>
<details>
<summary>label (optional)</summary>


```ts
readonly label?: Accessor<N, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a node’s primary text. LabelGeometry

[View source — packages/core/src/features/viz/lib/graph/types.ts:94](/source/packages/core/src/features/viz/lib/graph/types-ts/#L94)

</details>

<span id="api-RadialNeighborhoodProps-detail"></span>
<details>
<summary>detail (optional)</summary>


```ts
readonly detail?: Accessor<N, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a node’s secondary text. LabelGeometry

[View source — packages/core/src/features/viz/lib/graph/types.ts:96](/source/packages/core/src/features/viz/lib/graph/types-ts/#L96)

</details>

<span id="api-RadialNeighborhoodProps-nodeStyle"></span>
<details>
<summary>nodeStyle (optional)</summary>


```ts
readonly nodeStyle?: MarkStyle<NeighborhoodNodeGeometry<N>, NodeStyle> | undefined
```

Related API: [MarkStyle](/reference/components/graph-visualization/), [NeighborhoodNodeGeometry](/reference/components/graph-visualization/), [NodeStyle](/reference/components/graph-visualization/).

Style or geometry-aware style for node marks. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:156](/source/packages/core/src/features/viz/lib/graph/types-ts/#L156)

</details>

<span id="api-RadialNeighborhoodProps-edgeStyle"></span>
<details>
<summary>edgeStyle (optional)</summary>


```ts
readonly edgeStyle?: MarkStyle<GraphEdgeGeometry<E>, EdgeStyle> | undefined
```

Related API: [MarkStyle](/reference/components/graph-visualization/), [GraphEdgeGeometry](/reference/components/graph-visualization/), [EdgeStyle](/reference/components/graph-visualization/).

Style or geometry-aware style for edge marks. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:158](/source/packages/core/src/features/viz/lib/graph/types-ts/#L158)

</details>

<span id="api-RadialNeighborhoodProps-labelStyle"></span>
<details>
<summary>labelStyle (optional)</summary>


```ts
readonly labelStyle?: MarkStyle<NeighborhoodNodeGeometry<N>, LabelStyle> | undefined
```

Related API: [MarkStyle](/reference/components/graph-visualization/), [NeighborhoodNodeGeometry](/reference/components/graph-visualization/), [LabelStyle](/reference/components/graph-visualization/).

Style for decorative labels. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:160](/source/packages/core/src/features/viz/lib/graph/types-ts/#L160)

</details>

<span id="api-RadialNeighborhoodProps-renderEdge"></span>
<details>
<summary>renderEdge (optional)</summary>


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

Related API: [GraphEdgeGeometry](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

Replaces the default edge mark with this composition. GraphLayout

##### Parameters

- **`edge`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:168](/source/packages/core/src/features/viz/lib/graph/types-ts/#L168)

</details>

<span id="api-RadialNeighborhoodProps-onEdgeClick"></span>
<details>
<summary>onEdgeClick (optional)</summary>


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

Related API: [GraphEdgeGeometry](/reference/components/graph-visualization/).

Receives clicks on an edge mark. GraphLayout

##### Parameters

- **`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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L176)

</details>

<span id="api-IcicleStyle"></span>

### IcicleStyle

Frame options for icicle cell and level spacing. GraphLayout

```ts
interface IcicleStyle extends GStyle
```

Related API: [IcicleStyle](/reference/components/graph-visualization/), [GStyle](/reference/types/styles/#gstyle).

[View source — packages/core/src/features/viz/lib/graph/types.ts:1000](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1000)

#### Properties and methods

<span id="api-IcicleStyle-cellGap"></span>
<details>
<summary>cellGap (optional)</summary>


```ts
readonly cellGap?: number | undefined
```

Gap between cells in local logical pixels. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1002](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1002)

</details>

<span id="api-IcicleStyle-levelGap"></span>
<details>
<summary>levelGap (optional)</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1004)

</details>

<span id="api-IcicleStyle-position"></span>
<details>
<summary>position (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L194)

</details>

<span id="api-IcicleStyle-left"></span>
<details>
<summary>left (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L196)

</details>

<span id="api-IcicleStyle-right"></span>
<details>
<summary>right (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L198)

</details>

<span id="api-IcicleStyle-top"></span>
<details>
<summary>top (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L200)

</details>

<span id="api-IcicleStyle-bottom"></span>
<details>
<summary>bottom (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L202)

</details>

<span id="api-IcicleStyle-insetStart"></span>
<details>
<summary>insetStart (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L204)

</details>

<span id="api-IcicleStyle-insetEnd"></span>
<details>
<summary>insetEnd (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L206)

</details>

<span id="api-IcicleStyle-aspectRatio"></span>
<details>
<summary>aspectRatio (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L84)

</details>

<span id="api-IcicleStyle-boxSizing"></span>
<details>
<summary>boxSizing (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L89)

</details>

<span id="api-IcicleStyle-width"></span>
<details>
<summary>width (optional)</summary>


```ts
width?: SizingLength | undefined
```

Related API: [SizingLength](/reference/types/layout/#sizinglength).

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

[View source — packages/core/src/lib/style/types.ts:91](/source/packages/core/src/lib/style/types-ts/#L91)

</details>

<span id="api-IcicleStyle-height"></span>
<details>
<summary>height (optional)</summary>


```ts
height?: SizingLength | undefined
```

Related API: [SizingLength](/reference/types/layout/#sizinglength).

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

[View source — packages/core/src/lib/style/types.ts:93](/source/packages/core/src/lib/style/types-ts/#L93)

</details>

<span id="api-IcicleStyle-minWidth"></span>
<details>
<summary>minWidth (optional)</summary>


```ts
minWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L95)

</details>

<span id="api-IcicleStyle-maxWidth"></span>
<details>
<summary>maxWidth (optional)</summary>


```ts
maxWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L97)

</details>

<span id="api-IcicleStyle-minHeight"></span>
<details>
<summary>minHeight (optional)</summary>


```ts
minHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#sizingkeyword).

Minimum permitted height. See Length.

[View source — packages/core/src/lib/style/types.ts:99](/source/packages/core/src/lib/style/types-ts/#L99)

</details>

<span id="api-IcicleStyle-maxHeight"></span>
<details>
<summary>maxHeight (optional)</summary>


```ts
maxHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#sizingkeyword).

Maximum permitted height. See Length.

[View source — packages/core/src/lib/style/types.ts:101](/source/packages/core/src/lib/style/types-ts/#L101)

</details>

<span id="api-IcicleStyle-padding"></span>
<details>
<summary>padding (optional)</summary>


```ts
padding?: EdgeValues<number | `${number}%`> | undefined
```

Related API: [EdgeValues](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L103)

</details>

<span id="api-IcicleStyle-paddingStart"></span>
<details>
<summary>paddingStart (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L105)

</details>

<span id="api-IcicleStyle-paddingEnd"></span>
<details>
<summary>paddingEnd (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L107)

</details>

<span id="api-IcicleStyle-borderWidth"></span>
<details>
<summary>borderWidth (optional)</summary>


```ts
borderWidth?: EdgeValues<number> | undefined
```

Related API: [EdgeValues](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L109)

</details>

<span id="api-IcicleStyle-borderStartWidth"></span>
<details>
<summary>borderStartWidth (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L111)

</details>

<span id="api-IcicleStyle-borderEndWidth"></span>
<details>
<summary>borderEndWidth (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L113)

</details>

<span id="api-IcicleStyle-overflow"></span>
<details>
<summary>overflow (optional)</summary>


```ts
overflow?: "clip" | "visible" | undefined
```

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

[View source — packages/core/src/lib/style/types.ts:115](/source/packages/core/src/lib/style/types-ts/#L115)

</details>

<span id="api-IcicleStyle-margin"></span>
<details>
<summary>margin (optional)</summary>


```ts
margin?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L146)

</details>

<span id="api-IcicleStyle-marginTop"></span>
<details>
<summary>marginTop (optional)</summary>


```ts
marginTop?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical top margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:148](/source/packages/core/src/lib/style/types-ts/#L148)

</details>

<span id="api-IcicleStyle-marginRight"></span>
<details>
<summary>marginRight (optional)</summary>


```ts
marginRight?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical right margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:150](/source/packages/core/src/lib/style/types-ts/#L150)

</details>

<span id="api-IcicleStyle-marginBottom"></span>
<details>
<summary>marginBottom (optional)</summary>


```ts
marginBottom?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical bottom margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:152](/source/packages/core/src/lib/style/types-ts/#L152)

</details>

<span id="api-IcicleStyle-marginLeft"></span>
<details>
<summary>marginLeft (optional)</summary>


```ts
marginLeft?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical left margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:154](/source/packages/core/src/lib/style/types-ts/#L154)

</details>

<span id="api-IcicleStyle-marginStart"></span>
<details>
<summary>marginStart (optional)</summary>


```ts
marginStart?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L156)

</details>

<span id="api-IcicleStyle-marginEnd"></span>
<details>
<summary>marginEnd (optional)</summary>


```ts
marginEnd?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L158)

</details>

<span id="api-IcicleStyle-alignSelf"></span>
<details>
<summary>alignSelf (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L160)

</details>

<span id="api-IcicleStyle-justifySelf"></span>
<details>
<summary>justifySelf (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L162)

</details>

<span id="api-IcicleStyle-flexBasis"></span>
<details>
<summary>flexBasis (optional)</summary>


```ts
flexBasis?: SizingLength | undefined
```

Related API: [SizingLength](/reference/types/layout/#sizinglength).

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

[View source — packages/core/src/lib/style/types.ts:164](/source/packages/core/src/lib/style/types-ts/#L164)

</details>

<span id="api-IcicleStyle-flexGrow"></span>
<details>
<summary>flexGrow (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L166)

</details>

<span id="api-IcicleStyle-flexShrink"></span>
<details>
<summary>flexShrink (optional)</summary>


```ts
flexShrink?: number | undefined
```

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

[View source — packages/core/src/lib/style/types.ts:168](/source/packages/core/src/lib/style/types-ts/#L168)

</details>

<span id="api-IcicleStyle-gridColumnStart"></span>
<details>
<summary>gridColumnStart (optional)</summary>


```ts
gridColumnStart?: number | undefined
```

Explicit starting grid column. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:170](/source/packages/core/src/lib/style/types-ts/#L170)

</details>

<span id="api-IcicleStyle-gridColumnSpan"></span>
<details>
<summary>gridColumnSpan (optional)</summary>


```ts
gridColumnSpan?: number | undefined
```

Number of columns occupied by this child. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:172](/source/packages/core/src/lib/style/types-ts/#L172)

</details>

<span id="api-IcicleStyle-gridRowStart"></span>
<details>
<summary>gridRowStart (optional)</summary>


```ts
gridRowStart?: number | undefined
```

Explicit starting grid row. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:174](/source/packages/core/src/lib/style/types-ts/#L174)

</details>

<span id="api-IcicleStyle-gridRowSpan"></span>
<details>
<summary>gridRowSpan (optional)</summary>


```ts
gridRowSpan?: number | undefined
```

Number of rows occupied by this child. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:176](/source/packages/core/src/lib/style/types-ts/#L176)

</details>

<span id="api-IcicleStyle-scaleX"></span>
<details>
<summary>scaleX (optional)</summary>


```ts
scaleX?: number | undefined
```

Horizontal scale factor. See GStyle.

[View source — packages/core/src/lib/components/g.ts:46](/source/packages/core/src/lib/components/g-ts/#L46)

</details>

<span id="api-IcicleStyle-scaleY"></span>
<details>
<summary>scaleY (optional)</summary>


```ts
scaleY?: number | undefined
```

Vertical scale factor. See GStyle.

[View source — packages/core/src/lib/components/g.ts:48](/source/packages/core/src/lib/components/g-ts/#L48)

</details>

<span id="api-IcicleStyle-rotationDegrees"></span>
<details>
<summary>rotationDegrees (optional)</summary>


```ts
rotationDegrees?: number | undefined
```

Clockwise rotation in degrees.

[View source — packages/core/src/lib/components/g.ts:50](/source/packages/core/src/lib/components/g-ts/#L50)

</details>

<span id="api-IcicleStyle-rotationOrigin"></span>
<details>
<summary>rotationOrigin (optional)</summary>


```ts
rotationOrigin?: [number, number] | undefined
```

Point around which the rotation is applied. See GStyle.

[View source — packages/core/src/lib/components/g.ts:52](/source/packages/core/src/lib/components/g-ts/#L52)

</details>

<span id="api-IcicleStyle-translateX"></span>
<details>
<summary>translateX (optional)</summary>


```ts
translateX?: number | undefined
```

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

[View source — packages/core/src/lib/components/g.ts:54](/source/packages/core/src/lib/components/g-ts/#L54)

</details>

<span id="api-IcicleStyle-translateY"></span>
<details>
<summary>translateY (optional)</summary>


```ts
translateY?: number | undefined
```

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

[View source — packages/core/src/lib/components/g.ts:56](/source/packages/core/src/lib/components/g-ts/#L56)

</details>

<span id="api-IcicleStyle-skewX"></span>
<details>
<summary>skewX (optional)</summary>


```ts
skewX?: number | undefined
```

Horizontal skew angle in degrees.

[View source — packages/core/src/lib/components/g.ts:58](/source/packages/core/src/lib/components/g-ts/#L58)

</details>

<span id="api-IcicleStyle-skewY"></span>
<details>
<summary>skewY (optional)</summary>


```ts
skewY?: number | undefined
```

Vertical skew angle in degrees.

[View source — packages/core/src/lib/components/g.ts:60](/source/packages/core/src/lib/components/g-ts/#L60)

</details>

<span id="api-IcicleStyle-layoutParticipation"></span>
<details>
<summary>layoutParticipation (optional)</summary>


```ts
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](/source/packages/core/src/lib/types-ts/#L69)

</details>

<span id="api-IcicleStyle-transition"></span>
<details>
<summary>transition (optional)</summary>


```ts
transition?: PibblTransitionBinding | undefined
```

Related API: [PibblTransitionBinding](/reference/hooks/use-visibility-transition/).

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

[View source — packages/core/src/lib/types.ts:71](/source/packages/core/src/lib/types-ts/#L71)

</details>

<span id="api-IcicleStyle-custom"></span>
<details>
<summary>custom (optional)</summary>


```ts
custom?: unknown
```

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

[View source — packages/core/src/lib/types.ts:73](/source/packages/core/src/lib/types-ts/#L73)

</details>

<span id="api-IcicleStyle-filter"></span>
<details>
<summary>filter (optional)</summary>


```ts
filter?: PibblFilter | readonly PibblFilter[] | undefined
```

Related API: [PibblFilter](/reference/types/filters/#pibblfilter).

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

[View source — packages/core/src/lib/types.ts:78](/source/packages/core/src/lib/types-ts/#L78)

</details>

<span id="api-IcicleOptions"></span>

### IcicleOptions

Pure icicle inputs and finite output bounds. GraphLayout

```ts
interface IcicleOptions<D> extends PartitionAccessors<D>
```

Related API: [IcicleOptions](/reference/components/graph-visualization/), [PartitionAccessors](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:1007](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1007)

#### Properties and methods

<span id="api-IcicleOptions-bounds"></span>
<details>
<summary>bounds</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1009)

</details>

<span id="api-IcicleOptions-cellGap"></span>
<details>
<summary>cellGap (optional)</summary>


```ts
readonly cellGap?: number | undefined
```

Gap between cells in local logical pixels. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1011](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1011)

</details>

<span id="api-IcicleOptions-levelGap"></span>
<details>
<summary>levelGap (optional)</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1013)

</details>

<span id="api-IcicleOptions-keyBy"></span>
<details>
<summary>keyBy</summary>


```ts
readonly keyBy: Accessor<D, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each hierarchy record’s stable key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:359](/source/packages/core/src/features/viz/lib/graph/types-ts/#L359)

</details>

<span id="api-IcicleOptions-childrenBy"></span>
<details>
<summary>childrenBy</summary>


```ts
readonly childrenBy: Accessor<D, readonly D[] | null | undefined>
```

Related API: [Accessor](/reference/components/graph-visualization/).

Reads ordered child records; null and undefined mean no children. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:361](/source/packages/core/src/features/viz/lib/graph/types-ts/#L361)

</details>

<span id="api-IcicleOptions-label"></span>
<details>
<summary>label (optional)</summary>


```ts
readonly label?: Accessor<D, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a node’s primary text. LabelGeometry

[View source — packages/core/src/features/viz/lib/graph/types.ts:363](/source/packages/core/src/features/viz/lib/graph/types-ts/#L363)

</details>

<span id="api-IcicleOptions-collapsed"></span>
<details>
<summary>collapsed (optional)</summary>


```ts
readonly collapsed?: ((node: D) => boolean) | undefined
```

Whether this item hides its descendants. GraphLayout

##### Parameters

- **`node`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:367](/source/packages/core/src/features/viz/lib/graph/types-ts/#L367)

</details>

<span id="api-IcicleOptions-value"></span>
<details>
<summary>value</summary>


```ts
readonly value: Accessor<D, number>
```

Related API: [Accessor](/reference/components/graph-visualization/).

Reads the finite quantitative value. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:819](/source/packages/core/src/features/viz/lib/graph/types-ts/#L819)

</details>

<span id="api-IcicleOptions-unit"></span>
<details>
<summary>unit</summary>


```ts
readonly unit: string
```

Display unit for quantitative values. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:821](/source/packages/core/src/features/viz/lib/graph/types-ts/#L821)

</details>

<span id="api-IcicleOptions-formatValue"></span>
<details>
<summary>formatValue (optional)</summary>


```ts
readonly formatValue?: ((value: number) => string) | undefined
```

Formats a quantitative value for display. GraphLayout

##### Parameters

- **`value`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:825](/source/packages/core/src/features/viz/lib/graph/types-ts/#L825)

</details>

<span id="api-IcicleProps"></span>

### IcicleProps

Reactive hierarchy input and presentation for Icicle. GraphLayout

```ts
interface IcicleProps<D> extends PartitionAccessors<D>, PartitionPresentation<D>
```

Related API: [IcicleProps](/reference/components/graph-visualization/), [PartitionAccessors](/reference/components/graph-visualization/), [PartitionPresentation](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:1016](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1016)

#### Properties and methods

<span id="api-IcicleProps-root"></span>
<details>
<summary>root</summary>


```ts
readonly root: SignalValue<D>
```

Related API: [SignalValue](/reference/types/signal-inputs/#signalvalue).

Hierarchy root; publish a new root to update. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1019](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1019)

</details>

<span id="api-IcicleProps-style"></span>
<details>
<summary>style (optional)</summary>


```ts
readonly style?: Style<IcicleStyle> | undefined
```

Related API: [Style](/reference/components/graph-visualization/), [IcicleStyle](/reference/components/graph-visualization/).

Frame style and responsive size allocation. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1021](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1021)

</details>

<span id="api-IcicleProps-keyBy"></span>
<details>
<summary>keyBy</summary>


```ts
readonly keyBy: Accessor<D, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each hierarchy record’s stable key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:359](/source/packages/core/src/features/viz/lib/graph/types-ts/#L359)

</details>

<span id="api-IcicleProps-childrenBy"></span>
<details>
<summary>childrenBy</summary>


```ts
readonly childrenBy: Accessor<D, readonly D[] | null | undefined>
```

Related API: [Accessor](/reference/components/graph-visualization/).

Reads ordered child records; null and undefined mean no children. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:361](/source/packages/core/src/features/viz/lib/graph/types-ts/#L361)

</details>

<span id="api-IcicleProps-label"></span>
<details>
<summary>label (optional)</summary>


```ts
readonly label?: Accessor<D, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a node’s primary text. LabelGeometry

[View source — packages/core/src/features/viz/lib/graph/types.ts:363](/source/packages/core/src/features/viz/lib/graph/types-ts/#L363)

</details>

<span id="api-IcicleProps-collapsed"></span>
<details>
<summary>collapsed (optional)</summary>


```ts
readonly collapsed?: ((node: D) => boolean) | undefined
```

Whether this item hides its descendants. GraphLayout

##### Parameters

- **`node`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:367](/source/packages/core/src/features/viz/lib/graph/types-ts/#L367)

</details>

<span id="api-IcicleProps-value"></span>
<details>
<summary>value</summary>


```ts
readonly value: Accessor<D, number>
```

Related API: [Accessor](/reference/components/graph-visualization/).

Reads the finite quantitative value. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:819](/source/packages/core/src/features/viz/lib/graph/types-ts/#L819)

</details>

<span id="api-IcicleProps-unit"></span>
<details>
<summary>unit</summary>


```ts
readonly unit: string
```

Display unit for quantitative values. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:821](/source/packages/core/src/features/viz/lib/graph/types-ts/#L821)

</details>

<span id="api-IcicleProps-formatValue"></span>
<details>
<summary>formatValue (optional)</summary>


```ts
readonly formatValue?: ((value: number) => string) | undefined
```

Formats a quantitative value for display. GraphLayout

##### Parameters

- **`value`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:825](/source/packages/core/src/features/viz/lib/graph/types-ts/#L825)

</details>

<span id="api-IcicleProps-cellStyle"></span>
<details>
<summary>cellStyle (optional)</summary>


```ts
readonly cellStyle?: MarkStyle<PartitionCellGeometry<D>, NodeStyle> | undefined
```

Related API: [MarkStyle](/reference/components/graph-visualization/), [PartitionCellGeometry](/reference/components/graph-visualization/), [NodeStyle](/reference/components/graph-visualization/).

Style or geometry-aware style for cell marks. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:866](/source/packages/core/src/features/viz/lib/graph/types-ts/#L866)

</details>

<span id="api-IcicleProps-labelStyle"></span>
<details>
<summary>labelStyle (optional)</summary>


```ts
readonly labelStyle?: Style<LabelStyle> | undefined
```

Related API: [Style](/reference/components/graph-visualization/), [LabelStyle](/reference/components/graph-visualization/).

Style for decorative labels. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:868](/source/packages/core/src/features/viz/lib/graph/types-ts/#L868)

</details>

<span id="api-IcicleProps-renderCell"></span>
<details>
<summary>renderCell (optional)</summary>


```ts
readonly renderCell?: ((cell: PartitionCellGeometry<D>) => PibblNode) | undefined
```

Related API: [PartitionCellGeometry](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

Replaces the default cell mark with this composition. GraphLayout

##### Parameters

- **`cell`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:872](/source/packages/core/src/features/viz/lib/graph/types-ts/#L872)

</details>

<span id="api-IcicleProps-onCellClick"></span>
<details>
<summary>onCellClick (optional)</summary>


```ts
readonly onCellClick?: ((cell: PartitionCellGeometry<D>, event: ClickEvent) => void) | undefined
```

Related API: [PartitionCellGeometry](/reference/components/graph-visualization/).

Receives clicks on a cell mark. GraphLayout

##### Parameters

- **`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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L876)

</details>

<span id="api-ChordData"></span>

### ChordData

Ordered categories and directed transfer records for a chord diagram. GraphLayout

```ts
interface ChordData<C, T>
```

Related API: [ChordData](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:1025](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1025)

#### Properties and methods

<span id="api-ChordData-categories"></span>
<details>
<summary>categories</summary>


```ts
readonly categories: readonly C[]
```

Ordered category records. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1027](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1027)

</details>

<span id="api-ChordData-transfers"></span>
<details>
<summary>transfers</summary>


```ts
readonly transfers: readonly T[]
```

Source transfer records. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1029](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1029)

</details>

<span id="api-ChordAccessors"></span>

### ChordAccessors

Typed category and transfer readers with quantity display settings. GraphLayout

```ts
interface ChordAccessors<C, T>
```

Related API: [ChordAccessors](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:1032](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1032)

#### Properties and methods

<span id="api-ChordAccessors-categoryKey"></span>
<details>
<summary>categoryKey</summary>


```ts
readonly categoryKey: Accessor<C, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each category key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1034](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1034)

</details>

<span id="api-ChordAccessors-label"></span>
<details>
<summary>label (optional)</summary>


```ts
readonly label?: Accessor<C, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a node’s primary text. LabelGeometry

[View source — packages/core/src/features/viz/lib/graph/types.ts:1036](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1036)

</details>

<span id="api-ChordAccessors-source"></span>
<details>
<summary>source</summary>


```ts
readonly source: Accessor<T, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads an edge source key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1038](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1038)

</details>

<span id="api-ChordAccessors-target"></span>
<details>
<summary>target</summary>


```ts
readonly target: Accessor<T, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads an edge target key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1040](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1040)

</details>

<span id="api-ChordAccessors-value"></span>
<details>
<summary>value</summary>


```ts
readonly value: Accessor<T, number>
```

Related API: [Accessor](/reference/components/graph-visualization/).

Reads the finite quantitative value. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1042](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1042)

</details>

<span id="api-ChordAccessors-unit"></span>
<details>
<summary>unit</summary>


```ts
readonly unit: string
```

Display unit for quantitative values. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1044](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1044)

</details>

<span id="api-ChordAccessors-formatValue"></span>
<details>
<summary>formatValue (optional)</summary>


```ts
readonly formatValue?: ((value: number) => string) | undefined
```

Formats a quantitative value for display. GraphLayout

##### Parameters

- **`value`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:1048](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1048)

</details>

<span id="api-ChordArc"></span>

### ChordArc

A clockwise angular span in graph-local polar geometry. GraphLayout

```ts
interface ChordArc
```

Related API: [ChordArc](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:1051](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1051)

#### Properties and methods

<span id="api-ChordArc-center"></span>
<details>
<summary>center</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1053)

</details>

<span id="api-ChordArc-radius"></span>
<details>
<summary>radius</summary>


```ts
readonly radius: number
```

Radius in local logical pixels. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1055](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1055)

</details>

<span id="api-ChordArc-startAngleDegrees"></span>
<details>
<summary>startAngleDegrees</summary>


```ts
readonly startAngleDegrees: number
```

Clockwise start angle from twelve o’clock. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1057](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1057)

</details>

<span id="api-ChordArc-endAngleDegrees"></span>
<details>
<summary>endAngleDegrees</summary>


```ts
readonly endAngleDegrees: number
```

Clockwise end angle from twelve o’clock. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1059](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1059)

</details>

<span id="api-ChordBandGeometry"></span>

### ChordBandGeometry

Immutable outer category band geometry and aggregate quantities. GraphLayout

```ts
interface ChordBandGeometry<C>
```

Related API: [ChordBandGeometry](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:1062](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1062)

#### Properties and methods

<span id="api-ChordBandGeometry-key"></span>
<details>
<summary>key</summary>


```ts
readonly key: VizKey
```

Related API: [VizKey](/reference/components/graph-visualization/).

Stable application-provided key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1064](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1064)

</details>

<span id="api-ChordBandGeometry-datum"></span>
<details>
<summary>datum</summary>


```ts
readonly datum: C
```

Original application record. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1066](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1066)

</details>

<span id="api-ChordBandGeometry-incomingValue"></span>
<details>
<summary>incomingValue</summary>


```ts
readonly incomingValue: number
```

Total value arriving at this node. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1068](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1068)

</details>

<span id="api-ChordBandGeometry-outgoingValue"></span>
<details>
<summary>outgoingValue</summary>


```ts
readonly outgoingValue: number
```

Total value leaving this node. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1070](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1070)

</details>

<span id="api-ChordBandGeometry-arc"></span>
<details>
<summary>arc</summary>


```ts
readonly arc: ChordArc
```

Related API: [ChordArc](/reference/components/graph-visualization/).

Angular span for the visible category band. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1072](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1072)

</details>

<span id="api-ChordBandGeometry-innerRadius"></span>
<details>
<summary>innerRadius</summary>


```ts
readonly innerRadius: number
```

Inner ribbon radius in local logical pixels. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1074](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1074)

</details>

<span id="api-ChordBandGeometry-segments"></span>
<details>
<summary>segments</summary>


```ts
readonly segments: readonly Readonly<PathSegment>[]
```

Related API: [PathSegment](/reference/functions/path-geometry/).

Path segments from source to target. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1076](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1076)

</details>

<span id="api-ChordBandGeometry-path"></span>
<details>
<summary>path</summary>


```ts
readonly path: string
```

SVG path serialization of the route. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1078](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1078)

</details>

<span id="api-ChordBandGeometry-label"></span>
<details>
<summary>label</summary>


```ts
readonly label: LabelGeometry
```

Related API: [LabelGeometry](/reference/components/graph-visualization/).

Decorative label geometry. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1080](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1080)

</details>

<span id="api-ChordRibbonGeometry"></span>

### ChordRibbonGeometry

Immutable grouped transfer-ribbon geometry and source records. GraphLayout

```ts
interface ChordRibbonGeometry<T>
```

Related API: [ChordRibbonGeometry](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:1083](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1083)

#### Properties and methods

<span id="api-ChordRibbonGeometry-key"></span>
<details>
<summary>key</summary>


```ts
readonly key: string
```

Stable application-provided key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1085](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1085)

</details>

<span id="api-ChordRibbonGeometry-sourceKey"></span>
<details>
<summary>sourceKey</summary>


```ts
readonly sourceKey: VizKey
```

Related API: [VizKey](/reference/components/graph-visualization/).

Stable key of the edge source node. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1087](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1087)

</details>

<span id="api-ChordRibbonGeometry-targetKey"></span>
<details>
<summary>targetKey</summary>


```ts
readonly targetKey: VizKey
```

Related API: [VizKey](/reference/components/graph-visualization/).

Stable key of the edge target node. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1089](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1089)

</details>

<span id="api-ChordRibbonGeometry-records"></span>
<details>
<summary>records</summary>


```ts
readonly records: readonly T[]
```

Original records represented by this aggregate. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1091](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1091)

</details>

<span id="api-ChordRibbonGeometry-value"></span>
<details>
<summary>value</summary>


```ts
readonly value: number
```

Reads the finite quantitative value. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1093](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1093)

</details>

<span id="api-ChordRibbonGeometry-sourceArc"></span>
<details>
<summary>sourceArc</summary>


```ts
readonly sourceArc: ChordArc
```

Related API: [ChordArc](/reference/components/graph-visualization/).

Angular span allocated to the source side. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1095](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1095)

</details>

<span id="api-ChordRibbonGeometry-targetArc"></span>
<details>
<summary>targetArc</summary>


```ts
readonly targetArc: ChordArc
```

Related API: [ChordArc](/reference/components/graph-visualization/).

Angular span allocated to the target side. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1097](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1097)

</details>

<span id="api-ChordRibbonGeometry-segments"></span>
<details>
<summary>segments</summary>


```ts
readonly segments: readonly Readonly<PathSegment>[]
```

Related API: [PathSegment](/reference/functions/path-geometry/).

Path segments from source to target. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1099](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1099)

</details>

<span id="api-ChordRibbonGeometry-path"></span>
<details>
<summary>path</summary>


```ts
readonly path: string
```

SVG path serialization of the route. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1101](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1101)

</details>

<span id="api-ChordLayout"></span>

### ChordLayout

Immutable category bands and grouped transfer ribbons. GraphLayout

```ts
interface ChordLayout<C, T>
```

Related API: [ChordLayout](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:1104](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1104)

#### Properties and methods

<span id="api-ChordLayout-bounds"></span>
<details>
<summary>bounds</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1106)

</details>

<span id="api-ChordLayout-unit"></span>
<details>
<summary>unit</summary>


```ts
readonly unit: string
```

Display unit for quantitative values. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1108](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1108)

</details>

<span id="api-ChordLayout-total"></span>
<details>
<summary>total</summary>


```ts
readonly total: number
```

Sum of all source leaf values. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1110](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1110)

</details>

<span id="api-ChordLayout-bands"></span>
<details>
<summary>bands</summary>


```ts
readonly bands: readonly ChordBandGeometry<C>[]
```

Related API: [ChordBandGeometry](/reference/components/graph-visualization/).

Immutable category-band geometry. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1112](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1112)

</details>

<span id="api-ChordLayout-ribbons"></span>
<details>
<summary>ribbons</summary>


```ts
readonly ribbons: readonly ChordRibbonGeometry<T>[]
```

Related API: [ChordRibbonGeometry](/reference/components/graph-visualization/).

Immutable grouped transfer-ribbon geometry. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1114](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1114)

</details>

<span id="api-ChordStyle"></span>

### ChordStyle

Frame options for chord band width and angular spacing. GraphLayout

```ts
interface ChordStyle extends GStyle
```

Related API: [ChordStyle](/reference/components/graph-visualization/), [GStyle](/reference/types/styles/#gstyle).

[View source — packages/core/src/features/viz/lib/graph/types.ts:1117](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1117)

#### Properties and methods

<span id="api-ChordStyle-bandWidth"></span>
<details>
<summary>bandWidth (optional)</summary>


```ts
readonly bandWidth?: number | undefined
```

Chord-band thickness in local logical pixels. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1119](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1119)

</details>

<span id="api-ChordStyle-padAngle"></span>
<details>
<summary>padAngle (optional)</summary>


```ts
readonly padAngle?: number | undefined
```

Angular gap between chord categories in degrees. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1121](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1121)

</details>

<span id="api-ChordStyle-startAngle"></span>
<details>
<summary>startAngle (optional)</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1123)

</details>

<span id="api-ChordStyle-position"></span>
<details>
<summary>position (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L194)

</details>

<span id="api-ChordStyle-left"></span>
<details>
<summary>left (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L196)

</details>

<span id="api-ChordStyle-right"></span>
<details>
<summary>right (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L198)

</details>

<span id="api-ChordStyle-top"></span>
<details>
<summary>top (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L200)

</details>

<span id="api-ChordStyle-bottom"></span>
<details>
<summary>bottom (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L202)

</details>

<span id="api-ChordStyle-insetStart"></span>
<details>
<summary>insetStart (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L204)

</details>

<span id="api-ChordStyle-insetEnd"></span>
<details>
<summary>insetEnd (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/positioning-ts/#L206)

</details>

<span id="api-ChordStyle-aspectRatio"></span>
<details>
<summary>aspectRatio (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L84)

</details>

<span id="api-ChordStyle-boxSizing"></span>
<details>
<summary>boxSizing (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L89)

</details>

<span id="api-ChordStyle-width"></span>
<details>
<summary>width (optional)</summary>


```ts
width?: SizingLength | undefined
```

Related API: [SizingLength](/reference/types/layout/#sizinglength).

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

[View source — packages/core/src/lib/style/types.ts:91](/source/packages/core/src/lib/style/types-ts/#L91)

</details>

<span id="api-ChordStyle-height"></span>
<details>
<summary>height (optional)</summary>


```ts
height?: SizingLength | undefined
```

Related API: [SizingLength](/reference/types/layout/#sizinglength).

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

[View source — packages/core/src/lib/style/types.ts:93](/source/packages/core/src/lib/style/types-ts/#L93)

</details>

<span id="api-ChordStyle-minWidth"></span>
<details>
<summary>minWidth (optional)</summary>


```ts
minWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L95)

</details>

<span id="api-ChordStyle-maxWidth"></span>
<details>
<summary>maxWidth (optional)</summary>


```ts
maxWidth?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L97)

</details>

<span id="api-ChordStyle-minHeight"></span>
<details>
<summary>minHeight (optional)</summary>


```ts
minHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#sizingkeyword).

Minimum permitted height. See Length.

[View source — packages/core/src/lib/style/types.ts:99](/source/packages/core/src/lib/style/types-ts/#L99)

</details>

<span id="api-ChordStyle-maxHeight"></span>
<details>
<summary>maxHeight (optional)</summary>


```ts
maxHeight?: number | "stretch" | FitContent | `${number}%` | SizingKeyword | undefined
```

Related API: [FitContent](/reference/types/layout/#fitcontent), [SizingKeyword](/reference/types/layout/#sizingkeyword).

Maximum permitted height. See Length.

[View source — packages/core/src/lib/style/types.ts:101](/source/packages/core/src/lib/style/types-ts/#L101)

</details>

<span id="api-ChordStyle-padding"></span>
<details>
<summary>padding (optional)</summary>


```ts
padding?: EdgeValues<number | `${number}%`> | undefined
```

Related API: [EdgeValues](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L103)

</details>

<span id="api-ChordStyle-paddingStart"></span>
<details>
<summary>paddingStart (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L105)

</details>

<span id="api-ChordStyle-paddingEnd"></span>
<details>
<summary>paddingEnd (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L107)

</details>

<span id="api-ChordStyle-borderWidth"></span>
<details>
<summary>borderWidth (optional)</summary>


```ts
borderWidth?: EdgeValues<number> | undefined
```

Related API: [EdgeValues](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L109)

</details>

<span id="api-ChordStyle-borderStartWidth"></span>
<details>
<summary>borderStartWidth (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L111)

</details>

<span id="api-ChordStyle-borderEndWidth"></span>
<details>
<summary>borderEndWidth (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L113)

</details>

<span id="api-ChordStyle-overflow"></span>
<details>
<summary>overflow (optional)</summary>


```ts
overflow?: "clip" | "visible" | undefined
```

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

[View source — packages/core/src/lib/style/types.ts:115](/source/packages/core/src/lib/style/types-ts/#L115)

</details>

<span id="api-ChordStyle-margin"></span>
<details>
<summary>margin (optional)</summary>


```ts
margin?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L146)

</details>

<span id="api-ChordStyle-marginTop"></span>
<details>
<summary>marginTop (optional)</summary>


```ts
marginTop?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical top margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:148](/source/packages/core/src/lib/style/types-ts/#L148)

</details>

<span id="api-ChordStyle-marginRight"></span>
<details>
<summary>marginRight (optional)</summary>


```ts
marginRight?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical right margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:150](/source/packages/core/src/lib/style/types-ts/#L150)

</details>

<span id="api-ChordStyle-marginBottom"></span>
<details>
<summary>marginBottom (optional)</summary>


```ts
marginBottom?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical bottom margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:152](/source/packages/core/src/lib/style/types-ts/#L152)

</details>

<span id="api-ChordStyle-marginLeft"></span>
<details>
<summary>marginLeft (optional)</summary>


```ts
marginLeft?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#flexmargin).

Physical left margin overriding margin. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:154](/source/packages/core/src/lib/style/types-ts/#L154)

</details>

<span id="api-ChordStyle-marginStart"></span>
<details>
<summary>marginStart (optional)</summary>


```ts
marginStart?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L156)

</details>

<span id="api-ChordStyle-marginEnd"></span>
<details>
<summary>marginEnd (optional)</summary>


```ts
marginEnd?: FlexMargin | undefined
```

Related API: [FlexMargin](/reference/types/layout/#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](/source/packages/core/src/lib/style/types-ts/#L158)

</details>

<span id="api-ChordStyle-alignSelf"></span>
<details>
<summary>alignSelf (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L160)

</details>

<span id="api-ChordStyle-justifySelf"></span>
<details>
<summary>justifySelf (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L162)

</details>

<span id="api-ChordStyle-flexBasis"></span>
<details>
<summary>flexBasis (optional)</summary>


```ts
flexBasis?: SizingLength | undefined
```

Related API: [SizingLength](/reference/types/layout/#sizinglength).

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

[View source — packages/core/src/lib/style/types.ts:164](/source/packages/core/src/lib/style/types-ts/#L164)

</details>

<span id="api-ChordStyle-flexGrow"></span>
<details>
<summary>flexGrow (optional)</summary>


```ts
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](/source/packages/core/src/lib/style/types-ts/#L166)

</details>

<span id="api-ChordStyle-flexShrink"></span>
<details>
<summary>flexShrink (optional)</summary>


```ts
flexShrink?: number | undefined
```

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

[View source — packages/core/src/lib/style/types.ts:168](/source/packages/core/src/lib/style/types-ts/#L168)

</details>

<span id="api-ChordStyle-gridColumnStart"></span>
<details>
<summary>gridColumnStart (optional)</summary>


```ts
gridColumnStart?: number | undefined
```

Explicit starting grid column. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:170](/source/packages/core/src/lib/style/types-ts/#L170)

</details>

<span id="api-ChordStyle-gridColumnSpan"></span>
<details>
<summary>gridColumnSpan (optional)</summary>


```ts
gridColumnSpan?: number | undefined
```

Number of columns occupied by this child. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:172](/source/packages/core/src/lib/style/types-ts/#L172)

</details>

<span id="api-ChordStyle-gridRowStart"></span>
<details>
<summary>gridRowStart (optional)</summary>


```ts
gridRowStart?: number | undefined
```

Explicit starting grid row. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:174](/source/packages/core/src/lib/style/types-ts/#L174)

</details>

<span id="api-ChordStyle-gridRowSpan"></span>
<details>
<summary>gridRowSpan (optional)</summary>


```ts
gridRowSpan?: number | undefined
```

Number of rows occupied by this child. See LayoutItemStyle.

[View source — packages/core/src/lib/style/types.ts:176](/source/packages/core/src/lib/style/types-ts/#L176)

</details>

<span id="api-ChordStyle-scaleX"></span>
<details>
<summary>scaleX (optional)</summary>


```ts
scaleX?: number | undefined
```

Horizontal scale factor. See GStyle.

[View source — packages/core/src/lib/components/g.ts:46](/source/packages/core/src/lib/components/g-ts/#L46)

</details>

<span id="api-ChordStyle-scaleY"></span>
<details>
<summary>scaleY (optional)</summary>


```ts
scaleY?: number | undefined
```

Vertical scale factor. See GStyle.

[View source — packages/core/src/lib/components/g.ts:48](/source/packages/core/src/lib/components/g-ts/#L48)

</details>

<span id="api-ChordStyle-rotationDegrees"></span>
<details>
<summary>rotationDegrees (optional)</summary>


```ts
rotationDegrees?: number | undefined
```

Clockwise rotation in degrees.

[View source — packages/core/src/lib/components/g.ts:50](/source/packages/core/src/lib/components/g-ts/#L50)

</details>

<span id="api-ChordStyle-rotationOrigin"></span>
<details>
<summary>rotationOrigin (optional)</summary>


```ts
rotationOrigin?: [number, number] | undefined
```

Point around which the rotation is applied. See GStyle.

[View source — packages/core/src/lib/components/g.ts:52](/source/packages/core/src/lib/components/g-ts/#L52)

</details>

<span id="api-ChordStyle-translateX"></span>
<details>
<summary>translateX (optional)</summary>


```ts
translateX?: number | undefined
```

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

[View source — packages/core/src/lib/components/g.ts:54](/source/packages/core/src/lib/components/g-ts/#L54)

</details>

<span id="api-ChordStyle-translateY"></span>
<details>
<summary>translateY (optional)</summary>


```ts
translateY?: number | undefined
```

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

[View source — packages/core/src/lib/components/g.ts:56](/source/packages/core/src/lib/components/g-ts/#L56)

</details>

<span id="api-ChordStyle-skewX"></span>
<details>
<summary>skewX (optional)</summary>


```ts
skewX?: number | undefined
```

Horizontal skew angle in degrees.

[View source — packages/core/src/lib/components/g.ts:58](/source/packages/core/src/lib/components/g-ts/#L58)

</details>

<span id="api-ChordStyle-skewY"></span>
<details>
<summary>skewY (optional)</summary>


```ts
skewY?: number | undefined
```

Vertical skew angle in degrees.

[View source — packages/core/src/lib/components/g.ts:60](/source/packages/core/src/lib/components/g-ts/#L60)

</details>

<span id="api-ChordStyle-layoutParticipation"></span>
<details>
<summary>layoutParticipation (optional)</summary>


```ts
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](/source/packages/core/src/lib/types-ts/#L69)

</details>

<span id="api-ChordStyle-transition"></span>
<details>
<summary>transition (optional)</summary>


```ts
transition?: PibblTransitionBinding | undefined
```

Related API: [PibblTransitionBinding](/reference/hooks/use-visibility-transition/).

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

[View source — packages/core/src/lib/types.ts:71](/source/packages/core/src/lib/types-ts/#L71)

</details>

<span id="api-ChordStyle-custom"></span>
<details>
<summary>custom (optional)</summary>


```ts
custom?: unknown
```

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

[View source — packages/core/src/lib/types.ts:73](/source/packages/core/src/lib/types-ts/#L73)

</details>

<span id="api-ChordStyle-filter"></span>
<details>
<summary>filter (optional)</summary>


```ts
filter?: PibblFilter | readonly PibblFilter[] | undefined
```

Related API: [PibblFilter](/reference/types/filters/#pibblfilter).

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

[View source — packages/core/src/lib/types.ts:78](/source/packages/core/src/lib/types-ts/#L78)

</details>

<span id="api-ChordOptions"></span>

### ChordOptions

Pure chord inputs and finite output bounds. GraphLayout

```ts
interface ChordOptions<C, T> extends ChordAccessors<C, T>
```

Related API: [ChordOptions](/reference/components/graph-visualization/), [ChordAccessors](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:1126](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1126)

#### Properties and methods

<span id="api-ChordOptions-bounds"></span>
<details>
<summary>bounds</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1128)

</details>

<span id="api-ChordOptions-bandWidth"></span>
<details>
<summary>bandWidth (optional)</summary>


```ts
readonly bandWidth?: number | undefined
```

Chord-band thickness in local logical pixels. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1130](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1130)

</details>

<span id="api-ChordOptions-padAngle"></span>
<details>
<summary>padAngle (optional)</summary>


```ts
readonly padAngle?: number | undefined
```

Angular gap between chord categories in degrees. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1132](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1132)

</details>

<span id="api-ChordOptions-startAngle"></span>
<details>
<summary>startAngle (optional)</summary>


```ts
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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1134)

</details>

<span id="api-ChordOptions-categoryKey"></span>
<details>
<summary>categoryKey</summary>


```ts
readonly categoryKey: Accessor<C, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each category key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1034](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1034)

</details>

<span id="api-ChordOptions-label"></span>
<details>
<summary>label (optional)</summary>


```ts
readonly label?: Accessor<C, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a node’s primary text. LabelGeometry

[View source — packages/core/src/features/viz/lib/graph/types.ts:1036](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1036)

</details>

<span id="api-ChordOptions-source"></span>
<details>
<summary>source</summary>


```ts
readonly source: Accessor<T, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads an edge source key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1038](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1038)

</details>

<span id="api-ChordOptions-target"></span>
<details>
<summary>target</summary>


```ts
readonly target: Accessor<T, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads an edge target key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1040](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1040)

</details>

<span id="api-ChordOptions-value"></span>
<details>
<summary>value</summary>


```ts
readonly value: Accessor<T, number>
```

Related API: [Accessor](/reference/components/graph-visualization/).

Reads the finite quantitative value. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1042](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1042)

</details>

<span id="api-ChordOptions-unit"></span>
<details>
<summary>unit</summary>


```ts
readonly unit: string
```

Display unit for quantitative values. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1044](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1044)

</details>

<span id="api-ChordOptions-formatValue"></span>
<details>
<summary>formatValue (optional)</summary>


```ts
readonly formatValue?: ((value: number) => string) | undefined
```

Formats a quantitative value for display. GraphLayout

##### Parameters

- **`value`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:1048](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1048)

</details>

<span id="api-ChordDiagramProps"></span>

### ChordDiagramProps

Reactive chord data and default band/ribbon presentation. GraphLayout

```ts
interface ChordDiagramProps<C, T> extends ChordAccessors<C, T>
```

Related API: [ChordDiagramProps](/reference/components/graph-visualization/), [ChordAccessors](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:1137](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1137)

#### Properties and methods

<span id="api-ChordDiagramProps-data"></span>
<details>
<summary>data</summary>


```ts
readonly data: SignalValue<ChordData<C, T>>
```

Related API: [SignalValue](/reference/types/signal-inputs/#signalvalue), [ChordData](/reference/components/graph-visualization/).

Input records; publish a new snapshot to update. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1139](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1139)

</details>

<span id="api-ChordDiagramProps-style"></span>
<details>
<summary>style (optional)</summary>


```ts
readonly style?: Style<ChordStyle> | undefined
```

Related API: [Style](/reference/components/graph-visualization/), [ChordStyle](/reference/components/graph-visualization/).

Frame style and responsive size allocation. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1141](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1141)

</details>

<span id="api-ChordDiagramProps-bandStyle"></span>
<details>
<summary>bandStyle (optional)</summary>


```ts
readonly bandStyle?: MarkStyle<ChordBandGeometry<C>, EdgeStyle> | undefined
```

Related API: [MarkStyle](/reference/components/graph-visualization/), [ChordBandGeometry](/reference/components/graph-visualization/), [EdgeStyle](/reference/components/graph-visualization/).

Style for category bands. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1143](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1143)

</details>

<span id="api-ChordDiagramProps-ribbonStyle"></span>
<details>
<summary>ribbonStyle (optional)</summary>


```ts
readonly ribbonStyle?: MarkStyle<ChordRibbonGeometry<T>, EdgeStyle> | undefined
```

Related API: [MarkStyle](/reference/components/graph-visualization/), [ChordRibbonGeometry](/reference/components/graph-visualization/), [EdgeStyle](/reference/components/graph-visualization/).

Style for transfer ribbons. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1145](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1145)

</details>

<span id="api-ChordDiagramProps-labelStyle"></span>
<details>
<summary>labelStyle (optional)</summary>


```ts
readonly labelStyle?: Style<LabelStyle> | undefined
```

Related API: [Style](/reference/components/graph-visualization/), [LabelStyle](/reference/components/graph-visualization/).

Style for decorative labels. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1147](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1147)

</details>

<span id="api-ChordDiagramProps-renderBand"></span>
<details>
<summary>renderBand (optional)</summary>


```ts
readonly renderBand?: ((band: ChordBandGeometry<C>) => PibblNode) | undefined
```

Related API: [ChordBandGeometry](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

Replaces the default category-band mark with this composition. GraphLayout

##### Parameters

- **`band`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:1151](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1151)

</details>

<span id="api-ChordDiagramProps-renderRibbon"></span>
<details>
<summary>renderRibbon (optional)</summary>


```ts
readonly renderRibbon?: ((ribbon: ChordRibbonGeometry<T>) => PibblNode) | undefined
```

Related API: [ChordRibbonGeometry](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

Replaces the default ribbon mark with this composition. GraphLayout

##### Parameters

- **`ribbon`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:1155](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1155)

</details>

<span id="api-ChordDiagramProps-onBandClick"></span>
<details>
<summary>onBandClick (optional)</summary>


```ts
readonly onBandClick?: ((band: ChordBandGeometry<C>, event: ClickEvent) => void) | undefined
```

Related API: [ChordBandGeometry](/reference/components/graph-visualization/).

Receives clicks on a band mark. GraphLayout

##### Parameters

- **`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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1159)

</details>

<span id="api-ChordDiagramProps-onRibbonClick"></span>
<details>
<summary>onRibbonClick (optional)</summary>


```ts
readonly onRibbonClick?: ((ribbon: ChordRibbonGeometry<T>, event: ClickEvent) => void) | undefined
```

Related API: [ChordRibbonGeometry](/reference/components/graph-visualization/).

Receives clicks on a ribbon mark. GraphLayout

##### Parameters

- **`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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1166)

</details>

<span id="api-ChordDiagramProps-categoryKey"></span>
<details>
<summary>categoryKey</summary>


```ts
readonly categoryKey: Accessor<C, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads each category key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1034](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1034)

</details>

<span id="api-ChordDiagramProps-label"></span>
<details>
<summary>label (optional)</summary>


```ts
readonly label?: Accessor<C, string> | undefined
```

Related API: [Accessor](/reference/components/graph-visualization/).

Optional reader for a node’s primary text. LabelGeometry

[View source — packages/core/src/features/viz/lib/graph/types.ts:1036](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1036)

</details>

<span id="api-ChordDiagramProps-source"></span>
<details>
<summary>source</summary>


```ts
readonly source: Accessor<T, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads an edge source key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1038](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1038)

</details>

<span id="api-ChordDiagramProps-target"></span>
<details>
<summary>target</summary>


```ts
readonly target: Accessor<T, VizKey>
```

Related API: [Accessor](/reference/components/graph-visualization/), [VizKey](/reference/components/graph-visualization/).

Reads an edge target key. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1040](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1040)

</details>

<span id="api-ChordDiagramProps-value"></span>
<details>
<summary>value</summary>


```ts
readonly value: Accessor<T, number>
```

Related API: [Accessor](/reference/components/graph-visualization/).

Reads the finite quantitative value. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1042](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1042)

</details>

<span id="api-ChordDiagramProps-unit"></span>
<details>
<summary>unit</summary>


```ts
readonly unit: string
```

Display unit for quantitative values. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1044](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1044)

</details>

<span id="api-ChordDiagramProps-formatValue"></span>
<details>
<summary>formatValue (optional)</summary>


```ts
readonly formatValue?: ((value: number) => string) | undefined
```

Formats a quantitative value for display. GraphLayout

##### Parameters

- **`value`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:1048](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1048)

</details>

<span id="api-ForceSimulation"></span>

### ForceSimulation

A manual deterministic solver with no scheduler or resource ownership. GraphLayout

```ts
interface ForceSimulation<N, E>
```

Related API: [ForceSimulation](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/types.ts:1176](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1176)

#### Properties and methods

<span id="api-ForceSimulation-read"></span>
<details>
<summary>read</summary>


```ts
read: () => ForceLayout<N, E>
```

Related API: [ForceLayout](/reference/components/graph-visualization/).

Reads the current immutable solver snapshot. GraphLayout

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:1179](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1179)

</details>

<span id="api-ForceSimulation-step"></span>
<details>
<summary>step</summary>


```ts
step: (options: Readonly<{ iterations: number; }>) => ForceLayout<N, E>
```

Related API: [ForceLayout](/reference/components/graph-visualization/).

Advances at most the requested solver iterations. GraphLayout

##### Parameters

- **`options`** — The source record or geometry supplied by Pibbl.

##### Returns

The value produced by this callback.

[View source — packages/core/src/features/viz/lib/graph/types.ts:1183](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1183)

</details>

<span id="api-ForceSimulation-update"></span>
<details>
<summary>update</summary>


```ts
update: (graph: GraphData<N, E>, options: ForceOptions<N, E>) => void
```

Related API: [GraphData](/reference/components/graph-visualization/), [ForceOptions](/reference/components/graph-visualization/).

Reconfigures this manual solver with a new graph snapshot. GraphLayout

##### Parameters

- **`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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1192)

</details>

<span id="api-ForceSimulation-restart"></span>
<details>
<summary>restart</summary>


```ts
restart: () => void
```

Restarts the current solver without discarding node positions. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1194](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1194)

</details>

<span id="api-ForceSimulation-reset"></span>
<details>
<summary>reset</summary>


```ts
reset: () => void
```

Restores seeded positions and clears pins. GraphLayout

[View source — packages/core/src/features/viz/lib/graph/types.ts:1196](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1196)

</details>

<span id="api-ForceSimulation-pin"></span>
<details>
<summary>pin</summary>


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

Related API: [VizKey](/reference/components/graph-visualization/), [Point](/reference/components/graph-visualization/).

Pins one node at a finite local position. GraphLayout

##### Parameters

- **`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](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1200)

</details>

<span id="api-ForceSimulation-release"></span>
<details>
<summary>release</summary>


```ts
release: (key: VizKey) => void
```

Related API: [VizKey](/reference/components/graph-visualization/).

Releases a previously pinned node. GraphLayout

##### Parameters

- **`key`** — The source record or geometry supplied by Pibbl.

[View source — packages/core/src/features/viz/lib/graph/types.ts:1203](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1203)

</details>

<span id="api-ForceSimulationFactory"></span>

### ForceSimulationFactory

Creates a compatible manual force solver for supplied graph inputs. GraphLayout

```ts
type ForceSimulationFactory<N, E> = (
    graph: GraphData<N, E>,
    options: ForceOptions<N, E>,
  ) => ForceSimulation<N, E>
```

Related API: [ForceSimulationFactory](/reference/components/graph-visualization/), [GraphData](/reference/components/graph-visualization/), [ForceOptions](/reference/components/graph-visualization/), [ForceSimulation](/reference/components/graph-visualization/).

#### Parameters

- **`graph`** — Source graph.

- **`options`** — Solver options.

#### Returns

Simulation.

[View source — packages/core/src/features/viz/lib/graph/types.ts:1209](/source/packages/core/src/features/viz/lib/graph/types-ts/#L1209)

<span id="api-GraphNode"></span>

### GraphNode

Draw a node box; children use node-local coordinates and ordinary Pibbl events.

```ts
GraphNode: <N>({ node, style, children, ...events }: GraphNodeProps<N>) => PibblNode
```

Related API: [GraphNode](/reference/components/graph-visualization/), [GraphNodeProps](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

#### Parameters

- **`props`** — Box geometry, paint and event handlers. See [GraphNodeProps](/reference/components/graph-visualization/).

#### Returns

A group containing the box and authored children. See [GraphNodeProps](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/shared.tsx:219](/source/packages/core/src/features/viz/lib/graph/shared-tsx/#L219)

<span id="api-GraphEdge"></span>

### GraphEdge

Draw an edge path and optional arrow with ordinary path targeting.

```ts
GraphEdge: <E>({ edge, style, ...events }: GraphEdgeProps<E>) => PibblNode
```

Related API: [GraphEdge](/reference/components/graph-visualization/), [GraphEdgeProps](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

#### Parameters

- **`props`** — Edge geometry, paint and event handlers. See [GraphEdgeProps](/reference/components/graph-visualization/).

#### Returns

Path content in diagram-local coordinates. See [GraphEdgeProps](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/shared.tsx:252](/source/packages/core/src/features/viz/lib/graph/shared-tsx/#L252)

<span id="api-GraphLabel"></span>

### GraphLabel

Draw decorative label text at its supplied box and rotation.

```ts
GraphLabel: ({ label, style }: GraphLabelProps) => PibblNode
```

Related API: [GraphLabel](/reference/components/graph-visualization/), [GraphLabelProps](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

#### Parameters

- **`props`** — Text geometry and optional text paint. See [GraphLabelProps](/reference/components/graph-visualization/).

#### Returns

A transformed decorative Text component. See [GraphLabelProps](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/shared.tsx:293](/source/packages/core/src/features/viz/lib/graph/shared-tsx/#L293)

<span id="api-GraphView"></span>

### GraphView

Render supplied graph geometry without layout, fitting, or simulation.

```ts
GraphView: <N, E>(props: GraphViewProps<N, E>) => PibblNode
```

Related API: [GraphView](/reference/components/graph-visualization/), [GraphViewProps](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

#### Parameters

- **`props`** — A snapshot or signal, item overrides and events. See [GraphViewProps](/reference/components/graph-visualization/).

#### Returns

An ordinary Pibbl composition preserving source paint order. See [GraphViewProps](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/shared.tsx:325](/source/packages/core/src/features/viz/lib/graph/shared-tsx/#L325)

<span id="api-defaultGraphNodeStyle"></span>

### defaultGraphNodeStyle

Return the built-in node paint as an ordinary reusable style.

```ts
defaultGraphNodeStyle: <N>(_node: GraphNodeGeometry<N>) => NodeStyle
```

Related API: [defaultGraphNodeStyle](/reference/components/graph-visualization/), [GraphNodeGeometry](/reference/components/graph-visualization/), [NodeStyle](/reference/components/graph-visualization/).

#### Parameters

- **`_node`** — The node being painted. See [GraphNodeGeometry](/reference/components/graph-visualization/).

#### Returns

Default fill, stroke and corner radius. See [NodeStyle](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/shared.tsx:186](/source/packages/core/src/features/viz/lib/graph/shared-tsx/#L186)

<span id="api-defaultGraphEdgeStyle"></span>

### defaultGraphEdgeStyle

Return the built-in edge paint as an ordinary reusable style.

```ts
defaultGraphEdgeStyle: <E>(_edge: GraphEdgeGeometry<E>) => EdgeStyle
```

Related API: [defaultGraphEdgeStyle](/reference/components/graph-visualization/), [GraphEdgeGeometry](/reference/components/graph-visualization/), [EdgeStyle](/reference/components/graph-visualization/).

#### Parameters

- **`_edge`** — The edge being painted. See [GraphEdgeGeometry](/reference/components/graph-visualization/).

#### Returns

Default stroke and logical stroke width. See [EdgeStyle](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/shared.tsx:201](/source/packages/core/src/features/viz/lib/graph/shared-tsx/#L201)

<span id="api-defaultGraphLabelStyle"></span>

### defaultGraphLabelStyle

Return the built-in label paint as an ordinary reusable style.

```ts
defaultGraphLabelStyle: (_label: LabelGeometry) => LabelStyle
```

Related API: [defaultGraphLabelStyle](/reference/components/graph-visualization/), [LabelGeometry](/reference/components/graph-visualization/), [LabelStyle](/reference/components/graph-visualization/).

#### Parameters

- **`_label`** — The label being painted. See [LabelGeometry](/reference/components/graph-visualization/).

#### Returns

Default Canvas font, fill and middle baseline. See [LabelStyle](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/shared.tsx:211](/source/packages/core/src/features/viz/lib/graph/shared-tsx/#L211)

<span id="api-straightGraphRoute"></span>

### straightGraphRoute

Build an independent straight graph route in local logical units.

```ts
straightGraphRoute: (endpoints: Endpoints, options?: Readonly<{ arrowLength?: number; }>) => GraphRoute
```

Related API: [straightGraphRoute](/reference/components/graph-visualization/), [GraphRoute](/reference/components/graph-visualization/).

#### Parameters

- **`endpoints`** — Finite named source and target anchor points. See [GraphRoute](/reference/components/graph-visualization/).

- **`options`** — Optional nonnegative arrowLength (default zero).

#### Returns

Named anchors and independently editable core path segments. See [GraphRoute](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/routes.ts:45](/source/packages/core/src/features/viz/lib/graph/routes-ts/#L45)

<span id="api-orthogonalGraphRoute"></span>

### orthogonalGraphRoute

Build an independent horizontal orthogonal graph route in local logical units.

```ts
orthogonalGraphRoute: (endpoints: Endpoints, options?: Readonly<{ arrowLength?: number; }>) => GraphRoute
```

Related API: [orthogonalGraphRoute](/reference/components/graph-visualization/), [GraphRoute](/reference/components/graph-visualization/).

#### Parameters

- **`endpoints`** — Finite named source and target anchor points. See [GraphRoute](/reference/components/graph-visualization/).

- **`options`** — Optional nonnegative arrowLength (default zero).

#### Returns

Named anchors and independently editable core path segments. See [GraphRoute](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/routes.ts:65](/source/packages/core/src/features/viz/lib/graph/routes-ts/#L65)

<span id="api-curvedGraphRoute"></span>

### curvedGraphRoute

Build an independent horizontal cubic graph route in local logical units.

```ts
curvedGraphRoute: (endpoints: Endpoints, options?: Readonly<{ curvature?: number; arrowLength?: number; }>) => GraphRoute
```

Related API: [curvedGraphRoute](/reference/components/graph-visualization/), [GraphRoute](/reference/components/graph-visualization/).

#### Parameters

- **`endpoints`** — Finite named source and target anchor points. See [GraphRoute](/reference/components/graph-visualization/).

- **`options`** — Optional nonnegative arrowLength (default zero); curvature defaults to 0.5 and must be in [0, 1].

#### Returns

Named anchors and independently editable core path segments. See [GraphRoute](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/routes.ts:97](/source/packages/core/src/features/viz/lib/graph/routes-ts/#L97)

<span id="api-layoutDependencies"></span>

### layoutDependencies

Place a DAG in longest-path ranks with editable orthogonal routes. Cycles and insufficient bounds throw.

```ts
layoutDependencies: <N, E>(graph: GraphData<N, E>, options: DependencyOptions<N, E>) => GraphLayout<N, E>
```

Related API: [layoutDependencies](/reference/components/graph-visualization/), [GraphData](/reference/components/graph-visualization/), [DependencyOptions](/reference/components/graph-visualization/), [GraphLayout](/reference/components/graph-visualization/).

#### Parameters

- **`graph`** — Original node and edge records. See [GraphData](/reference/components/graph-visualization/).

- **`options`** — Typed accessors, finite bounds, node sizes and nonnegative gaps. See [DependencyOptions](/reference/components/graph-visualization/).

#### Returns

Original-record node geometry and routes in local logical units. See [GraphLayout](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/dependency.tsx:65](/source/packages/core/src/features/viz/lib/graph/dependency-tsx/#L65)

<span id="api-DependencyGraph"></span>

### DependencyGraph

Compose the public dependency layout helper and graph marks with useful defaults.

```ts
DependencyGraph: <N, E>(props: DependencyGraphProps<N, E>) => PibblNode
```

Related API: [DependencyGraph](/reference/components/graph-visualization/), [DependencyGraphProps](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

#### Parameters

- **`props`** — Graph input, accessors, presentation and definite allocation. See [DependencyGraphProps](/reference/components/graph-visualization/).

#### Returns

The same graph composition available through layoutDependencies and GraphView. See [GraphView](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/dependency.tsx:174](/source/packages/core/src/features/viz/lib/graph/dependency-tsx/#L174)

<span id="api-layoutMatrix"></span>

### layoutMatrix

Computes ordered cells for an explicit row/column relation matrix.

```ts
layoutMatrix: <R, C, E>(data: MatrixData<R, C, E>, options: MatrixOptions<R, C, E>) => MatrixLayout<R, C, E>
```

Related API: [layoutMatrix](/reference/components/graph-visualization/), [MatrixData](/reference/components/graph-visualization/), [MatrixOptions](/reference/components/graph-visualization/), [MatrixLayout](/reference/components/graph-visualization/).

#### Parameters

- **`data`** — Explicit rows, columns, and ordered relations. See [MatrixData](/reference/components/graph-visualization/).

- **`options`** — Typed accessors, dimensions, labels, and unit. See [MatrixOptions](/reference/components/graph-visualization/).

#### Returns

Immutable cell and label geometry. See [MatrixLayout](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/matrix.tsx:61](/source/packages/core/src/features/viz/lib/graph/matrix-tsx/#L61)

<span id="api-AdjacencyMatrix"></span>

### AdjacencyMatrix

Render an ordered relation matrix with default marks and labels.

```ts
AdjacencyMatrix: <R, C, E>(props: AdjacencyMatrixProps<R, C, E>) => PibblNode
```

Related API: [AdjacencyMatrix](/reference/components/graph-visualization/), [AdjacencyMatrixProps](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

#### Parameters

- **`props`** — Matrix data and presentation.

#### Returns

Canvas node.

#### See also

[layoutMatrix](/reference/components/graph-visualization/)

[View source — packages/core/src/features/viz/lib/graph/matrix.tsx:256](/source/packages/core/src/features/viz/lib/graph/matrix-tsx/#L256)

<span id="api-MatrixCell"></span>

### MatrixCell

Draw one supplied matrix cell geometry.

```ts
MatrixCell: <R, C, E>({ cell, style: input, children, ...events }: MatrixCellProps<R, C, E>) => PibblNode
```

Related API: [MatrixCell](/reference/components/graph-visualization/), [MatrixCellProps](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

#### Parameters

- **`argument`** — Cell props.

#### Returns

Canvas node.

#### See also

[MatrixCellProps](/reference/components/graph-visualization/)

[View source — packages/core/src/features/viz/lib/graph/matrix.tsx:227](/source/packages/core/src/features/viz/lib/graph/matrix-tsx/#L227)

<span id="api-defaultMatrixCellStyle"></span>

### defaultMatrixCellStyle

Default cell paint for custom matrix compositions.

```ts
defaultMatrixCellStyle: <R, C, E>(cell: MatrixCellGeometry<R, C, E>, range: Readonly<{ minimum: number; maximum: number; }>) => NodeStyle
```

Related API: [defaultMatrixCellStyle](/reference/components/graph-visualization/), [MatrixCellGeometry](/reference/components/graph-visualization/), [NodeStyle](/reference/components/graph-visualization/).

#### Parameters

- **`cell`** — Cell geometry.

- **`range`** — Observed numeric extent.

#### Returns

Resolved cell paint.

#### See also

[MatrixCell](/reference/components/graph-visualization/)

[View source — packages/core/src/features/viz/lib/graph/matrix.tsx:206](/source/packages/core/src/features/viz/lib/graph/matrix-tsx/#L206)

<span id="api-layoutSankey"></span>

### layoutSankey

Places an acyclic weighted flow graph in deterministic left-to-right ranks.

```ts
layoutSankey: <N, E>(graph: GraphData<N, E>, options: SankeyOptions<N, E>) => SankeyLayout<N, E>
```

Related API: [layoutSankey](/reference/components/graph-visualization/), [GraphData](/reference/components/graph-visualization/), [SankeyOptions](/reference/components/graph-visualization/), [SankeyLayout](/reference/components/graph-visualization/).

#### Parameters

- **`graph`** — Nodes and acyclic weighted edges. See [GraphData](/reference/components/graph-visualization/).

- **`options`** — Accessors, bounds, and display unit. See [SankeyOptions](/reference/components/graph-visualization/).

#### Returns

Immutable nodes and proportional flow geometry. See [SankeyLayout](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/sankey.tsx:59](/source/packages/core/src/features/viz/lib/graph/sankey-tsx/#L59)

<span id="api-Sankey"></span>

### Sankey

Render a weighted acyclic flow graph.

```ts
Sankey: <N, E>(props: SankeyProps<N, E>) => PibblNode
```

Related API: [Sankey](/reference/components/graph-visualization/), [SankeyProps](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

#### Parameters

- **`props`** — Graph data and presentation.

#### Returns

Canvas node.

#### See also

[layoutSankey](/reference/components/graph-visualization/)

[View source — packages/core/src/features/viz/lib/graph/sankey.tsx:354](/source/packages/core/src/features/viz/lib/graph/sankey-tsx/#L354)

<span id="api-SankeyNode"></span>

### SankeyNode

Draw one supplied Sankey node.

```ts
SankeyNode: <N>({ node, style: input, children, ...events }: GraphNodeProps<N> & { readonly node: SankeyNodeGeometry<N>; }) => PibblNode
```

Related API: [SankeyNode](/reference/components/graph-visualization/), [GraphNodeProps](/reference/components/graph-visualization/), [SankeyNodeGeometry](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

#### Parameters

- **`argument`** — Node props.

#### Returns

Canvas node.

#### See also

[SankeyNodeGeometry](/reference/components/graph-visualization/)

[View source — packages/core/src/features/viz/lib/graph/sankey.tsx:317](/source/packages/core/src/features/viz/lib/graph/sankey-tsx/#L317)

<span id="api-SankeyFlow"></span>

### SankeyFlow

Draw one supplied Sankey flow.

```ts
SankeyFlow: <E>({ flow, style: input, ...events }: MarkInteraction & { readonly flow: SankeyFlowGeometry<E>; readonly style?: Style<EdgeStyle>; }) => PibblNode
```

Related API: [SankeyFlow](/reference/components/graph-visualization/), [MarkInteraction](/reference/components/graph-visualization/), [SankeyFlowGeometry](/reference/components/graph-visualization/), [Style](/reference/components/graph-visualization/), [EdgeStyle](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

#### Parameters

- **`argument`** — Flow props.

#### Returns

Canvas node.

#### See also

[SankeyFlowGeometry](/reference/components/graph-visualization/)

[View source — packages/core/src/features/viz/lib/graph/sankey.tsx:334](/source/packages/core/src/features/viz/lib/graph/sankey-tsx/#L334)

<span id="api-defaultSankeyNodeStyle"></span>

### defaultSankeyNodeStyle

Default node paint for custom Sankey compositions.

```ts
defaultSankeyNodeStyle: <N>(_node: SankeyNodeGeometry<N>) => NodeStyle
```

Related API: [defaultSankeyNodeStyle](/reference/components/graph-visualization/), [SankeyNodeGeometry](/reference/components/graph-visualization/), [NodeStyle](/reference/components/graph-visualization/).

#### Parameters

- **`_node`** — Node geometry.

#### Returns

Resolved node paint.

#### See also

[SankeyNode](/reference/components/graph-visualization/)

[View source — packages/core/src/features/viz/lib/graph/sankey.tsx:297](/source/packages/core/src/features/viz/lib/graph/sankey-tsx/#L297)

<span id="api-defaultSankeyFlowStyle"></span>

### defaultSankeyFlowStyle

Default flow paint for custom Sankey compositions.

```ts
defaultSankeyFlowStyle: <E>(_flow: SankeyFlowGeometry<E>) => EdgeStyle
```

Related API: [defaultSankeyFlowStyle](/reference/components/graph-visualization/), [SankeyFlowGeometry](/reference/components/graph-visualization/), [EdgeStyle](/reference/components/graph-visualization/).

#### Parameters

- **`_flow`** — Flow geometry.

#### Returns

Resolved flow paint.

#### See also

[SankeyFlow](/reference/components/graph-visualization/)

[View source — packages/core/src/features/viz/lib/graph/sankey.tsx:307](/source/packages/core/src/features/viz/lib/graph/sankey-tsx/#L307)

<span id="api-layoutBipartite"></span>

### layoutBipartite

Arranges two explicit entity sets in columns, retaining side-qualified identity.

```ts
layoutBipartite: <L, R, E>(graph: BipartiteData<L, R, E>, options: BipartiteOptions<L, R, E>) => BipartiteLayout<L, R, E>
```

Related API: [layoutBipartite](/reference/components/graph-visualization/), [BipartiteData](/reference/components/graph-visualization/), [BipartiteOptions](/reference/components/graph-visualization/), [BipartiteLayout](/reference/components/graph-visualization/).

#### Parameters

- **`graph`** — Explicit left and right entities with cross-set edges. See [BipartiteData](/reference/components/graph-visualization/).

- **`options`** — Accessors, dimensions, and column spacing. See [BipartiteOptions](/reference/components/graph-visualization/).

#### Returns

Immutable side-aware nodes and routed edges. See [BipartiteLayout](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/bipartite.tsx:123](/source/packages/core/src/features/viz/lib/graph/bipartite-tsx/#L123)

<span id="api-BipartiteGraph"></span>

### BipartiteGraph

Render left/right entity sets and their cross-set relationships.

```ts
BipartiteGraph: <L, R, E>(props: BipartiteGraphProps<L, R, E>) => PibblNode
```

Related API: [BipartiteGraph](/reference/components/graph-visualization/), [BipartiteGraphProps](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

#### Parameters

- **`props`** — Entity data and presentation.

#### Returns

Canvas node.

#### See also

[layoutBipartite](/reference/components/graph-visualization/)

[View source — packages/core/src/features/viz/lib/graph/bipartite.tsx:227](/source/packages/core/src/features/viz/lib/graph/bipartite-tsx/#L227)

<span id="api-layoutChords"></span>

### layoutChords

Computes a directed chord layout, aggregating repeated ordered transfer pairs.

```ts
layoutChords: <C, T>(data: ChordData<C, T>, options: ChordOptions<C, T>) => ChordLayout<C, T>
```

Related API: [layoutChords](/reference/components/graph-visualization/), [ChordData](/reference/components/graph-visualization/), [ChordOptions](/reference/components/graph-visualization/), [ChordLayout](/reference/components/graph-visualization/).

#### Parameters

- **`data`** — Ordered category transfers. See [ChordData](/reference/components/graph-visualization/).

- **`options`** — Accessors, bounds, angular spacing, and unit. See [ChordOptions](/reference/components/graph-visualization/).

#### Returns

Immutable bands and directed ribbon geometry. See [ChordLayout](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/chord.tsx:98](/source/packages/core/src/features/viz/lib/graph/chord-tsx/#L98)

<span id="api-ChordDiagram"></span>

### ChordDiagram

Render a directed transfer chord diagram.

```ts
ChordDiagram: <C, T>(props: ChordDiagramProps<C, T>) => PibblNode
```

Related API: [ChordDiagram](/reference/components/graph-visualization/), [ChordDiagramProps](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

#### Parameters

- **`props`** — Transfer data and presentation.

#### Returns

Canvas node.

#### See also

[layoutChords](/reference/components/graph-visualization/)

[View source — packages/core/src/features/viz/lib/graph/chord.tsx:382](/source/packages/core/src/features/viz/lib/graph/chord-tsx/#L382)

<span id="api-ChordBand"></span>

### ChordBand

Draw one supplied category band.

```ts
ChordBand: <C>({ band, style: input, ...events }: MarkInteraction & { readonly band: ChordBandGeometry<C>; readonly style?: Style<EdgeStyle>; }) => PibblNode
```

Related API: [ChordBand](/reference/components/graph-visualization/), [MarkInteraction](/reference/components/graph-visualization/), [ChordBandGeometry](/reference/components/graph-visualization/), [Style](/reference/components/graph-visualization/), [EdgeStyle](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

#### Parameters

- **`argument`** — Band props.

#### Returns

Canvas node.

#### See also

[ChordBandGeometry](/reference/components/graph-visualization/)

[View source — packages/core/src/features/viz/lib/graph/chord.tsx:342](/source/packages/core/src/features/viz/lib/graph/chord-tsx/#L342)

<span id="api-ChordRibbon"></span>

### ChordRibbon

Draw one supplied directed ribbon.

```ts
ChordRibbon: <T>({ ribbon, style: input, ...events }: MarkInteraction & { readonly ribbon: ChordRibbonGeometry<T>; readonly style?: Style<EdgeStyle>; }) => PibblNode
```

Related API: [ChordRibbon](/reference/components/graph-visualization/), [MarkInteraction](/reference/components/graph-visualization/), [ChordRibbonGeometry](/reference/components/graph-visualization/), [Style](/reference/components/graph-visualization/), [EdgeStyle](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

#### Parameters

- **`argument`** — Ribbon props.

#### Returns

Canvas node.

#### See also

[ChordRibbonGeometry](/reference/components/graph-visualization/)

[View source — packages/core/src/features/viz/lib/graph/chord.tsx:362](/source/packages/core/src/features/viz/lib/graph/chord-tsx/#L362)

<span id="api-defaultChordBandStyle"></span>

### defaultChordBandStyle

Default outer-band paint for custom chord compositions.

```ts
defaultChordBandStyle: <C>(_band: ChordBandGeometry<C>) => EdgeStyle
```

Related API: [defaultChordBandStyle](/reference/components/graph-visualization/), [ChordBandGeometry](/reference/components/graph-visualization/), [EdgeStyle](/reference/components/graph-visualization/).

#### Parameters

- **`_band`** — Band geometry.

#### Returns

Resolved band paint.

#### See also

[ChordBand](/reference/components/graph-visualization/)

[View source — packages/core/src/features/viz/lib/graph/chord.tsx:322](/source/packages/core/src/features/viz/lib/graph/chord-tsx/#L322)

<span id="api-defaultChordRibbonStyle"></span>

### defaultChordRibbonStyle

Default directed-ribbon paint for custom chord compositions.

```ts
defaultChordRibbonStyle: <T>(_ribbon: ChordRibbonGeometry<T>) => EdgeStyle
```

Related API: [defaultChordRibbonStyle](/reference/components/graph-visualization/), [ChordRibbonGeometry](/reference/components/graph-visualization/), [EdgeStyle](/reference/components/graph-visualization/).

#### Parameters

- **`_ribbon`** — Ribbon geometry.

#### Returns

Resolved ribbon paint.

#### See also

[ChordRibbon](/reference/components/graph-visualization/)

[View source — packages/core/src/features/viz/lib/graph/chord.tsx:332](/source/packages/core/src/features/viz/lib/graph/chord-tsx/#L332)

<span id="api-layoutTree"></span>

### layoutTree

Lay out a validated hierarchy with stable child order and variable node dimensions.

```ts
layoutTree: <D>(root: D, options: TreeOptions<D>) => TreeLayout<D>
```

Related API: [layoutTree](/reference/components/graph-visualization/), [TreeOptions](/reference/components/graph-visualization/), [TreeLayout](/reference/components/graph-visualization/).

#### Parameters

- **`root`** — Hierarchy root.

- **`options`** — Named hierarchy accessors and finite bounds.

#### Returns

Immutable node and edge geometry.

#### See also

[TreeLayout](/reference/components/graph-visualization/)

[View source — packages/core/src/features/viz/lib/graph/tree.tsx:40](/source/packages/core/src/features/viz/lib/graph/tree-tsx/#L40)

<span id="api-TidyTree"></span>

### TidyTree

Render a tidy hierarchy from ordinary data using default marks or caller compositions.

```ts
TidyTree: <D>(props: TidyTreeProps<D>) => PibblNode
```

Related API: [TidyTree](/reference/components/graph-visualization/), [TidyTreeProps](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

#### Parameters

- **`props`** — Reactive hierarchy data, presentation, and frame style.

#### Returns

Canvas composition.

#### See also

[layoutTree](/reference/components/graph-visualization/)

[View source — packages/core/src/features/viz/lib/graph/tree.tsx:181](/source/packages/core/src/features/viz/lib/graph/tree-tsx/#L181)

<span id="api-layoutTreemap"></span>

### layoutTreemap

Squarify weighted hierarchy leaves into stable, compact rectangles.

```ts
layoutTreemap: <D>(root: D, options: TreemapOptions<D>) => PartitionLayout<D>
```

Related API: [layoutTreemap](/reference/components/graph-visualization/), [TreemapOptions](/reference/components/graph-visualization/), [PartitionLayout](/reference/components/graph-visualization/).

#### Parameters

- **`root`** — Hierarchy root.

- **`options`** — Accessors, units, and finite bounds.

#### Returns

Immutable partition geometry.

#### See also

[PartitionLayout](/reference/components/graph-visualization/)

[View source — packages/core/src/features/viz/lib/graph/treemap.tsx:140](/source/packages/core/src/features/viz/lib/graph/treemap-tsx/#L140)

<span id="api-Treemap"></span>

### Treemap

Render a squarified hierarchy with visible quantitative labels.

```ts
Treemap: <D>(props: TreemapProps<D>) => PibblNode
```

Related API: [Treemap](/reference/components/graph-visualization/), [TreemapProps](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

#### Parameters

- **`props`** — Reactive hierarchy data and presentation.

#### Returns

Canvas composition.

#### See also

[layoutTreemap](/reference/components/graph-visualization/)

[View source — packages/core/src/features/viz/lib/graph/treemap.tsx:242](/source/packages/core/src/features/viz/lib/graph/treemap-tsx/#L242)

<span id="api-TreemapCell"></span>

### TreemapCell

Paint one partition cell at its immutable geometry.

```ts
TreemapCell: <D>(props: PartitionCellProps<D>) => PibblNode
```

Related API: [TreemapCell](/reference/components/graph-visualization/), [PartitionCellProps](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

#### Parameters

- **`props`** — Cell geometry, paint, events, and optional global-coordinate children.

#### Returns

Canvas composition.

#### See also

[PartitionCellGeometry](/reference/components/graph-visualization/)

[View source — packages/core/src/features/viz/lib/graph/treemap.tsx:219](/source/packages/core/src/features/viz/lib/graph/treemap-tsx/#L219)

<span id="api-defaultPartitionCellStyle"></span>

### defaultPartitionCellStyle

Return the built-in depth-aware partition paint.

```ts
defaultPartitionCellStyle: <D>(cell: PartitionCellGeometry<D>) => NodeStyle
```

Related API: [defaultPartitionCellStyle](/reference/components/graph-visualization/), [PartitionCellGeometry](/reference/components/graph-visualization/), [NodeStyle](/reference/components/graph-visualization/).

#### Parameters

- **`cell`** — Partition cell geometry.

#### Returns

Ordinary rectangle style.

#### See also

[PartitionCellGeometry](/reference/components/graph-visualization/)

[View source — packages/core/src/features/viz/lib/graph/treemap.tsx:35](/source/packages/core/src/features/viz/lib/graph/treemap-tsx/#L35)

<span id="api-layoutIcicle"></span>

### layoutIcicle

Lay out hierarchy values in depth rows.

```ts
layoutIcicle: <D>(root: D, options: IcicleOptions<D>) => PartitionLayout<D>
```

Related API: [layoutIcicle](/reference/components/graph-visualization/), [IcicleOptions](/reference/components/graph-visualization/), [PartitionLayout](/reference/components/graph-visualization/).

#### Parameters

- **`root`** — Hierarchy root.

- **`options`** — Accessors, units, and finite bounds.

#### Returns

Immutable partition geometry.

#### See also

[PartitionLayout](/reference/components/graph-visualization/)

[View source — packages/core/src/features/viz/lib/graph/icicle.tsx:35](/source/packages/core/src/features/viz/lib/graph/icicle-tsx/#L35)

<span id="api-Icicle"></span>

### Icicle

Render hierarchy values as depth-aligned bands.

```ts
Icicle: <D>(props: IcicleProps<D>) => PibblNode
```

Related API: [Icicle](/reference/components/graph-visualization/), [IcicleProps](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

#### Parameters

- **`props`** — Reactive hierarchy data and presentation.

#### Returns

Canvas composition.

#### See also

[layoutIcicle](/reference/components/graph-visualization/)

[View source — packages/core/src/features/viz/lib/graph/icicle.tsx:141](/source/packages/core/src/features/viz/lib/graph/icicle-tsx/#L141)

<span id="api-IcicleCell"></span>

### IcicleCell

Paint one icicle partition cell.

```ts
IcicleCell: <D>(props: PartitionCellProps<D>) => PibblNode
```

Related API: [IcicleCell](/reference/components/graph-visualization/), [PartitionCellProps](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

#### Parameters

- **`props`** — Cell geometry, paint, events, and optional children.

#### Returns

Canvas composition.

#### See also

[PartitionCellGeometry](/reference/components/graph-visualization/)

[View source — packages/core/src/features/viz/lib/graph/icicle.tsx:118](/source/packages/core/src/features/viz/lib/graph/icicle-tsx/#L118)

<span id="api-layoutNeighborhood"></span>

### layoutNeighborhood

Lay out the reachable neighborhood around one stable key in concentric rings.

```ts
layoutNeighborhood: <N, E>(graph: GraphData<N, E>, options: NeighborhoodOptions<N, E>) => NeighborhoodLayout<N, E>
```

Related API: [layoutNeighborhood](/reference/components/graph-visualization/), [GraphData](/reference/components/graph-visualization/), [NeighborhoodOptions](/reference/components/graph-visualization/), [NeighborhoodLayout](/reference/components/graph-visualization/).

#### Parameters

- **`graph`** — Nodes and edges in source order.

- **`options`** — Accessors, center, hops, and finite bounds.

#### Returns

Immutable neighborhood geometry.

#### See also

[NeighborhoodLayout](/reference/components/graph-visualization/)

[View source — packages/core/src/features/viz/lib/graph/neighborhood.tsx:43](/source/packages/core/src/features/viz/lib/graph/neighborhood-tsx/#L43)

<span id="api-RadialNeighborhood"></span>

### RadialNeighborhood

Render an interactive radial neighborhood from ordinary graph records.

```ts
RadialNeighborhood: <N, E>(props: RadialNeighborhoodProps<N, E>) => PibblNode
```

Related API: [RadialNeighborhood](/reference/components/graph-visualization/), [RadialNeighborhoodProps](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

#### Parameters

- **`props`** — Reactive graph, center, presentation, and frame style.

#### Returns

Canvas composition.

#### See also

[layoutNeighborhood](/reference/components/graph-visualization/)

[View source — packages/core/src/features/viz/lib/graph/neighborhood.tsx:242](/source/packages/core/src/features/viz/lib/graph/neighborhood-tsx/#L242)

<span id="api-createForceSimulation"></span>

### createForceSimulation

Create a deterministic, manually stepped numeric solver without resources or scheduling.
Uses inverse-square repulsion, Hooke link relaxation, damping, box collisions and bounded iterations.

```ts
createForceSimulation: <N, E>(graph: GraphData<N, E>, options: ForceOptions<N, E>) => ForceSimulation<N, E>
```

Related API: [createForceSimulation](/reference/components/graph-visualization/), [GraphData](/reference/components/graph-visualization/), [ForceOptions](/reference/components/graph-visualization/), [ForceSimulation](/reference/components/graph-visualization/).

#### Parameters

- **`graph`** — Original records. See [GraphData](/reference/components/graph-visualization/).

- **`options`** — Accessors, bounds and seed. See [ForceOptions](/reference/components/graph-visualization/).

#### Returns

Numeric session whose snapshots can be rendered or advanced by any public driver. See [ForceSimulation](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/force.tsx:102](/source/packages/core/src/features/viz/lib/graph/force-tsx/#L102)

<span id="api-layoutForceNetwork"></span>

### layoutForceNetwork

Solve a seeded force layout synchronously, bounded by maxIterations. No timers or resources are allocated.

```ts
layoutForceNetwork: <N, E>(graph: GraphData<N, E>, options: ForceOptions<N, E>) => ForceLayout<N, E>
```

Related API: [layoutForceNetwork](/reference/components/graph-visualization/), [GraphData](/reference/components/graph-visualization/), [ForceOptions](/reference/components/graph-visualization/), [ForceLayout](/reference/components/graph-visualization/).

#### Parameters

- **`graph`** — Original node and edge records. See [GraphData](/reference/components/graph-visualization/).

- **`options`** — Accessors, finite bounds and numeric settings. See [ForceOptions](/reference/components/graph-visualization/).

#### Returns

A bounded result which may remain unsettled on exhaustion. See [ForceLayout](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/force.tsx:365](/source/packages/core/src/features/viz/lib/graph/force-tsx/#L365)

<span id="api-useForceNetwork"></span>

### useForceNetwork

Own a force session through public stepper, drive, usePlayback and signals.

```ts
useForceNetwork: <N, E>(graph: SignalValue<GraphData<N, E>>, options: ForceHookOptions<N, E>) => ForceNetworkController<N, E>
```

Related API: [useForceNetwork](/reference/components/graph-visualization/), [SignalValue](/reference/types/signal-inputs/#signalvalue), [GraphData](/reference/components/graph-visualization/), [ForceHookOptions](/reference/components/graph-visualization/), [ForceNetworkController](/reference/components/graph-visualization/).

#### Parameters

- **`graph`** — Graph input or signal; accessors are snapshotted during component evaluation. See [GraphData](/reference/components/graph-visualization/).

- **`options`** — Geometry and optional resource-free numeric solver factory. See [ForceHookOptions](/reference/components/graph-visualization/).

#### Returns

Readonly snapshots and commands; playback is released on unmount. See [ForceNetworkController](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/force.tsx:470](/source/packages/core/src/features/viz/lib/graph/force-tsx/#L470)

<span id="api-ForceNetwork"></span>

### ForceNetwork

Own and render a live force network through the public hook and GraphView; unmount releases playback.

```ts
ForceNetwork: <N, E>(props: ForceNetworkProps<N, E>) => PibblNode
```

Related API: [ForceNetwork](/reference/components/graph-visualization/), [ForceNetworkProps](/reference/components/graph-visualization/), [PibblNode](/reference/types/elements-components/#pibblnode).

#### Parameters

- **`props`** — Graph, definite frame, optional solver factory, controlled pause and presentation. See [ForceNetworkProps](/reference/components/graph-visualization/).

#### Returns

A public-hook and public-marks composition. See [useForceNetwork](/reference/components/graph-visualization/).

[View source — packages/core/src/features/viz/lib/graph/force.tsx:709](/source/packages/core/src/features/viz/lib/graph/force-tsx/#L709)

## Implementation guidance for agents

Read the [Data visualization companion](/agents/topics/visualization/) for ownership, adaptation, failure modes, and verification. [Agent start](/agents/) provides the version-selection workflow.

## Complete minimal examples

- [Typed graph customization contracts](/minimal-examples/viz/graph-contracts/): Bind graph input, options, output geometry, component props, styles, and simulation ownership to application records. [Plain source](/minimal/viz/graph-contracts.ts)
- [Graph components and pure layouts](/minimal-examples/viz/graph-visualizations/): Author the ten graph families with shared record accessors, or rebuild a view from immutable geometry. [Plain source](/minimal/viz/graph-visualizations.tsx)
- [Rebuild graph views with public marks](/minimal-examples/viz/graph-marks/): Compose live force geometry, standalone routes, matrix cells, Sankey flows, partition cells, and chord ribbons through public marks. [Plain source](/minimal/viz/graph-marks.tsx)
## Documentation version

Documentation built with @pibbl/core 0.0.2, revision a1dcf8e. ALPHA — NOT FOR PRODUCTION USE.
