Package | Description |
---|---|
com.mxgraph.analysis |
This package provides various algorithms for graph analysis, such as
shortest path and minimum spanning tree.
|
com.mxgraph.io |
This package contains all classes for input/output.
|
com.mxgraph.layout |
This package contains various graph layouts.
|
com.mxgraph.layout.hierarchical | |
com.mxgraph.layout.hierarchical.stage | |
com.mxgraph.layout.orthogonal | |
com.mxgraph.layout.orthogonal.model | |
com.mxgraph.swing |
This package contains the main component for JFC/Swing, namely the graph
component and the outline component.
|
com.mxgraph.swing.handler |
This package contains all classes required for mouse event handling in
JFC/Swing.
|
com.mxgraph.swing.util |
This package contains all utility classes that require JFC/Swing, namely for
mouse event handling, drag and drop, actions and overlays.
|
com.mxgraph.util |
This package provides utility classes such as mxConstants, mxUtils, mxPoint
and mxRectangle as well as all classes for custom events and the undo
history.
|
com.mxgraph.view |
This package implements the graph component, represented by the mxGraph
class.
|
Modifier and Type | Field | Description |
---|---|---|
protected mxGraph |
mxAnalysisGraph.graph |
Modifier and Type | Method | Description |
---|---|---|
mxGraph |
mxAnalysisGraph.getGraph() |
Modifier and Type | Method | Description |
---|---|---|
mxUnionFind |
mxGraphAnalysis.getConnectionComponents(mxGraph graph,
java.lang.Object[] v,
java.lang.Object[] e) |
Returns a union find structure representing the connection components of
G=(E,V).
|
static mxGeneratorFunction |
mxGraphGenerator.getGeneratorFunction(mxGraph graph,
boolean weighted,
double minWeight,
double maxWeight) |
|
java.lang.Object[] |
mxGraphAnalysis.getMinimumSpanningTree(mxGraph graph,
java.lang.Object[] v,
mxICostFunction cf,
boolean directed) |
Returns the minimum spanning tree (MST) for the graph defined by G=(E,V).
|
java.lang.Object[] |
mxGraphAnalysis.getMinimumSpanningTree(mxGraph graph,
java.lang.Object[] v,
java.lang.Object[] e,
mxICostFunction cf) |
Returns the minimum spanning tree (MST) for the graph defined by G=(E,V).
|
java.lang.Object[] |
mxGraphAnalysis.getShortestPath(mxGraph graph,
java.lang.Object from,
java.lang.Object to,
mxICostFunction cf,
int steps,
boolean directed) |
Returns the shortest path between two cells or their descendants
represented as an array of edges in order of traversal.
|
void |
mxAnalysisGraph.setGraph(mxGraph graph) |
Modifier and Type | Method | Description |
---|---|---|
static void |
mxGdCodec.decode(java.lang.String input,
mxGraph graph) |
Parses simple GD format and populate the specified graph
|
static java.lang.String |
mxGdCodec.encode(mxGraph graph) |
Generates a GD text output with the cells in the graph.
|
Modifier and Type | Field | Description |
---|---|---|
protected mxGraph |
mxGraphLayout.graph |
Holds the enclosing graph.
|
Modifier and Type | Method | Description |
---|---|---|
mxGraph |
mxGraphLayout.getGraph() |
Returns the associated graph.
|
Constructor | Description |
---|---|
mxCircleLayout(mxGraph graph) |
Constructs a new stack layout layout for the specified graph,
spacing, orientation and offset.
|
mxCircleLayout(mxGraph graph,
double radius) |
Constructs a new stack layout layout for the specified graph,
spacing, orientation and offset.
|
mxCompactTreeLayout(mxGraph graph) |
|
mxCompactTreeLayout(mxGraph graph,
boolean horizontal) |
|
mxCompactTreeLayout(mxGraph graph,
boolean horizontal,
boolean invert) |
|
mxEdgeLabelLayout(mxGraph graph) |
Constructs a new stack layout layout for the specified graph,
spacing, orientation and offset.
|
mxFastOrganicLayout(mxGraph graph) |
Constructs a new fast organic layout for the specified graph.
|
mxGraphLayout(mxGraph graph) |
Constructs a new fast organic layout for the specified graph.
|
mxOrganicLayout(mxGraph graph) |
Constructor for mxOrganicLayout.
|
mxOrganicLayout(mxGraph graph,
java.awt.geom.Rectangle2D bounds) |
Constructor for mxOrganicLayout.
|
mxParallelEdgeLayout(mxGraph graph) |
Constructs a new stack layout layout for the specified graph,
spacing, orientation and offset.
|
mxParallelEdgeLayout(mxGraph graph,
int spacing) |
Constructs a new stack layout layout for the specified graph,
spacing, orientation and offset.
|
mxPartitionLayout(mxGraph graph) |
Constructs a new stack layout layout for the specified graph,
spacing, orientation and offset.
|
mxPartitionLayout(mxGraph graph,
boolean horizontal) |
Constructs a new stack layout layout for the specified graph,
spacing, orientation and offset.
|
mxPartitionLayout(mxGraph graph,
boolean horizontal,
int spacing) |
Constructs a new stack layout layout for the specified graph,
spacing, orientation and offset.
|
mxPartitionLayout(mxGraph graph,
boolean horizontal,
int spacing,
int border) |
Constructs a new stack layout layout for the specified graph,
spacing, orientation and offset.
|
mxStackLayout(mxGraph graph) |
Constructs a new stack layout layout for the specified graph,
spacing, orientation and offset.
|
mxStackLayout(mxGraph graph,
boolean horizontal) |
Constructs a new stack layout layout for the specified graph,
spacing, orientation and offset.
|
mxStackLayout(mxGraph graph,
boolean horizontal,
int spacing) |
Constructs a new stack layout layout for the specified graph,
spacing, orientation and offset.
|
mxStackLayout(mxGraph graph,
boolean horizontal,
int spacing,
int x0,
int y0,
int border) |
Constructs a new stack layout layout for the specified graph,
spacing, orientation and offset.
|
Constructor | Description |
---|---|
mxHierarchicalLayout(mxGraph graph) |
Constructs a hierarchical layout
|
mxHierarchicalLayout(mxGraph graph,
int orientation) |
Constructs a hierarchical layout
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
mxCoordinateAssignment.calculateWidestRank(mxGraph graph,
mxGraphHierarchyModel model) |
Calculates the width rank in the hierarchy.
|
protected void |
mxCoordinateAssignment.rankCoordinates(int rankValue,
mxGraph graph,
mxGraphHierarchyModel model) |
Sets up the layout in an initial positioning.
|
protected void |
mxCoordinateAssignment.setCellLocations(mxGraph graph,
mxGraphHierarchyModel model) |
Sets the cell locations in the facade to those stored after this layout
processing step has completed.
|
Constructor | Description |
---|---|
mxOrthogonalLayout(mxGraph graph) |
Constructor | Description |
---|---|
mxOrthogonalModel(mxGraph graph) |
Modifier and Type | Field | Description |
---|---|---|
protected mxGraph |
mxGraphComponent.graph |
Modifier and Type | Method | Description |
---|---|---|
mxGraph |
mxGraphComponent.getGraph() |
Modifier and Type | Method | Description |
---|---|---|
void |
mxGraphComponent.setGraph(mxGraph value) |
Constructor | Description |
---|---|
mxGraphComponent(mxGraph graph) |
Modifier and Type | Method | Description |
---|---|---|
protected void |
mxConnectionHandler.addGraphListeners(mxGraph graph) |
Installs the listeners to update the handles after any changes.
|
protected void |
mxSelectionCellsHandler.addGraphListeners(mxGraph graph) |
Installs the listeners to update the handles after any changes.
|
protected void |
mxConnectionHandler.removeGraphListeners(mxGraph graph) |
Removes all installed listeners.
|
protected void |
mxSelectionCellsHandler.removeGraphListeners(mxGraph graph) |
Removes all installed listeners.
|
Modifier and Type | Method | Description |
---|---|---|
static mxGraph |
mxGraphActions.getGraph(java.awt.event.ActionEvent e) |
Modifier and Type | Method | Description |
---|---|---|
protected int |
mxGraphActions.GroupAction.getGroupBorder(mxGraph graph) |
|
protected int |
mxGraphActions.UpdateGroupBoundsAction.getGroupBorder(mxGraph graph) |
Modifier and Type | Method | Description |
---|---|---|
static java.awt.image.BufferedImage |
mxCellRenderer.createBufferedImage(mxGraph graph,
java.lang.Object[] cells,
double scale,
java.awt.Color background,
boolean antiAlias,
mxRectangle clip) |
|
static java.awt.image.BufferedImage |
mxCellRenderer.createBufferedImage(mxGraph graph,
java.lang.Object[] cells,
double scale,
java.awt.Color background,
boolean antiAlias,
mxRectangle clip,
mxGraphics2DCanvas graphicsCanvas) |
|
static org.w3c.dom.Document |
mxCellRenderer.createHtmlDocument(mxGraph graph,
java.lang.Object[] cells,
double scale,
java.awt.Color background,
mxRectangle clip) |
|
static org.w3c.dom.Document |
mxCellRenderer.createSvgDocument(mxGraph graph,
java.lang.Object[] cells,
double scale,
java.awt.Color background,
mxRectangle clip) |
|
static org.w3c.dom.Document |
mxCellRenderer.createVmlDocument(mxGraph graph,
java.lang.Object[] cells,
double scale,
java.awt.Color background,
mxRectangle clip) |
|
static mxICanvas |
mxCellRenderer.drawCells(mxGraph graph,
java.lang.Object[] cells,
double scale,
mxRectangle clip,
mxCellRenderer.CanvasFactory factory) |
Draws the given cells using a Graphics2D canvas and returns the buffered image
that represents the cells.
|
Modifier and Type | Field | Description |
---|---|---|
protected mxGraph |
mxGraphSelectionModel.graph |
Reference to the enclosing graph.
|
protected mxGraph |
mxGraphView.graph |
Reference to the enclosing graph.
|
protected mxGraph |
mxLayoutManager.graph |
Defines the type of the source or target terminal.
|
protected mxGraph |
mxSwimlaneManager.graph |
Defines the type of the source or target terminal.
|
Modifier and Type | Method | Description |
---|---|---|
mxGraph |
mxGraphView.getGraph() |
Returns the enclosing graph.
|
mxGraph |
mxLayoutManager.getGraph() |
|
mxGraph |
mxSwimlaneManager.getGraph() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
mxMultiplicity.check(mxGraph graph,
java.lang.Object edge,
java.lang.Object source,
java.lang.Object target,
int sourceOut,
int targetIn) |
Function: check
Checks the multiplicity for the given arguments and returns the error
for the given connection or null if the multiplicity does not apply.
|
boolean |
mxMultiplicity.checkNeighbors(mxGraph graph,
java.lang.Object edge,
java.lang.Object source,
java.lang.Object target) |
Checks the type of the given value.
|
boolean |
mxMultiplicity.checkTerminal(mxGraph graph,
java.lang.Object terminal,
java.lang.Object edge) |
Checks the type of the given value.
|
boolean |
mxMultiplicity.checkType(mxGraph graph,
java.lang.Object value,
java.lang.String type) |
Checks the type of the given value.
|
boolean |
mxMultiplicity.checkType(mxGraph graph,
java.lang.Object value,
java.lang.String type,
java.lang.String attr,
java.lang.String attrValue) |
Checks the type of the given value.
|
void |
mxLayoutManager.setGraph(mxGraph value) |
|
void |
mxSwimlaneManager.setGraph(mxGraph graph) |
Constructor | Description |
---|---|
mxGraphSelectionModel(mxGraph graph) |
Constructs a new selection model for the specified graph.
|
mxGraphView(mxGraph graph) |
Constructs a new view for the given graph.
|
mxLayoutManager(mxGraph graph) |
|
mxSwimlaneManager(mxGraph graph) |
Copyright (c) 2010-2017 Gaudenz Alder, JGraph Ltd. All rights reserved.