I'm using ObservableGraphSourceBase and NodeViewModelBase with a StyleSelector to render the shapes. Nice. But I want my shapes to have connectors in certain positions dependent on the view model. How can I do this?
In my case the shapes are rectangular with the left connectors being inputs and the right connectors being outputs. For a type 'A' NodeViewModel I want the shape to have 2 input connectors (left), no top or bottom connectors, and one right connector.
I can add/remove connectors on a drag and drop or edit event ... but how do I create the shape, via a style, with the connectors defined by the NodeViewModel?