diff --git a/.gitignore b/.gitignore
index bdc3535..82c734e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -106,3 +106,4 @@ Generated_Code #added for RIA/Silverlight projects
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
+/Nuget/*.nupkg
diff --git a/.nuget/NuGet.Config b/.nuget/NuGet.Config
new file mode 100644
index 0000000..67f8ea0
--- /dev/null
+++ b/.nuget/NuGet.Config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.nuget/NuGet.exe b/.nuget/NuGet.exe
new file mode 100644
index 0000000..9cba6ed
Binary files /dev/null and b/.nuget/NuGet.exe differ
diff --git a/.nuget/NuGet.targets b/.nuget/NuGet.targets
new file mode 100644
index 0000000..2c3545b
--- /dev/null
+++ b/.nuget/NuGet.targets
@@ -0,0 +1,151 @@
+
+
+
+ $(MSBuildProjectDirectory)\..\
+
+
+ false
+
+
+ false
+
+
+ true
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+ $([System.IO.Path]::Combine($(SolutionDir), ".nuget"))
+
+
+
+
+ $(SolutionDir).nuget
+
+
+
+ packages.$(MSBuildProjectName.Replace(' ', '_')).config
+
+
+
+
+
+ $(PackagesProjectConfig)
+
+
+
+
+ packages.config
+
+
+
+
+
+
+ $(NuGetToolsPath)\NuGet.exe
+ @(PackageSource)
+
+ "$(NuGetExePath)"
+ mono --runtime=v4.0.30319 $(NuGetExePath)
+
+ $(TargetDir.Trim('\\'))
+
+ -RequireConsent
+ -NonInteractive
+
+ "$(SolutionDir) "
+ "$(SolutionDir)"
+
+
+ $(NuGetCommand) install "$(PackagesConfig)" -source "$(PackageSources)" $(NonInteractiveSwitch) $(RequireConsentSwitch) -solutionDir $(PaddedSolutionDir)
+ $(NuGetCommand) pack "$(ProjectPath)" -Properties "Configuration=$(Configuration);Platform=$(Platform)" $(NonInteractiveSwitch) -OutputDirectory "$(PackageOutputDir)" -symbols
+
+
+
+ RestorePackages;
+ $(BuildDependsOn);
+
+
+
+
+ $(BuildDependsOn);
+ BuildPackage;
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/DLL/QuickGraph.Serialization.dll b/DLL/QuickGraph.Serialization.dll
deleted file mode 100644
index ec2b8d2..0000000
Binary files a/DLL/QuickGraph.Serialization.dll and /dev/null differ
diff --git a/DLL/QuickGraph.dll b/DLL/QuickGraph.dll
deleted file mode 100644
index 1059051..0000000
Binary files a/DLL/QuickGraph.dll and /dev/null differ
diff --git a/DLL/YAXLib.dll b/DLL/YAXLib.dll
deleted file mode 100644
index 982ccfa..0000000
Binary files a/DLL/YAXLib.dll and /dev/null differ
diff --git a/Documents/CHANGELOG.txt b/Documents/CHANGELOG.txt
index 478b44f..476250a 100644
--- a/Documents/CHANGELOG.txt
+++ b/Documents/CHANGELOG.txt
@@ -7,12 +7,17 @@
+ Added key modifiers to vertex event args
+ Added new layout type Custom. When set layout algorithm calculation is skipped completely and manually added data is used for OR and ER algorithms (if any).
+ Added (reintroduced) GraphArea::SideExpansionSize property which gets or sets additional space for GraphArea borders. Useful for zoom adjustments when custom text or controls which are not used in size calculations must fit into the zooming.
++ Added IGraphControlFactory-Interface and Implementation for Edge and Vertex controls creation (thanks to Paul Mandalka)
++ Added simple Nuget-Package specification for GraphX (use createPackage.bat to create the nuget package for GraphX) (thanks to Paul Mandalka)
++ Added new ZoomControl::ZoomAnimationCompleted event (thanks to Paul Mandalka)
++ Fixed PrintHelper::ExportToImage method to use DPI-Settings for Image Rendering (thanks to Paul Mandalka)
+ Fixed labels rendering for parallel edges. Now they are displayed separately for each edge.
+ Fixed async calculations being broken due to LogicCore property became dependency
+ Fixed ViewFinder not deriving ZoomControl content background
+ Fixed edge label update on alignment change
+ Fixed self-looped edges handling in GraphArea::GenerateEdgesForVertex() method
+ Fixed bugs with edge routing calculation in some cases
++ Fixed: Graph-Area LogicCoreProperty was registered using GraphAreaBase which could cause a problem (thanks to Paul Mandalka)
+ Implemented some properties as dependencies
+ Implemented EdgeControl::IsSelfLooped property as read-only dependency property.
+ Reworked EdgeLabelControl inner logic. Should now be more flexible and performance efficient.
diff --git a/Examples/ShowcaseExample/MainWindow.xaml b/Examples/ShowcaseExample/MainWindow.xaml
index 12e1243..8b98a99 100644
--- a/Examples/ShowcaseExample/MainWindow.xaml
+++ b/Examples/ShowcaseExample/MainWindow.xaml
@@ -357,11 +357,11 @@
-
+
-
+
diff --git a/Examples/ShowcaseExample/MainWindow_TestGround.cs b/Examples/ShowcaseExample/MainWindow_TestGround.cs
index 0d89d8a..ed60183 100644
--- a/Examples/ShowcaseExample/MainWindow_TestGround.cs
+++ b/Examples/ShowcaseExample/MainWindow_TestGround.cs
@@ -24,7 +24,9 @@ namespace ShowcaseExample
{
tst_but_gen.Click += tst_but_gen_Click;
//tst_Area.UseNativeObjectArrange = false;
-
+ tst_Area.EnableVisualPropsRecovery = true;
+ tst_Area.SetVerticesMathShape(VertexShape.Rectangle);
+ tst_Area.SetVerticesDrag(true, true);
}
private GraphExample GenerateTestGraph()
@@ -39,11 +41,11 @@ namespace ShowcaseExample
var v4 = new DataVertex() { Text = "Test4", ID = 4 };
graph.AddVertex(v4);
- graph.AddEdge(new DataEdge(v1, v2, 100) { ToolTipText = "FFFFFF" });
- graph.AddEdge(new DataEdge(v1, v2, 100) { ToolTipText = "FFFFFF" });
- graph.AddEdge(new DataEdge(v1, v2, 100) { ToolTipText = "FFFFFF" });
- graph.AddEdge(new DataEdge(v1, v1, 100) { ToolTipText = "AAA" });
+ graph.AddEdge(new DataEdge(v1, v2, 100));
+ graph.AddEdge(new DataEdge(v2, v3, 100));
+ graph.AddEdge(new DataEdge(v2, v4, 100));
+
return graph;
}
@@ -52,16 +54,10 @@ namespace ShowcaseExample
{
var graph = GenerateTestGraph();
var logic = new LogicCoreExample {Graph = graph};
+ logic.EnableParallelEdges = false;
+ logic.ParallelEdgeDistance = 15;
- logic.EnableParallelEdges = true;
- logic.ParallelEdgeDistance = 25;
- tst_Area.AlignAllEdgesLabels(true);
- tst_Area.ShowAllEdgesLabels(true);
- tst_Area.ShowAllEdgesArrows(true);
- tst_Area.EnableVisualPropsRecovery = true;
- tst_Area.SetVerticesMathShape(VertexShape.Rectangle);
- tst_Area.SetVerticesDrag(true, true);
-
+ tst_Area.ShowAllEdgesArrows(false);
var layParams = new LinLogLayoutParameters { IterationCount = 100 };
logic.DefaultLayoutAlgorithm = LayoutAlgorithmTypeEnum.LinLog;
@@ -72,8 +68,13 @@ namespace ShowcaseExample
IExternalEdgeRouting erParams = null;
//logic.ExternalEdgeRoutingAlgorithm =
- TSTLC = logic;
tst_Area.GenerateGraph(graph, true);
+ //tst_Area.VertexList[v1].Visibility = System.Windows.Visibility.Collapsed;
+ //tst_Area.VertexList[v2].Visibility = System.Windows.Visibility.Collapsed;
+ //tst_Area.VertexList[v3].Visibility = System.Windows.Visibility.Collapsed;
+ //tst_Area.VertexList[v4].SetPosition(new Point(0, 0));
+ tst_Area.ShowAllEdgesLabels();
+ tst_Area.AlignAllEdgesLabels();
tst_zoomctrl.ZoomToFill();
/* var img = new BitmapImage(new Uri(@"pack://application:,,,/ShowcaseExample;component/Images/birdy.png", UriKind.Absolute)) { CacheOption = BitmapCacheOption.OnLoad };
diff --git a/Examples/ShowcaseExample/ShowcaseExample.csproj b/Examples/ShowcaseExample/ShowcaseExample.csproj
index aba9274..d33f2e3 100644
--- a/Examples/ShowcaseExample/ShowcaseExample.csproj
+++ b/Examples/ShowcaseExample/ShowcaseExample.csproj
@@ -22,6 +22,8 @@
+ ..\..\
+ true
x86
@@ -65,10 +67,16 @@
- ..\..\DLL\QuickGraph.dll
+ ..\..\packages\QuickGraph.3.6.61119.7\lib\net4\QuickGraph.dll
+
+
+ ..\..\packages\QuickGraph.3.6.61119.7\lib\net4\QuickGraph.Data.dll
+
+
+ ..\..\packages\QuickGraph.3.6.61119.7\lib\net4\QuickGraph.Graphviz.dll
- ..\..\DLL\QuickGraph.Serialization.dll
+ ..\..\packages\QuickGraph.3.6.61119.7\lib\net4\QuickGraph.Serialization.dll
@@ -85,7 +93,7 @@
- ..\..\DLL\YAXLib.dll
+ ..\..\packages\YAXLib.2.12\lib\YAXLib.dll
@@ -204,6 +212,7 @@
+
PreserveNewest
@@ -260,6 +269,13 @@
+
+
+
+ Dieses Projekt verweist auf mindestens ein NuGet-Paket, das auf diesem Computer fehlt. Aktivieren Sie die Wiederherstellung von NuGet-Paketen, um die fehlende Datei herunterzuladen. Weitere Informationen finden Sie unter "http://go.microsoft.com/fwlink/?LinkID=322105". Die fehlende Datei ist "{0}".
+
+
+
+
+
-
+
\ No newline at end of file
diff --git a/Examples/WindowsFormsProject/WindowsFormsProject.csproj b/Examples/WindowsFormsProject/WindowsFormsProject.csproj
index 18c7c95..c99c291 100644
--- a/Examples/WindowsFormsProject/WindowsFormsProject.csproj
+++ b/Examples/WindowsFormsProject/WindowsFormsProject.csproj
@@ -12,6 +12,8 @@
v4.0
512
Client
+ ..\..\
+ true
AnyCPU
@@ -54,10 +56,16 @@
- ..\..\DLL\QuickGraph.dll
+ ..\..\packages\QuickGraph.3.6.61119.7\lib\net4\QuickGraph.dll
+
+
+ ..\..\packages\QuickGraph.3.6.61119.7\lib\net4\QuickGraph.Data.dll
+
+
+ ..\..\packages\QuickGraph.3.6.61119.7\lib\net4\QuickGraph.Graphviz.dll
- ..\..\DLL\QuickGraph.Serialization.dll
+ ..\..\packages\QuickGraph.3.6.61119.7\lib\net4\QuickGraph.Serialization.dll
@@ -72,7 +80,7 @@
- ..\..\DLL\YAXLib.dll
+ ..\..\packages\YAXLib.2.12\lib\YAXLib.dll
@@ -102,6 +110,7 @@
True
+
SettingsSingleFileGenerator
Settings.Designer.cs
@@ -134,12 +143,18 @@
- MSBuild:Compile
Designer
- Always
+ MSBuild:Compile
+
+
+
+ Dieses Projekt verweist auf mindestens ein NuGet-Paket, das auf diesem Computer fehlt. Aktivieren Sie die Wiederherstellung von NuGet-Paketen, um die fehlende Datei herunterzuladen. Weitere Informationen finden Sie unter "http://go.microsoft.com/fwlink/?LinkID=322105". Die fehlende Datei ist "{0}".
+
+
+