Skip to content

Commit b38bc7e

Browse files
committed
+ Small fixes and changelog edit
1 parent 771aab2 commit b38bc7e

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Documents/CHANGELOG.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ DETAILED CHANGELOG:
3434
+ Added StateStorage::SaveOrUpdateState() method for easier use [WPF,METRO]
3535
+ Added new readonly property EdgeControl::IsParallel that identifies edge as currently parallel to other edge. Made GraphArea::ParalellizeEdges() method public to be able to refresh IsParallel property on manual graph operations [METRO, WPF]
3636
+ Added EdgeLabelControl::FlipOnRotation dependency property which controls if label should be flipped when axis is changed while rotating [WPF, METRO]
37+
+ Fixed parallel edges labels handling. Now edge labels are more readable when there are two of them [WPF, METRO]
3738
+ Fixed edge routing when graph state has been loaded. Graph state now stores AlgorithmStorage too [ALL]
3839
+ Fixed ZoomControl zoom out to the value equal to zoom in resulting in similar smooth zoom [WPF, METRO]
3940
+ Fixed ZoomControl::Zoom cproperty change not firing [WPF, METRO]
@@ -93,6 +94,9 @@ BREAKING CHANGES:
9394
* Self looped edges display logic has been slightly changed with the introduction of custom template PART (PART_SelfLoopedEdge). Now LogicCore::SelfLoopIndicatorOffset
9495
is (0,0) by default and indicator is shown in the top left vertex corner minus indicator size. You can change this behavior by overriding EdgeControl::PrepareSelfLoopedEdge() method.
9596
* GetVertexSizeRectangles() method moved from GraphArea to LogicCore.
97+
* Edge labels placement logic has been slightly changed when they are applied to parallel edges. Labels offset now translates them into different directions, for ex. one up, one down, one up.. etc.
98+
This behavior helps to better place labels for double parallels. Also parallel edge labels now are not flipped when axis changes during label rotation. If you're uncomfortable with these changes,
99+
please let me know!
96100

97101
RELEASE 2.1.8
98102
+ Added basic support for Image based edge pointers. Introduced new object for EdgeControl template: [WPF, METRO(bugged)]

Examples/ShowcaseApp.WPF/Templates/MiniFeatures.xaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<Setter Property="Margin" Value="5"/>
1212
<Setter Property="Height" Value="40"/>
1313
<Setter Property="FontWeight" Value="Bold" />
14+
<Setter Property="Foreground" Value="{DynamicResource ModernButtonText}"/>
1415
</Style>
1516

1617
<LinearGradientBrush StartPoint="1,0" EndPoint="1,1" x:Key="PanelGradient" SpreadMethod="Pad" MappingMode="RelativeToBoundingBox">

0 commit comments

Comments
 (0)