Package | Description |
---|---|
com.mxgraph.view |
This package implements the graph component, represented by the mxGraph
class.
|
Modifier and Type | Method and Description |
---|---|
mxConnectionConstraint[] |
mxGraph.getAllConnectionConstraints(mxCellState terminal,
boolean source)
Returns an array of all constraints for the given terminal.
|
mxConnectionConstraint |
mxGraph.getConnectionConstraint(mxCellState edge,
mxCellState terminal,
boolean source)
Returns an connection constraint that describes the given connection
point.
|
Modifier and Type | Method and Description |
---|---|
void |
mxGraph.cellConnected(java.lang.Object edge,
java.lang.Object terminal,
boolean source,
mxConnectionConstraint constraint)
Sets the new terminal for the given edge and resets the edge points if
isResetEdgesOnConnect returns true.
|
java.lang.Object |
mxGraph.connectCell(java.lang.Object edge,
java.lang.Object terminal,
boolean source,
mxConnectionConstraint constraint)
Connects the specified end of the given edge to the given terminal
using cellConnected and fires mxEvent.CONNECT_CELL while the transaction
is in progress.
|
mxPoint |
mxGraph.getConnectionPoint(mxCellState vertex,
mxConnectionConstraint constraint)
Sets the connection constraint that describes the given connection point.
|
void |
mxGraph.setConnectionConstraint(java.lang.Object edge,
java.lang.Object terminal,
boolean source,
mxConnectionConstraint constraint)
Sets the connection constraint that describes the given connection point.
|
void |
mxGraphView.updateFixedTerminalPoint(mxCellState edge,
mxCellState terminal,
boolean source,
mxConnectionConstraint constraint)
Sets the fixed source or target terminal point on the given edge.
|
Copyright (c) 2010-2017 Gaudenz Alder, JGraph Ltd. All rights reserved.