Hello, i have the following paint problems using WPF-Diagramming 2.4:
1. AttachTo
private void AttachNewLabel(MyShapenode s)
{
int labelbreite = 30;
int labelhoehe = 20;
ShapeNode label = dgDiagram.Factory.CreateShapeNode(s.Bounds.X + 0.5 * s.Bounds.Width - 0.5 * labelbreite, s.Bounds.Y + s.Bounds.Height - labelhoehe, labelbreite, labelhoehe, Shapes.Rectangle);
label.Text = "[ + ]";
label.TextBrush = Brushes.Black;
label.Brush = Brushes.White;
label.Locked = true;
label.Transparent = true;
label.AttachTo(s, AttachToNode.BottomCenter);
s.SubordinateGroup.AutoDeleteItems = true;
}
I only see the label, when i activate the Shape, otherwise it is not visible. I want that i see always the attached label.
2. Arrowheads
Some arrowheads do not point on a 90 degree to the following shape, they are on the shapeboarder with 0 degrees showing in the direction of the border.
LinkHeadShape="Triangle"
LinkHeadShapeSize="15"
LinkShape="Cascading"
DynamicLinks="False"
LinkBrush="Black"
LinkTextStyle="OverLongestSegment"
RouteLinks="True"
AllowLinksRepeat="False"
3. Links
After loading a saved diagram with all the links (also with userdefined controllpoints) some segments of the links are not visible. Some of the invisible parts starts in a segment. When i move the node or the link the whole link will be visible.
It's not that easy to describe it
I can send you a picture if this is helpful.
Thank's for any advice.
Amosius