I'm trying to create a "custom shape" in diagram control, but custom node disappears when i add it to IGraphsource in diagram control.
I am also attaching the sample project so if i am doing anything wrong can you please check.
I added the .png file for the custom shape I wanted
Can you please help me to createing the diagram layout algoritham to set diagram, because we cannot set static position of all nodes.
We want these types of layouts to be in the image.
Which controls can be used for the tool shown in the image.
[ I have circled the red color inside the image control ]
hello,
Dash line style connector and simple line style connector draw together in draw in one diagram.
Diagram binding using datasource.
Hello,
I wanted layout as per images shared with the questions/forums. You also provided with me solutions but I am not able to draw the layout as per wish.
[ I am sharing here another picture of layout if possible can you please show me a workaround.
I am also attaching the sample project so if i am doing anything wrong can you please check?
Hello,
I want to update the node and connector after giving the GraphDatasource in the "RadDiagram",
Because I want to used different nodes and different style connectors together in diagram.
Hello!
I followed the tutorial to create a custom shape for a RadDiagram in WPF:
https://docs.telerik.com/devtools/wpf/controls/raddiagram/howto/create-custom-shape
But there is no explanation on how I could add mouse interaction (or other events).
Binding normal values works fine, but if I try to bind, for example:
<Ellipse MouseDown="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=MyMouseDownFunction}" />
I receive an error: "A 'Binding' can only be set on a DependencyProperty of a DependencyObject.'".
How can I add mouse interaction to certain parts of my custom shape?
Hello,
please give me a sample project of draw diagram using dynamic data.
(used demo image for create data)
Is there a way to change the anchor point of a RadDiagramShape object to something other than the top/left point? Like in the screen shot below, it is the top/center point.