<UserControl x:Class="Microscopic_Traffic_Simulator.Views.MainWindowView.CanvasUserControl"
             xmlns:mainWindowView="clr-namespace:Microscopic_Traffic_Simulator.Views.MainWindowView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300"
             Loaded="UserControl_Loaded">
    <mainWindowView:TopologyCanvas x:Name="topologyCanvas" 
                                   ClipToBounds="True"
                                   Background="Transparent"                                   
                                   MouseMove="topologyCanvas_MouseMove"
                                   MouseWheel="topologyCanvas_MouseWheel"
                                   MouseLeftButtonUp="topologyCanvas_MouseLeftButtonUp"
                                   MouseLeftButtonDown="topologyCanvas_MouseLeftButtonDown"
                                   MouseRightButtonDown="topologyCanvas_MouseRightButtonDown">
        <Canvas.LayoutTransform>
            <ScaleTransform ScaleY="-1"></ScaleTransform>
        </Canvas.LayoutTransform>
    </mainWindowView:TopologyCanvas>
</UserControl>
