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, removeNodepublic ClassDiagramGraph()
public boolean connect(Edge e, java.awt.geom.Point2D p1, java.awt.geom.Point2D p2)
Graphpublic Node[] getNodePrototypes()
GraphgetNodePrototypes in class Graphpublic Edge[] getEdgePrototypes()
GraphgetEdgePrototypes in class Graph