DotNetGraph 1.0.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package DotNetGraph --version 1.0.0
NuGet\Install-Package DotNetGraph -Version 1.0.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="DotNetGraph" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DotNetGraph --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DotNetGraph, 1.0.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.
// Install DotNetGraph as a Cake Addin #addin nuget:?package=DotNetGraph&version=1.0.0 // Install DotNetGraph as a Cake Tool #tool nuget:?package=DotNetGraph&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
DotNetGraph
Create DOT diagram using C# / .Net (http://bit.ly/2kJGlGB)
DotNetGraph Documentation
Create a graph (DotGraph)
var graph = new DotGraph("MyGraph");
var directedGraph = new DotGraph("MyDirectedGraph", true);
Create and add a node (DotNode)
var myNode = new DotNode("MyNode") {
// Set all available properties
Shape = DotNodeShape.Ellipse,
Label = "My node !",
FillColor = DotColor.Lightgrey,
FontColor = DotColor.Black,
Style = DotNodeStyle.Default,
Height = 0.5f
};
// Add the node to the graph
graph.Add(myNode);
Create and add an arrow (DotArrow)
// Create an arrow with node names
var myArrow = new DotArrow("myNode1", "myNode2");
// Create an arrow with node objects
var myArrow = new DotArrow(myNode1, myNode2) {
// Set all available properties
ArrowHeadShape = DotArrowShape.Normal;
};
// Add the arrow to the graph
graph.Add(myArrow);
Compile to DOT format
// Indented version
var dot = graph.Compile();
// Minified version
var dot = graph.Compile(true);
// Save it to a file
File.WriteAllText("myFile.dot", dot);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- No dependencies.
NuGet packages (6)
Showing the top 5 NuGet packages that depend on DotNetGraph:
Package | Downloads |
---|---|
net-ssa-lib
Package Description |
|
Fluent.Calculations.DotNetGraph
A bridge between Fluent.Calculations.Primitives and DotNetGraph |
|
pm4net
A general-purpose Process Mining library for .NET, primarily focusing on techniques concerning Object-Centric Event Logs. |
|
BBCStateMachine.GraphCompiler
Package Description |
|
DependencyTracker.DotWriter
Package Description |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on DotNetGraph:
Repository | Stars |
---|---|
SamboyCoding/Cpp2IL
Work-in-progress tool to reverse unity's IL2CPP toolchain.
|
Version | Downloads | Last updated |
---|---|---|
3.2.0 | 7,232 | 7/13/2024 |
3.1.0 | 2,788 | 6/16/2024 |
3.0.0 | 8,263 | 9/8/2023 |
3.0.0-beta3 | 990 | 8/10/2023 |
3.0.0-beta2 | 535 | 8/8/2023 |
2.7.0 | 112,211 | 1/16/2022 |
2.6.0 | 47,174 | 7/7/2020 |
2.5.0 | 1,102 | 6/6/2020 |
2.4.0 | 1,404 | 5/11/2020 |
2.3.0 | 1,400 | 4/27/2020 |
2.1.0 | 977 | 4/26/2020 |
2.0.2 | 1,061 | 3/31/2020 |
2.0.1 | 1,066 | 2/9/2020 |
2.0.0 | 1,101 | 12/23/2019 |
1.0.3 | 1,097 | 12/11/2019 |
1.0.2 | 2,108 | 3/22/2019 |
1.0.1 | 4,464 | 10/10/2017 |
1.0.0 | 1,961 | 10/9/2017 |
First upload