The TGraphLink component is designed to represent and display graph edge for both directed and undirected graphs. It is a line connecting two points (nodes) and optional one or two arrows on this line. You can change:the line widtharrow's style, color and sizearrow location on the edge.At run-time you can determine if the point is on the graph edge. OnMouseDown event for this component occurs when you press a mouse button with the mouse pointer on line or arrow representing the graph edge, not on the whole control rectangle. |