A relationship that has been hit by a pointer event

interface HitTargetRelationship {
    data: Relationship;
    distance: number;
    fromTargetCoordinates: Point;
    pointerCoordinates: Point;
    toTargetCoordinates: Point;
}

Properties

The relationship that was hit

distance: number

The distance between the relationship and the pointer event

fromTargetCoordinates: Point

The coordinates of the source node of the relationship that was hit

pointerCoordinates: Point

The coordinates of the pointer event

toTargetCoordinates: Point

The coordinates of the target node of the relationship that was hit