public GraphArrow AddArrow(GraphNode start, GraphNode end) { var element = new GraphArrow { HeadHeight = 10, HeadWidth = 5 }; element.SetStartNode(start); // Set arrow position manually until we dont have ending box. element.SetEndNode(end); Children.Add(element); return(element); }
public GraphArrow AddArrow(GraphNode node, Point curPos) { var element = new GraphArrow { HeadHeight = 10, HeadWidth = 5 }; element.SetStartNode(node); // Set arrow position manually until we dont have ending box. element.SetEndPoint(curPos); Children.Add(element); return(element); }