public class ClassDiagramGraph extends Graph
Constructor and Description |
---|
ClassDiagramGraph() |
Modifier and Type | Method and Description |
---|---|
boolean |
connect(Edge e,
java.awt.geom.Point2D p1,
java.awt.geom.Point2D p2)
Adds an edge to the graph that joins the nodes containing
the given points.
|
Edge[] |
getEdgePrototypes()
Gets the edge types of a particular graph type.
|
Node[] |
getNodePrototypes()
Gets the node types of a particular graph type.
|
add, draw, findEdge, findNode, getBounds, getEdges, getNodes, removeEdge, removeNode
public ClassDiagramGraph()
public boolean connect(Edge e, java.awt.geom.Point2D p1, java.awt.geom.Point2D p2)
Graph
public Node[] getNodePrototypes()
Graph
getNodePrototypes
in class Graph
public Edge[] getEdgePrototypes()
Graph
getEdgePrototypes
in class Graph