<Window x:Class="GraphDrawer.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:GraphDrawer"
        mc:Ignorable="d"
        Title="MainWindow" Height="450" Width="800">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition/>
            <RowDefinition Height="0.1*"/>
            <RowDefinition Height="0.1*"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="259*"/>
            <ColumnDefinition Width="137*"/>
        </Grid.ColumnDefinitions>
        <Canvas x:Name="canvas" Grid.ColumnSpan="2"/>
        <TextBlock Text="Количество вершин:" Grid.Row="1" HorizontalAlignment="Right" Margin="0,4,5,4" VerticalAlignment="Center" FontSize="20" Height="27" Width="189"/>
        <TextBlock Text="Максимальное количество ребер у каждой вершины:" Grid.Row="2" HorizontalAlignment="Right" Margin="0,4,5,4" VerticalAlignment="Center" FontSize="20" Height="27" Width="501"/>

        <TextBox TabIndex="1" x:Name="vertexBox" Grid.Row="1" Grid.Column="1" Width="100" HorizontalAlignment="Left" Margin="0,3,0,2"/>
        <TextBox TabIndex="2" x:Name="edgeBox" Grid.Row="2" Grid.Column="1" Width="100" HorizontalAlignment="Left" Margin="0,2,0,3"/>
        <Button TabIndex="3" x:Name="generateBtn" Grid.Row="1" Grid.Column="1" Content="Генерировать" Background="Blue" Foreground="White" BorderThickness="0" Click="generateBtn_Click" Margin="174,5,10,5"/>
        <Button TabIndex="4" x:Name="choiceBtn" Grid.Row="2" Grid.Column="1" Content="Режим" Background="Blue" Foreground="White" BorderThickness="0" Margin="174,4,10,6" Click="choiceBtn_Click"/>
    </Grid>
</Window>
