Skip to content
Snippets Groups Projects
Select Git revision
  • 3b71b861d8aa3d7a8fa4a16c0cb39123440c21e2
  • master default protected
  • feature/old_version_cleanup
3 results

plugins.gitlab-ci.yml

Blame
  • MainWindow.xaml 3.51 KiB
    <Window x:Class="FlowForge.MainWindow"
            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
            Title="Flow-Forge" Height="600" Width="1080">
        <Grid x:Name="MainGrid">
            <!-- Define two rows: one fixed height for the button and one for the graph viewer -->
            <Grid.RowDefinitions>
                <RowDefinition Height="70"/>  <!-- Fixed height row for button -->
                <RowDefinition Height="*"/>    <!-- Remaining space for the graph viewer -->
            </Grid.RowDefinitions>
    
            <!-- Button in the first row -->
            <Button x:Name="InitializeGraphButton" 
                    Content="Initialize graph" 
                    Width="120" 
                    Height="40" 
                    VerticalAlignment="Center" 
                    HorizontalAlignment="Left" 
                    Margin="10" 
                    Grid.Row="0"
                    Panel.ZIndex="1"
                    Click="InitializeGraphButton_Click"/>
            
            <!-- Second Button in the first row -->
            <Button x:Name="RunFordFulkersonButton" 
                    Content="Run Ford-Fulkerson" 
                    Width="120" 
                    Height="40" 
                    VerticalAlignment="Center" 
                    HorizontalAlignment="Left" 
                    Margin="310,10,0,10"
                    Grid.Row="0"
                    Click="FordFulkersonButton_Click"/>
            
            <!-- Second Button in the first row -->
            <Button x:Name="RunEdmondsKarpButton" 
                    Content="Run Edmonds–Karp" 
                    Width="120" 
                    Height="40" 
                    VerticalAlignment="Center" 
                    HorizontalAlignment="Left" 
                    Margin="160,10,0,10"
                    Grid.Row="0"
                    Click="EdmondsKarpButton_Click"/>
            
            <!-- Second Button in the first row -->
            <Button x:Name="Export" 
                    Content="Export" 
                    Width="120" 
                    Height="40" 
                    VerticalAlignment="Center" 
                    HorizontalAlignment="Left" 
                    Margin="460,10,0,10"
                    Grid.Row="0"
                    Click="ExportToLatexButton_Click"/>
            
            <Button x:Name="SnapToGrid" 
                    Content="Snap to grid" 
                    Width="120" 
                    Height="40" 
                    VerticalAlignment="Center" 
                    HorizontalAlignment="Left" 
                    Margin="610,10,0,10"
                    Grid.Row="0"
                    Click="SnapToGridButton_Click"/>
    
            <!-- Checkboxes in the first row -->
            <CheckBox x:Name="IncludeAnimationCheckbox"
                      Content="Include animation"
                      VerticalAlignment="Center"