Implemente code for the take node and added functionality to take the list or array

This commit is contained in:
Ankitkumar Satapara
2026-04-18 21:27:35 +05:30
parent 5b6af2a76b
commit c14a2a730d
5 changed files with 222 additions and 3 deletions

View File

@@ -533,6 +533,23 @@
</nodify:Node>
</DataTemplate>
<DataTemplate DataType="{x:Type local:TakeOperationViewModel}">
<nodify:Node Header="{Binding Title}"
Content="{Binding}"
Input="{Binding Input}"
Output="{Binding Output}">
<nodify:Node.ContentTemplate>
<DataTemplate DataType="{x:Type local:TakeOperationViewModel}">
<StackPanel Margin="4">
<CheckBox Content="Random"
IsChecked="{Binding IsRandom, UpdateSourceTrigger=PropertyChanged}"
Foreground="White" Margin="0 0 0 4" />
</StackPanel>
</DataTemplate>
</nodify:Node.ContentTemplate>
</nodify:Node>
</DataTemplate>
<DataTemplate DataType="{x:Type local:OperationViewModel}">
<nodify:Node Content="{Binding Title}"
Input="{Binding Input}"