SE450
:
Framework Classes
[40/63]
Framework programmer implements
Node
/
Edge
interfaces
draw
draws node/edge
getBounds
returns enclosing rectangle (to compute total graph size for scrolling)
Edge.getStart
,
getEnd
yield start/end nodes
Node.getConnectionPoint
computes attachment point on shape boundary
Edge.getConnectionPoints
yields start/end coordinates (for grabbers)
clone
overridden to be public