Retained and time-based SVG
Scene Graph & Animation
Move beyond static pictures into inspectable, time-varying SVG scenes.
Explore source ↗Capability
A retained SVG scene graph and shared animation runtime separate document state, playback, invalidation, and host rendering.
- 01
Retained SVG node graph
- 02
Shared animation timeline
- 03
Host-controlled playback
- 04
Targeted invalidation and rendering
How it composes
From intent
to working system.
Scene
Document elements become retained, addressable nodes.
Timeline
Animation tracks resolve values at a requested time.
Invalidate
Changed nodes mark the minimum scene region for update.
Host
UI or headless hosts control clocks and presentation.
Quick start
Adopt this
capability.
Start with the primary module, then add the related packages only when the application needs those layers. Replace VERSION with the current NuGet version.
dotnet add package Svg.SceneGraph --prereleasedotnet add package Svg.Animation --prerelease<PackageReference Include="Svg.SceneGraph" Version="VERSION" /><PackageVersion Include="Svg.SceneGraph" Version="VERSION" />var scene = SvgScene.Load(document);var player = new SvgAnimationPlayer(scene);
player.Seek(TimeSpan.FromSeconds(1.5));player.Render(canvas);Modules in this capability
Use one layer.
Compose the rest.
Source of truth
Read the module beside the complete system.
The implementation, samples, issues, and release notes stay in the parent repository so module details remain connected to the product architecture.