Editor

The Svg.Editor.* packages turn the AvalonDraw sample into a reusable editor stack that host applications can embed whole or in parts.

Start here when

  • you want a ready-made editor surface and side-panel workspace inside an Avalonia app,
  • you need reusable SVG mutation, layer, symbol, swatch, and property services,
  • you want editor dialogs and inspectors without taking the full canvas implementation,
  • you are integrating the editor into your own shell and need host-controlled menus, preview, and file pickers.

Package map

Package Role Guide
Svg.Editor.Core Shared editor session state, settings, selection ids, outline nodes, artboards, clipboard, and undo/redo history. Svg.Editor.Core
Svg.Editor.Svg SVG document mutation services and reusable models for layers, patterns, swatches, symbols, styles, and properties. Svg.Editor.Svg
Svg.Editor.Skia Render-model editing helpers, selection math, path editing, alignment, and overlay rendering. Svg.Editor.Skia
Svg.Editor.Avalonia Reusable Avalonia controls, standalone editor views, and dialog/file-dialog abstractions. Svg.Editor.Avalonia
Svg.Editor.Skia.Avalonia Interactive canvas plus the default composed workspace used by AvalonDraw. Svg.Editor.Skia.Avalonia
  1. Architecture for dependency order and package boundaries.
  2. Embedding SvgEditorWorkspace if you want the full editor quickly.
  3. Composing Panels and Dialogs if you are building your own shell.
  4. Rendering and Svg Services if you need lower-level editing services.
  5. API Reference when you want the generated type-level surface for the editor assemblies.

What the sample still owns

samples/AvalonDraw remains the desktop host. It now provides branding, the preview window, and the default file-picker/window experience on top of the reusable editor libraries.

If you only need the editor package documentation per NuGet, continue with Packages. If you want the exact generated API inputs, see API Coverage Index.