Thank you for contacting us.
Working with the RadDiagram
in MVVM scenario is easy and does not require a lot of work. For more information you can refer to these articles: DataBinding
, RadDiagram in MVVM
, Using StyleSelectors in MVVM
. When you use the RadDiagram
in MVVM scenario you can take advantage of our predefined ViewModels
which expose some basic properties suitable for binding to RadDiagramShapes'
properties (for example Content, Source, Target, Height, Width, RotationAngle). Also, you are able to add custom properties by creating classes deriving from our ViewModels
. While creating custom view models allows you to incorporate custom business rules inside them you could also easily create custom shapes (objects deriving from RadDiagramShape
) and customize their behavior and appearance.
On the other hand the RadDiagram
exposes events that can be used to customize (restrict) the connections that the user creates. For more detailed information about the events you can refer to the following articles: DiagramEvents
However, I am not quite sure I have managed to fully understand what you have in mind with the following:
"take 2 incoming values of those input shapes and concatenate together and send that to output shape
Are you describing some kind of process execution (expression calculation)? If so, could you please provide us a bit more info on the topic (or the use case)?
Furthermore, you can refer to this article
- describing the export feature of the RadDiagram
Hope this helps. I am looking forward to hearing from you.
Pavel R. Pavlov
the Telerik team