Skip to content

Commit

Permalink
+ Added async mode for METRO
Browse files Browse the repository at this point in the history
+ Bug fixes for async mode resource management in WPF
  • Loading branch information
panthernet committed Apr 13, 2015
1 parent 34b3831 commit b55b90f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
10 changes: 7 additions & 3 deletions Documents/CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,18 @@
+ Added VertexControl::GetCenterPosition() method to get vertex center position instead the default top-left [WPF, METRO]
+ Added new showcase example: Templates/Graph editor [WPF]
+ Added new option GraphArea::LogicCoreChangeAction which defines what action will be taken on LogicCore property change. You can rebuild graph now. [WPF, METRO]
+ Fixed edge labels display for self looped edges [WPF, METRO]
+ Added new sync calculation cancellation feature [WPF, METRO] thanks to jorgensigvardsson
+ Added new property EdgeLabelControl::DisplayForSelfLoopedEdges which is self explaining [WPF, METRO]
+ Fixed edge labels display for self looped edges [WPF, METRO]
+ Fixed annoying data binding error in ZoomControl slider binding [METRO, WPF]
+ Fixed ZoomControl unresponsivness after startup (prev needed to change zoom/translation first to work fine) [WPF,METRO]
+ Fixed ZoomControl::Zoom property bug on empty content window resize [WPF, METRO]
+ Fixed dynamic graph showcase example first vertex auto zooming onto [WPF]
+ Fixed some issues in ShowcaseApp.WPF
+ Fixed GraphArea::DeserializeFromFile() logic and filestorage logic to properly restore internal data for loaded graphs [WPF, METRO]
+ Fixed calculation of label control position and angle [WPF, METRO] thanks to jorgensigvardsson
+ Made EdgeControl::LabelVerticalOffset property dependecy [WPF, METRO]
+ Updated default control templstes to include some new properties setup by default [WPF, METRO]
+ Implemented EdgeControl::LabelVerticalOffset property as dependecy [WPF, METRO]
+ Updated default control templates to include some new properties setup by default [WPF, METRO]
+ Optimized showcase app media files
+ Improved extensibility by making some methods virtual for EdgeLabelControl, VertexLabelControl, EdgeControl

Expand All @@ -29,6 +30,9 @@
+ Expanded EdgeControl event args with mouse and keyboard modifiers [WPF]
+ Moved all WPF interfaces to GraphX.Controls.Models.Interfaces namespace and all METRO interfaces to GraphX.METRO.Controls.Models.Interfaces [WPF, METRO]
+ Edge rotation now needs additional modification for all custom EdgeLabelControl templates. Please add: <Setter Property="RenderTransformOrigin" Value="0.5,0.5" />[WPF, METRO]
+ Due to new calc cancelation feature the following has been changed:
- IExternalEdgeRouting, IExternalLayout, IExternalOverlapRemoval interfaces and different algorithm base classes now implement Compute(CancellationToken cancellationToken) method with an additional param
- METRO now works only in async mode. Added GraphArea graph generation methods postfix Async.

RELEASE 2.1.7
+ Added new ShowcaseApp.WPF with mostly the same functionality as before but in a new nutshell and with refactored code. Expect new showcases soon.
Expand Down
2 changes: 1 addition & 1 deletion Examples/METRO.SimpleGraph/Common/templates.xaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:METRO.SimpleGraph"
xmlns:controls="using:GraphX.Controls">

<Style TargetType="controls:VertexControl">
Expand Down Expand Up @@ -99,6 +98,7 @@
</Style>

<Style TargetType="controls:EdgeControl">
<Setter Property="LabelVerticalOffset" Value="10" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="controls:EdgeControl">
Expand Down
4 changes: 2 additions & 2 deletions Examples/ShowcaseApp.WPF/Templates/GeneralTemplate.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@
>
</Path>

<!--"<gxl:EdgePointerImage NeedRotation="true" x:Name="PART_EdgePointerForSource" Source="/Assets/tr_red.png" Width="15" Height="15" />
<gxl:EdgePointerImage NeedRotation="true" x:Name="PART_EdgePointerForTarget" Source="/Assets/tr_grren.png" Width="15" Height="15" />-->
<gxl:EdgePointerImage NeedRotation="true" x:Name="PART_EdgePointerForSource" Source="/Assets/tr_red.png" Width="15" Height="15" />
<gxl:EdgePointerImage NeedRotation="true" x:Name="PART_EdgePointerForTarget" Source="/Assets/tr_grren.png" Width="15" Height="15" />
</Grid>
</ControlTemplate>
</Setter.Value>
Expand Down

0 comments on commit b55b90f

Please sign in to comment.