miroiu / nodify

Highly performant and modular controls for node-based editors designed for data-binding and MVVM.
https://miroiu.github.io/nodify
MIT License
1.38k stars 224 forks source link

Add InputGroupStyle and OutputGroupStyle to Node #145

Closed miroiu closed 2 weeks ago

miroiu commented 2 weeks ago

📝 Description of the Change

Add support for grouping connectors in Node.

Node properties:

Example usage

<nodify:Node Input="{Binding Input, Converter={StaticResource GroupByShapeConverter}}"
             Output="{Binding Output, Converter={StaticResource GroupByShapeConverter}}"
             Header="{Binding Title}">
    <nodify:Node.InputGroupStyle>
        <GroupStyle />
    </nodify:Node.InputGroupStyle>
    <nodify:Node.OutputGroupStyle>
        <GroupStyle />
    </nodify:Node.OutputGroupStyle>
</nodify:Node>

image

Closes #144