Closed AlexDialga closed 9 months ago
Hi, you can customize the connector thumb like this:
<nodify:Node.InputConnectorTemplate>
<DataTemplate>
<nodify:NodeInput>
<nodify:NodeInput.ConnectorTemplate>
<ControlTemplate TargetType="Control">
<Ellipse Width="14"
Height="14"
Stroke="{Binding BorderBrush}"
Fill="{TemplateBinding Background}"
StrokeThickness="2" />
</ControlTemplate>
</nodify:NodeInput.ConnectorTemplate>
</nodify:NodeInput>
</DataTemplate>
</nodify:Node.InputConnectorTemplate>
Describe the bug A clear and concise description of what the bug is: A strange shape appears after binding a BorderBrush of NodeInput/NodeOutput into NodifyEditor while mouse is over a connector.
To Reproduce Steps to reproduce the behavior:
In BaseConnectorModel:
PS1: It seems the editor has some issue? I will upload screenshots of codes. PS2: It seems the code button on editor generates typos...
In BaseEditorView.xaml:
Expected behavior A clear and concise description of what you expected to happen: The BorderBrush of Shape should be separated. I try to find something like TriggeredBackground, but it seems it doesn't have it.
Screenshots If applicable, add screenshots to help explain your problem:
Additional context Maybe you can change bindings In NodeInput.xaml in Nodify Project