Skip to content

erisonliang/Core2D

 
 

Repository files navigation

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 src/Core2D.Avalonia
dotnet restore
dotnet build

Open up a terminal prompt and execute:

cd src/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 src/Core2D.Avalonia
dotnet restore
dotnet publish -r win7-x64 -o win7-x64

Open up a Powershell prompt and execute:

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

Open up a terminal prompt and execute:

cd src/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.

About

A multi-platform data driven 2D diagram editor.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 99.5%
  • Other 0.5%