SuncodeSoftware.SuperSDK.Canvas 2.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package SuncodeSoftware.SuperSDK.Canvas --version 2.2.0
                    
NuGet\Install-Package SuncodeSoftware.SuperSDK.Canvas -Version 2.2.0
                    
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="SuncodeSoftware.SuperSDK.Canvas" Version="2.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SuncodeSoftware.SuperSDK.Canvas" Version="2.2.0" />
                    
Directory.Packages.props
<PackageReference Include="SuncodeSoftware.SuperSDK.Canvas" />
                    
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 SuncodeSoftware.SuperSDK.Canvas --version 2.2.0
                    
#r "nuget: SuncodeSoftware.SuperSDK.Canvas, 2.2.0"
                    
#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 SuncodeSoftware.SuperSDK.Canvas@2.2.0
                    
#: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=SuncodeSoftware.SuperSDK.Canvas&version=2.2.0
                    
Install as a Cake Addin
#tool nuget:?package=SuncodeSoftware.SuperSDK.Canvas&version=2.2.0
                    
Install as a Cake Tool

SuperSDK.Canvas

开箱即用的 Avalonia 画布组件库。

功能特性

  • ✅ 可视化画布系统(缩放、平移、网格背景)
  • ✅ 设备绘制和管理
  • ✅ 连线绘制(直线、折线)
  • ✅ 拖拽交互
  • ✅ 数据序列化和加载
  • ✅ MessageBus 消息通信

使用方法

// 在 App.axaml.cs 中初始化
SuperApp.Initialize(config =>
{
    // 配置...
});

// 创建画布
var canvas = new GzCanvasViewModel();

// 在 XAML 中使用
<canvas:GzCanvasView DataContext="{Binding MyCanvas}" />

架构说明

  • Models/: 画布数据模型(设备、连线、数据序列化)
  • ViewModels/: 画布 ViewModel
  • Views/: 画布 View 组件

依赖

  • SuperSDK.Core
  • Avalonia
Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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
2.3.0 0 1/16/2026
2.2.0 0 1/16/2026
2.1.0 0 1/16/2026
2.0.8 28 1/15/2026
2.0.7 28 1/15/2026
2.0.6 24 1/15/2026
2.0.5 29 1/15/2026
2.0.4 32 1/15/2026
2.0.3 23 1/15/2026
2.0.2 30 1/15/2026
2.0.1 30 1/15/2026
2.0.0 27 1/15/2026
1.2.6 172 12/23/2025
1.2.5 168 12/23/2025
1.2.4 168 12/23/2025
1.2.2 168 12/23/2025
1.2.1 168 12/22/2025
1.2.0 161 12/22/2025
1.1.8 163 12/22/2025
1.1.7 168 12/22/2025
1.1.6 167 12/22/2025
1.1.5 168 12/22/2025
1.1.4 166 12/22/2025
1.1.3 161 12/22/2025
1.1.2 165 12/22/2025
1.1.1 167 12/22/2025

all bring readme