Gallery
core2d-nightly
A multi-platform data driven 2D diagram editor.
Core2D
A multi-platform data driven 2D diagram editor.
About
Core2D is a multi-platform application for making data driven 2D diagrams.
Data Formats
- The project model is stored as
Json
inzip
archives. - The project images are stored as files in
zip
archives. - Resources can be defined in
Json
orXaml
format. - The
Json
format is supported for imported and exported resources. - The
Xaml
format is supported for imported and exported resources. - Database records can be imported, exported and updated from
csv
file format. - The clipboard data is stored as
Json
text.
Supported Platforms
Windows
7/8/8.1/10 usingCore2D.Wpf
,Core2D.Avalonia.Direct2D
andCore2D.Avalonia.Skia
builds.XUbuntu
16.04 usingCore2D.Avalonia.Skia
andCore2D.Avalonia.Cairo
builds.Android
usingCore2D.Avalonia.Droid
build.iOS
support is planned usingAvalonia.iOS
.
The core library and editor are portable and should work on all platforms where C# is supported.
Building Core2D
First, clone the repository or download the latest zip.
git clone https://github.com/Core2D/Core2D.git
git submodule update --init --recursive
Build using IDE
- Visual Studio Community 2015 for
Windows
builds. - MonoDevelop for
Linux
builds.
Open Core2D.sln
in selected IDE and run Build
command.
Build on Windows using script
Open up a Powershell prompt and execute the bootstrapper script:
PS> .\build.ps1 -Target "Default" -Platform "AnyCPU" -Configuration "Release"
Build on Linux/OSX using script
Open up a terminal prompt and execute the bootstrapper script:
$ ./build.sh --target "Default" --platform "AnyCPU" --configuration "Release"
NuGet
Core2D core library is delivered as a NuGet package.
You can find the packages here NuGet or by using nightly build feed:
- Add
https://www.myget.org/F/core2d-nightly/api/v2
to your package sources - Update your package using
Core2D
feed
You can install the package like this:
Install-Package Core2D -Pre
NuGet Packages
- Common
- System.Collections.Immutable
- Portable.Xaml
- Newtonsoft.Json
- CsvHelper
- WPF
- Xceed.Wpf.AvalonDock
- Xceed.Products.Wpf.Toolkit.AvalonDock
- System.Windows.Interactivity.WPF
- Wpf.Controls.PanAndZoom
- Avalonia
- Avalonia
- Avalonia.Desktop
- Avalonia.Skia.Desktop
- SkiaSharp
- System.Reactive
- System.Reactive.Core
- System.Reactive.Interfaces
- System.Reactive.Linq
- System.Reactive.PlatformServices
- Serilog
- SharpDX
- SharpDX.Direct2D1
- SharpDX.DXGI
- Splat
- Sprache
- Avalonia.Xaml.Behaviors
- Avalonia.Controls.PanAndZoom
NuGet Package Sources
- https://www.nuget.org/api/v2/
- https://ci.appveyor.com/nuget/portable-xaml
- https://www.myget.org/F/avalonia-ci/api/v2
- https://www.myget.org/F/xamlbehaviors-nightly/api/v2
- https://www.myget.org/F/panandzoom-nightly/api/v2
Other Dependencies
- Port of Windows UWP Xaml Behaviors for Avalonia Xaml. Needed for Xaml Behaviors support.
- Pan and zoom control for WPF and Avalonia. Needed for Pan and Zoom support.
- Portable .NET library for reading/writing xaml files. Needed for Xaml support.
- xUnit.net unit testing tool for the .NET Framework. Needed to run tests.
- GTK# for .NET Needed for Gtk on Windows.
- .net dxf Reader-Writer Needed for
DXF
support. Rungit submodule update --init --recursive
in project directory. - PDFsharp A .NET library for processing PDF Needed for
PDF
support. Rungit submodule update --init --recursive
in project directory. - For building
Core2D
mirror repository is used for .net dxf Reader-Writer. - For building
Core2D
mirror repository is used for PDFsharp. PDFsharp
core is used forAvalonia
and non-windows builds andPDFsharp-wpf
is used for WPF version (PDFsharp
core does not implementXGraphicsPath.AddArc
method.).
Resources
License
Core2D is licensed under the MIT license.