Hi,
We have custom shape node for our application in our diagram. Following is the code for that
textOnTheRight = new MindFusion.Diagramming.Wpf.Shape(
Shapes.Rectangle.Outline,// reuse the rectangular shape
null,// no decorations
new ElementTemplate[]// define text region
{
new LineTemplate(32, 29, 90, 29),
new LineTemplate(90,29, 90, 69),
new LineTemplate(90, 69, 32, 69),
new LineTemplate(32, 69, 32, 29)
},
FillRule.EvenOdd,// doesn't matter here
"textontheright"// to access the shape later using Shape.FromId
);
I want to attach this TextBlock at Left Side of the node, is that possible? If yes, how?
Regards,
Anshul