diff --git a/Documents/CHANGELOG.txt b/Documents/CHANGELOG.txt
index b023e6a..c02d7ac 100644
--- a/Documents/CHANGELOG.txt
+++ b/Documents/CHANGELOG.txt
@@ -32,6 +32,7 @@ DETAILED CHANGELOG:
+ Added new EdgeControl template PART (PART_SelfLoopedEdge) for custom self looped edge indicator visualization. It represents FrameworkElement and if specified in the template
will be positioned in the top left vertex corner. Also made indicator settings more flexible by implementing some dependency props [WPF, METRO]
+ Added StateStorage::SaveOrUpdateState() method for easier use [WPF,METRO]
++ Fixed ZoomControl zoom out to the value equal to zoom in resulting in similar smooth zoom [WPF, METRO]
+ Fixed ZoomControl::Zoom cproperty change not firing [WPF, METRO]
+ Fixed manual graph composition routines in case of ER algorithm is set [ALL]
+ Fixed first time solution rebuild problems by referencing new QuickGraphPCL nuget [ALL]
@@ -81,6 +82,9 @@ BREAKING CHANGES:
* LogicCore::EdgeSelfLoopCircleOffset -> SelfLoopIndicatorOffset
* LogicCore::EdgeSelfLoopCircleRadius -> SelfLoopIndicatorRadius
* LogicCore::EdgeShowSelfLooped -> ShowSelfLoopIndicator
+* Renamed following ZoomControl properties:
+ * ZoomDeltaMultiplier -> ZoomSensitivity
+ * MaxZoomDelta -> MaximumZoomStep
* Completely deprecated EdgeControl::PART_edgeArrowPath template PART in favor of the new DefaultEdgePointer (PART_EdgePointerForSource & PART_EdgePointerForTarget).
Please renew your custom templates. You can find an example in Generic.XAML template.
* Self looped edges display logic has been slightly changed with the introduction of custom template PART (PART_SelfLoopedEdge). Now LogicCore::SelfLoopIndicatorOffset
diff --git a/Examples/METRO.SimpleGraph/App.xaml b/Examples/METRO.SimpleGraph/App.xaml
index 39cf496..276b313 100644
--- a/Examples/METRO.SimpleGraph/App.xaml
+++ b/Examples/METRO.SimpleGraph/App.xaml
@@ -13,7 +13,7 @@
Required by Visual Studio project and item templates
-->
-
+
diff --git a/Examples/METRO.SimpleGraph/App.xaml.cs b/Examples/METRO.SimpleGraph/App.xaml.cs
index ce95151..055debd 100644
--- a/Examples/METRO.SimpleGraph/App.xaml.cs
+++ b/Examples/METRO.SimpleGraph/App.xaml.cs
@@ -54,7 +54,7 @@ namespace METRO.SimpleGraph
// When the navigation stack isn't restored navigate to the first page,
// configuring the new page by passing required information as a navigation
// parameter
- if (!rootFrame.Navigate(typeof(MainPageDebug), args.Arguments))
+ if (!rootFrame.Navigate(typeof(MainPage), args.Arguments))
{
throw new Exception("Failed to create initial page");
}
diff --git a/Examples/ShowcaseApp.WPF/Models/ShowcaseHelper.cs b/Examples/ShowcaseApp.WPF/Models/ShowcaseHelper.cs
index 2c9a265..460d6ec 100644
--- a/Examples/ShowcaseApp.WPF/Models/ShowcaseHelper.cs
+++ b/Examples/ShowcaseApp.WPF/Models/ShowcaseHelper.cs
@@ -38,6 +38,7 @@ namespace ShowcaseApp.WPF.Models
Text = string.Empty,
SourceConnectionPointId = sourcePoint,
TargetConnectionPointId = targetPoint,
+ ToolTipText = "Default label"
};
graph.AddEdge(edge);
diff --git a/Examples/ShowcaseApp.WPF/Pages/Debug/DebugGraph.xaml.cs b/Examples/ShowcaseApp.WPF/Pages/Debug/DebugGraph.xaml.cs
index c315832..3c2c1f8 100644
--- a/Examples/ShowcaseApp.WPF/Pages/Debug/DebugGraph.xaml.cs
+++ b/Examples/ShowcaseApp.WPF/Pages/Debug/DebugGraph.xaml.cs
@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
+using System.Diagnostics;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
@@ -33,15 +34,15 @@ namespace ShowcaseApp.WPF.Pages
cbDebugMode.ItemsSource = Enum.GetValues(typeof(DebugModeEnum)).Cast();
cbDebugMode.SelectionChanged += cbDebugMode_SelectionChanged;
dg_zoomctrl.PropertyChanged += dg_zoomctrl_PropertyChanged;
-
CreateNewArea();
+ dg_zoomctrl.MaximumZoomStep = 100;
}
void dg_zoomctrl_PropertyChanged(object sender, PropertyChangedEventArgs e)
{
if (e.PropertyName == "Zoom")
{
-
+ Debug.WriteLine("Zoom: "+ dg_zoomctrl.Zoom);
}
}
diff --git a/Examples/ShowcaseApp.WPF/Pages/EditorGraph.xaml.cs b/Examples/ShowcaseApp.WPF/Pages/EditorGraph.xaml.cs
index 9b9f5c5..7bbc4e6 100644
--- a/Examples/ShowcaseApp.WPF/Pages/EditorGraph.xaml.cs
+++ b/Examples/ShowcaseApp.WPF/Pages/EditorGraph.xaml.cs
@@ -55,7 +55,7 @@ namespace ShowcaseApp.WPF.Pages
zoomCtrl.Zoom = 2;
zoomCtrl.MinZoom = .5;
zoomCtrl.MaxZoom = 50;
- zoomCtrl.ZoomDeltaMultiplier = 25;
+ zoomCtrl.ZoomSensitivity = 25;
zoomCtrl.MouseDown += zoomCtrl_MouseDown;
var tb = new TextBlock() {Text = "AAAA"};
diff --git a/Examples/ShowcaseApp.WPF/Pages/GeneralGraph.xaml.cs b/Examples/ShowcaseApp.WPF/Pages/GeneralGraph.xaml.cs
index fb25279..e5f88cb 100644
--- a/Examples/ShowcaseApp.WPF/Pages/GeneralGraph.xaml.cs
+++ b/Examples/ShowcaseApp.WPF/Pages/GeneralGraph.xaml.cs
@@ -53,7 +53,7 @@ namespace ShowcaseApp.WPF.Pages
ZoomControl.SetViewFinderVisibility(gg_zoomctrl, Visibility.Visible);
gg_zoomctrl.IsAnimationDisabled = false;
- gg_zoomctrl.MaxZoomDelta = 2;
+ gg_zoomctrl.MaximumZoomStep = 2;
Loaded += GG_Loaded;
}
diff --git a/Examples/ShowcaseApp.WPF/Pages/Mini/EdgesParallel.xaml.cs b/Examples/ShowcaseApp.WPF/Pages/Mini/EdgesParallel.xaml.cs
index 08821e1..64f3adf 100644
--- a/Examples/ShowcaseApp.WPF/Pages/Mini/EdgesParallel.xaml.cs
+++ b/Examples/ShowcaseApp.WPF/Pages/Mini/EdgesParallel.xaml.cs
@@ -79,6 +79,8 @@ namespace ShowcaseApp.WPF.Pages.Mini
graphArea.PreloadGraph(posList);
//behaviors
graphArea.SetVerticesDrag(true, true);
+ graphArea.ShowAllEdgesLabels();
+ graphArea.AlignAllEdgesLabels();
zoomControl.ZoomToFill();
diff --git a/Examples/ShowcaseApp.WPF/Pages/NNGraph.xaml.cs b/Examples/ShowcaseApp.WPF/Pages/NNGraph.xaml.cs
index b72f553..52c28e2 100644
--- a/Examples/ShowcaseApp.WPF/Pages/NNGraph.xaml.cs
+++ b/Examples/ShowcaseApp.WPF/Pages/NNGraph.xaml.cs
@@ -55,7 +55,7 @@ namespace ShowcaseApp.WPF.Pages
zoomCtrl.Zoom = 2;
zoomCtrl.MinZoom = .5;
zoomCtrl.MaxZoom = 50;
- zoomCtrl.ZoomDeltaMultiplier = 25;
+ zoomCtrl.ZoomSensitivity = 25;
zoomCtrl.MouseDown += zoomCtrl_MouseDown;
var tb = new TextBlock() {Text = "AAAA"};
diff --git a/Examples/ShowcaseApp.WPF/Templates/Mini/CommonMiniTemplate.xaml b/Examples/ShowcaseApp.WPF/Templates/Mini/CommonMiniTemplate.xaml
index 3b1c720..9ce4a06 100644
--- a/Examples/ShowcaseApp.WPF/Templates/Mini/CommonMiniTemplate.xaml
+++ b/Examples/ShowcaseApp.WPF/Templates/Mini/CommonMiniTemplate.xaml
@@ -43,6 +43,22 @@
IsHitTestVisible="True"
ToolTip="This vertex has some self looped edges!"
Data="F1 M 17.4167,32.25L 32.9107,32.25L 38,18L 43.0893,32.25L 58.5833,32.25L 45.6798,41.4944L 51.4583,56L 38,48.0833L 26.125,56L 30.5979,41.7104L 17.4167,32.25 Z "/>
+
+
+
+
+
+
+
+
+