A multi-platform data driven 2D diagram editor.
Перейти к файлу
Wiesław Šoltés c860af3c4d Added BuildAvaloniaApp 2018-02-19 21:04:58 +01:00
apps Added BuildAvaloniaApp 2018-02-19 21:04:58 +01:00
build Updated packages 2018-02-19 08:17:57 +00:00
scripts Added project scripts 2017-07-25 21:09:35 +02:00
src Added EnableDebug flag 2017-12-24 15:04:18 +01:00
tests Added unit tests project stubs 2017-09-29 20:01:39 +02:00
utilities Removed Utf8Json serializer 2017-09-29 19:36:40 +02:00
.editorconfig Added .editorconfig file 2016-08-11 16:02:42 +02:00
.gitattributes Updated gitattributes and gitignore 2017-11-14 18:42:13 +01:00
.gitignore Updated gitattributes and gitignore 2017-11-14 18:42:13 +01:00
.gitmodules Removed PdfSharp sub-module 2017-03-04 14:18:23 +01:00
.travis.yml Update .travis.yml 2017-08-22 09:34:07 +02:00
Core2D.sln Added unit tests project stubs 2017-09-29 20:01:39 +02:00
LICENSE.TXT Update LICENSE.TXT 2017-06-02 06:41:42 +02:00
NuGet.Config Update NuGet.Config 2017-09-28 10:58:30 +02:00
README.md Update README.md 2017-11-06 19:22:42 +01:00
_config.yml Set theme jekyll-theme-cayman 2017-02-20 16:10:32 +01:00
appveyor.yml Update appveyor.yml 2017-11-16 10:12:00 +01:00
build.cake Fixed path 2017-12-24 13:48:35 +01:00
build.ps1 Update build.ps1 2017-03-08 09:30:52 +01:00
build.sh Update build.sh 2017-03-08 09:30:36 +01:00
circle.yml Update circle.yml 2017-10-31 14:17:21 +01:00

README.md

Core2D

Gitter

Build status Build Status CircleCI

CodeFactor

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 models is stored as Json in zip archive.
  • The project images are stored as files in zip archive.
  • Resources are defined as Json or Xaml.
  • The Json format is supported for imported and exported resources.
  • The Xaml format is supported for imported and exported resources.
  • Database records are imported, exported and updated as csv.
  • The clipboard data is stored as Json string.

Supported Platforms

  • Windows 7 SP1 or higher using Core2D.Wpf or Core2D.Avalonia project.
  • Linux using Core2D.Avalonia project.
  • macOS using Core2D.Avalonia project.
  • .NET Core supported platforms using Core2D.Avalonia project.

The core libraries 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/wieslawsoltes/Core2D.git
git submodule update --init --recursive

Build using IDE

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"

Build using .NET Core

  • .NET Core for Windows, Linux and macOS builds.

Open up a Powershell prompt and execute:

cd apps/Core2D.Avalonia
dotnet restore
dotnet build

Open up a terminal prompt and execute:

cd apps/Core2D.Avalonia
dotnet restore
dotnet build

Publishing self-contained .NET Core application

You can publish self-contained Core2D application and all of its dependencies for one of the .NET Core supported runtimes. Below are few command-line examples.

Open up a Powershell prompt and execute:

cd apps/Core2D.Avalonia
dotnet restore
dotnet publish -r win7-x64 -o win7-x64

Open up a Powershell prompt and execute:

cd apps/Core2D.Avalonia
dotnet restore
dotnet publish -r win7-x86 -o win7-x86

Open up a terminal prompt and execute:

cd apps/Core2D.Avalonia
dotnet restore
dotnet publish -r ubuntu.16.10-x64 -o ubuntu.16.10-x64

Package Sources

SkiaSharp

The libSkiaSharp.dll from SkiaSharp package requires Microsoft Visual C++ 2015 Redistributable installed or included as part of distribution. License terms for redistributable MICROSOFT SOFTWARE LICENSE TERMS, MICROSOFT VISUAL STUDIO COMMUNITY 2015 and information about Distributable Code for Microsoft Visual Studio 2015.

Required Visual C++ Runtime Files

Projects referencing SkiaSharp require Visual C++ Runtime Files from Visual Studio Community 2017.

x86 Platform

c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Redist\MSVC\14.10.25008\x86\Microsoft.VC150.CRT\msvcp140.dll
c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Redist\MSVC\14.10.25008\x86\Microsoft.VC150.CRT\vcruntime140.dll

x64 Platform

c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Redist\MSVC\14.10.25008\x64\Microsoft.VC150.CRT\msvcp140.dll
c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Redist\MSVC\14.10.25008\x64\Microsoft.VC150.CRT\vcruntime140.dll

Resources

License

Core2D is licensed under the MIT license.