Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Window x:Class="Graf.MainWindow"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:local="clr-namespace:Graf"
- mc:Ignorable="d"
- xmlns:graphsharp="clr-namespace:GraphSharp.Controls;assembly=GraphSharp.Controls"
- xmlns:zoom="clr-namespace:WPFExtensions.Controls;assembly=WPFExtensions"
- Title="MainWindow"
- x:Name="root">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="157*"/>
- <ColumnDefinition Width="39*"/>
- <ColumnDefinition Width="322*"/>
- </Grid.ColumnDefinitions>
- <graphsharp:GraphLayout x:Name="graphLayout"
- Graph="{Binding ElementName=root,Path=GraphToVisualize}"
- LayoutAlgorithmType="FR"
- OverlapRemovalAlgorithmType="FSA"
- HighlightAlgorithmType="Simple" Grid.ColumnSpan="3" RenderTransformOrigin="1,0.978">
- <Button x:Name="button" Content="Dodaj wierzchołek" RenderTransformOrigin="0.786,1.864" Margin="318,232,-319,-232" Click="button_Click"/>
- <TextBox x:Name="textBox" TextWrapping="Wrap" Text="" HorizontalAlignment="Left" Width="52" Margin="261,232,-261,-232.08" TextChanged="textBox_TextChanged" RenderTransformOrigin="0.5,0.502"/>
- </graphsharp:GraphLayout>
- </Grid>
- </Window>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement