Skip to content

Commit

Permalink
Added some blueprints for future
Browse files Browse the repository at this point in the history
  • Loading branch information
panthernet committed May 1, 2014
1 parent 873fe84 commit 1de6424
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Examples/ShowcaseExample/Templates/ThemedGraphXTemplates.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@

</Style>

<conv:VisibilityToBoolConverter Inverted="True" Not="True" x:Key="BooleanToVisibility"/>

<!-- StrokeDashArray="{Binding Path=Edge, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource dconv}}" -->
<!-- EDGE CONTROL -->
Expand All @@ -151,6 +152,29 @@
<Path Stroke="{TemplateBinding Foreground}"
StrokeThickness="2" MinWidth="1" MinHeight="1"
x:Name="PART_edgeArrowPath"/>
<!--<Ellipse Width="15" Height="15" Fill="Red" Visibility="{TemplateBinding IsSelfLooped, Converter={StaticResource BooleanToVisibility}}">
<Ellipse.RenderTransform>
<TranslateTransform x:Name="AnimatedTranslateTransform"/>
</Ellipse.RenderTransform>
<Ellipse.Triggers>
<EventTrigger RoutedEvent="Loaded" >
<BeginStoryboard>
<Storyboard RepeatBehavior="Forever" AutoReverse="True">
<DoubleAnimationUsingPath
Source="X" Duration="0:0:1"
Storyboard.TargetProperty="X"
Storyboard.TargetName="AnimatedTranslateTransform"
PathGeometry="{Binding ElementName=PART_edgePath, Path=Data}" />
<DoubleAnimationUsingPath
Source="Y" Duration="0:0:1"
Storyboard.TargetProperty="Y"
Storyboard.TargetName="AnimatedTranslateTransform"
PathGeometry="{Binding ElementName=PART_edgePath, Path=Data}"/>
</Storyboard>
</BeginStoryboard>
</EventTrigger>
</Ellipse.Triggers>
</Ellipse>-->
</Grid>
</ControlTemplate>
</Setter.Value>
Expand Down
Binary file modified GraphX v2.v11.suo
Binary file not shown.

0 comments on commit 1de6424

Please sign in to comment.