Terms and Definitions
Graph - a collection of nodes and the edges that connect them.
Node - a fundamental unit within a graph that can be connected to other nodes via edges.
Port - a specific point on a node where edges can be attached.
Edge - a directed connection between two ports.
Edge Shape - the visual representation of an edge.
Canvas - the background area where the graph is displayed.
Viewport - the visible portion of the canvas.
Port Direction - an angle, measured in radians, that defines the orientation of an edge connected to a port.
Node Center Function - a function that determines how the coordinates of a node are interpreted.
Priority - the z-index value assigned to a node or edge, indicating its layering order.