Ranvier.D5.Geo.Traced 0.1.1

dotnet add package Ranvier.D5.Geo.Traced --version 0.1.1
                    
NuGet\Install-Package Ranvier.D5.Geo.Traced -Version 0.1.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Ranvier.D5.Geo.Traced" Version="0.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Ranvier.D5.Geo.Traced" Version="0.1.1" />
                    
Directory.Packages.props
<PackageReference Include="Ranvier.D5.Geo.Traced" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Ranvier.D5.Geo.Traced --version 0.1.1
                    
#r "nuget: Ranvier.D5.Geo.Traced, 0.1.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Ranvier.D5.Geo.Traced@0.1.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Ranvier.D5.Geo.Traced&version=0.1.1
                    
Install as a Cake Addin
#tool nuget:?package=Ranvier.D5.Geo.Traced&version=0.1.1
                    
Install as a Cake Tool

Ranvier.D5

Functional-first visualization foundations for native F# applications. Compose immutable data, scales, geometry and scenes; let Ranvier signals update retained SVG through View and native WebCore. No JavaScript, HTML or CSS files are required.

Packages

  • Ranvier.D5: data summaries, bins, keyed joins, numeric/categorical/UTC scales, axes, affine transforms, paths, lines/areas/arcs/symbols, pie/stack/tree/treemap layouts, spatial queries, reactive values, animation, zoom and brush.
  • Ranvier.D5.View: keyed SVG scene components and native mark events.
  • Ranvier.D5.Charts: typed pure chart recipes and composition.
  • Ranvier.D5.Geo: optional geographic geometry, interchange and spherical kernels; full projection and map-chart pipelines are still in development.
  • All packages have a .Traced variant. Use one variant throughout the dependency graph.

Target: .NET 10. Version: 0.1.1. This is a pre-1.0 release: APIs may still change between 0.x versions. Contracts and limits describe the algorithms and integration responsibilities.

A reactive scene

open Ranvier
open Ranvier.D5
open Ranvier.D5.View

// Inside the host's Ranvier graph/owner:
let values = Api.createSignal [10.; 30.; 20.]
let scene =
    Reactive.derive (fun () -> values.Value) (fun data ->
        let x = Scale.linear (0., 2.) (20., 280.)
        let y = Scale.linear (0., 40.) (180., 20.)
        let points =
            data |> List.mapi (fun i v ->
                Some(Point.create (Scale.map x (float i)) (Scale.map y v)))
        let line =
            Shape.line Curve.Linear points
            |> Mark.path "series"
            |> Mark.withFill Paint.none
            |> Mark.withStroke (Paint.rgb 45 120 210) 2.
        Scene.create 300. 200. "Measurements" [line])

// Mount Renderer.passive with (fun () -> scene.Value) through View.
// Writing values.Value updates the retained series mark.

Use Renderer.create (fun key eventName event -> ...) for mark events. Use Ranvier.Anime.Ease.named "inOutCubic" with Transition.start or Reactive.animate; the latter consumes your clock signal and creates no timer. Paint.ofCss accepts existing typed Ranvier.Css values.

The native gallery includes the full mount, graph and window lifetime:

dotnet run --project examples/Ranvier.D5.Gallery -c Release
dotnet run --project examples/Ranvier.D5.Gallery -c Release -- --capture gallery.bmp

It renders a signal-driven line, donut, treemap and bars using the same scene primitives.

Working native linked charts

The live dashboards app is a native gallery of ten animated, input-reactive dashboards: operations, trading, a flight-tracking globe, revenue, a power grid, security operations, climate, product analytics, a bar-chart race and an emergency-department simulation. It uses only Ranvier libraries; run it with dotnet run --project examples/Ranvier.D5.Dashboards -c Release.

See the native example gallery for rendered snapshots and reproduction commands, including hierarchy layouts, tiling and packing, and the reactive hierarchy explorer.

Expansion packages and examples

Ranvier.D5.Charts adds typed, pure chart recipes. See alpha.3 hierarchy scope and validation, alpha.2 foundations, owned interaction, keyed transitions, background layouts, and palettes.

Run dotnet run --project examples/Ranvier.D5.Gallery -c Release -- --linked for signal-linked scatter/brush/line views. Use --chart for the reactive Cartesian recipe demo.

Build and verify

dotnet run --project tests/Ranvier.D5.Tests -c Release
dotnet run --project tests/Ranvier.D5.Native.Tests -c Release
dotnet run --project benchmarks/Ranvier.D5.Benchmarks -c Release
dotnet pack src/Ranvier.D5 -c Release -o artifacts/packages
dotnet pack src/Ranvier.D5.View -c Release -o artifacts/packages

See performance gates and evidence for the paired comparison method and rendering phase diagnostics.

Append -p:RanvierTrace=true for Traced. Native acceptance requires WebCore's platform libraries; CI lists Ubuntu dependencies. Windows, Linux and macOS run normal and Traced tests, native rendering, performance gates, gallery capture and packing.

Kit snapshot and compatibility

kit.lock.json records eight committed source revisions: Ranvier, Anime, CSS, View, WebCore, Persistence, Examples and Docs. Existing local edits were excluded and preserved. Recreate detached source checkouts in a new directory:

python tools/snapshot-kit.py ../snapshots

Snapshots are reference material; builds use the published cohort set as minimum versions in Directory.Build.props: Ranvier 0.2.0, Anime 0.1.0, CSS 0.1.1, View 0.1.49 (its Ranvier.View.Dsl surface), View.WebCore 0.1.0 and SDL 0.1.0. See design.

D5 provides reusable foundations, not every D3 algorithm. Spatial indexing, triangulation and force/network layouts are available; see network examples and measured limits. Chord layouts and ribbons provide matrix relationship geometry. DAG Sankey layouts support explicit flow imbalance. Interactive flow recipes include staged alluvial and constrained node dragging. Density grids, Gaussian blur and 1D KDE provide bounded aggregation and an owned-worker native example. Contour topology provides closed shells and holes with bilinear saddle decisions. Hexbin and source-preserving line reduction bound visible data. Heatmap, hexbin, contour and isoband recipes add explicit aggregate membership and region-aware picking, with working native snapshots. Violin and reduced-series compositions preserve original statistics while bounding visible geometry. Geographic clipping/projections remain planned. Large scenes need aggregation/windowing; SVG does not promise million-mark frame rates.

MIT licensed.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.1 0 11/15/2026
0.1.0 48 11/14/2026
0.1.0-alpha.10 53 11/13/2026
0.1.0-alpha.9 40 11/12/2026
0.1.0-alpha.8 45 11/12/2026
0.1.0-alpha.7 48 11/12/2026