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(Object edge,
Object terminal,
boolean source,
mxConnectionConstraint constraint)
Sets the new terminal for the given edge and resets the edge points if
isResetEdgesOnConnect returns true.
|
Object |
mxGraph.connectCell(Object edge,
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(Object edge,
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.