package com.cameleer.server.core.diagram;

import java.util.List;

/**
 * An edge with computed waypoints for rendering.
 *
 * @param sourceId source node identifier
 * @param targetId target node identifier
 * @param label    optional edge label
 * @param points   list of [x, y] waypoints from source to target
 */
public record PositionedEdge(
        String sourceId,
        String targetId,
        String label,
        List<double[]> points
) {
}
