<ResourceDictionary xmlns="https://github.com/avaloniaui"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:nodes="clr-namespace:PixiEditor.AvaloniaUI.Views.Nodes">

    <ControlTheme TargetType="nodes:ConnectionView" x:Key="{x:Type nodes:ConnectionView}">
        <Setter Property="ClipToBounds" Value="False"/>
        <Setter Property="IsHitTestVisible" Value="False"/>
        <Setter Property="Template">
            <ControlTemplate>
                    <nodes:ConnectionLine Color="{DynamicResource ThemeForegroundBrush}" Thickness="2"
                          StartPoint="{Binding StartPoint, RelativeSource={RelativeSource TemplatedParent}}"
                          EndPoint="{Binding EndPoint, RelativeSource={RelativeSource TemplatedParent}}" />
            </ControlTemplate>
        </Setter>
    </ControlTheme>

</ResourceDictionary>