@welldot/render

RenderableWell

A Well profile where every feature array element may carry an optional key.

RenderableWell = Omit<Well, "lithology" | "fractures" | "caves" | "bore_hole" | "well_case" | "well_screen" | "hole_fill" | "surface_case" | "reduction"> & object

A Well profile where every feature array element may carry an optional key.

When key is present the renderer uses it as the D3 data-join key, giving fully stable DOM identity regardless of depth edits or array reordering. When absent the renderer falls back to coordinate-based keys (from:to or depth:index).

key is runtime-only — generate it once per feature (e.g. crypto.randomUUID()) and keep it in memory across edits, but always strip it before serializing to a .well file.

Type Declaration

bore_hole

bore_hole: WithKey<BoreHole>

caves

caves: WithKey<Cave>

fractures

fractures: WithKey<Fracture>

hole_fill

hole_fill: WithKey<HoleFill>

lithology

lithology: WithKey<Lithology>

reduction

reduction: WithKey<Reduction>

surface_case

surface_case: WithKey<SurfaceCase>

well_case

well_case: WithKey<WellCase>

well_screen

well_screen: WithKey<WellScreen>