moved mxCellState to view/cell
parent
1f4fed2313
commit
7ae4fda979
|
@ -7,7 +7,7 @@
|
||||||
import mxConstants from '../util/mxConstants';
|
import mxConstants from '../util/mxConstants';
|
||||||
import mxEvent from '../util/event/mxEvent';
|
import mxEvent from '../util/event/mxEvent';
|
||||||
import mxRectangle from '../util/datatypes/mxRectangle';
|
import mxRectangle from '../util/datatypes/mxRectangle';
|
||||||
import mxCellState from '../util/datatypes/mxCellState';
|
import mxCellState from '../view/cell/mxCellState';
|
||||||
import mxGraph from '../view/graph/mxGraph';
|
import mxGraph from '../view/graph/mxGraph';
|
||||||
import mxShape from '../shape/mxShape';
|
import mxShape from '../shape/mxShape';
|
||||||
|
|
||||||
|
|
|
@ -128,9 +128,11 @@ class mxGraphHandler {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (typeof document !== 'undefined') {
|
||||||
mxEvent.addListener(document, 'keydown', this.keyHandler);
|
mxEvent.addListener(document, 'keydown', this.keyHandler);
|
||||||
mxEvent.addListener(document, 'keyup', this.keyHandler);
|
mxEvent.addListener(document, 'keyup', this.keyHandler);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Variable: graph
|
* Variable: graph
|
||||||
|
|
|
@ -11,7 +11,7 @@ import mxPoint from '../util/datatypes/mxPoint';
|
||||||
import mxSvgCanvas2D from '../util/canvas/mxSvgCanvas2D';
|
import mxSvgCanvas2D from '../util/canvas/mxSvgCanvas2D';
|
||||||
import mxEvent from '../util/event/mxEvent';
|
import mxEvent from '../util/event/mxEvent';
|
||||||
import mxClient from '../mxClient';
|
import mxClient from '../mxClient';
|
||||||
import mxCellState from '../util/datatypes/mxCellState';
|
import mxCellState from '../view/cell/mxCellState';
|
||||||
import mxAbstractCanvas2D from '../util/canvas/mxAbstractCanvas2D';
|
import mxAbstractCanvas2D from '../util/canvas/mxAbstractCanvas2D';
|
||||||
import mxStencil from './node/mxStencil';
|
import mxStencil from './node/mxStencil';
|
||||||
import mxCellOverlay from "../view/cell/mxCellOverlay";
|
import mxCellOverlay from "../view/cell/mxCellOverlay";
|
||||||
|
|
|
@ -12,7 +12,7 @@ import mxPoint from '../util/datatypes/mxPoint';
|
||||||
import mxSvgCanvas2D from '../util/canvas/mxSvgCanvas2D';
|
import mxSvgCanvas2D from '../util/canvas/mxSvgCanvas2D';
|
||||||
import mxShape from './mxShape';
|
import mxShape from './mxShape';
|
||||||
import mxRectangle from '../util/datatypes/mxRectangle';
|
import mxRectangle from '../util/datatypes/mxRectangle';
|
||||||
import mxCellState from '../util/datatypes/mxCellState';
|
import mxCellState from '../view/cell/mxCellState';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Extends mxShape to implement a text shape.
|
* Extends mxShape to implement a text shape.
|
||||||
|
|
|
@ -9,7 +9,7 @@ import mxUtils from '../../util/mxUtils';
|
||||||
import mxConstants from '../../util/mxConstants';
|
import mxConstants from '../../util/mxConstants';
|
||||||
import mxRectangleShape from './mxRectangleShape';
|
import mxRectangleShape from './mxRectangleShape';
|
||||||
import mxRectangle from '../../util/datatypes/mxRectangle';
|
import mxRectangle from '../../util/datatypes/mxRectangle';
|
||||||
import mxCellState from '../../util/datatypes/mxCellState';
|
import mxCellState from '../../view/cell/mxCellState';
|
||||||
import mxSvgCanvas2D from '../../util/canvas/mxSvgCanvas2D';
|
import mxSvgCanvas2D from '../../util/canvas/mxSvgCanvas2D';
|
||||||
import mxCellOverlay from '../../view/cell/mxCellOverlay';
|
import mxCellOverlay from '../../view/cell/mxCellOverlay';
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
import mxUtils from '../../mxUtils';
|
import mxUtils from '../../mxUtils';
|
||||||
import mxPoint from '../mxPoint';
|
import mxPoint from '../mxPoint';
|
||||||
import mxCellState from '../mxCellState';
|
import mxCellState from '../../../view/cell/mxCellState';
|
||||||
import mxConstants from '../../mxConstants';
|
import mxConstants from '../../mxConstants';
|
||||||
import mxRectangle from '../mxRectangle';
|
import mxRectangle from '../mxRectangle';
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ import mxUtils from '../../mxUtils';
|
||||||
import mxPoint from '../mxPoint';
|
import mxPoint from '../mxPoint';
|
||||||
import mxConstants from '../../mxConstants';
|
import mxConstants from '../../mxConstants';
|
||||||
import mxRectangle from '../mxRectangle';
|
import mxRectangle from '../mxRectangle';
|
||||||
import mxCellState from '../mxCellState';
|
import mxCellState from '../../../view/cell/mxCellState';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @class mxPerimeter
|
* @class mxPerimeter
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
import mxConstants from './mxConstants';
|
import mxConstants from './mxConstants';
|
||||||
import mxPoint from './datatypes/mxPoint';
|
import mxPoint from './datatypes/mxPoint';
|
||||||
import mxPolyline from '../shape/edge/mxPolyline';
|
import mxPolyline from '../shape/edge/mxPolyline';
|
||||||
import mxCellState from './datatypes/mxCellState';
|
import mxCellState from '../view/cell/mxCellState';
|
||||||
import mxShape from '../shape/mxShape';
|
import mxShape from '../shape/mxShape';
|
||||||
import mxRectangle from './datatypes/mxRectangle';
|
import mxRectangle from './datatypes/mxRectangle';
|
||||||
import mxGraph from '../view/graph/mxGraph';
|
import mxGraph from '../view/graph/mxGraph';
|
||||||
|
|
|
@ -14,7 +14,7 @@ import mxText from '../../shape/mxText';
|
||||||
import mxGraph from '../graph/mxGraph';
|
import mxGraph from '../graph/mxGraph';
|
||||||
import mxCell from './mxCell';
|
import mxCell from './mxCell';
|
||||||
import mxMouseEvent from '../../util/event/mxMouseEvent';
|
import mxMouseEvent from '../../util/event/mxMouseEvent';
|
||||||
import mxCellState from '../../util/datatypes/mxCellState';
|
import mxCellState from './mxCellState';
|
||||||
import mxShape from "../../shape/mxShape";
|
import mxShape from "../../shape/mxShape";
|
||||||
import mxEventObject from "../../util/event/mxEventObject";
|
import mxEventObject from "../../util/event/mxEventObject";
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ import mxPoint from '../../util/datatypes/mxPoint';
|
||||||
import mxRectangle from '../../util/datatypes/mxRectangle';
|
import mxRectangle from '../../util/datatypes/mxRectangle';
|
||||||
import mxEventSource from '../../util/event/mxEventSource';
|
import mxEventSource from '../../util/event/mxEventSource';
|
||||||
import mxImage from '../../util/image/mxImage';
|
import mxImage from '../../util/image/mxImage';
|
||||||
import mxCellState from "../../util/datatypes/mxCellState";
|
import mxCellState from "./mxCellState";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class: mxCellOverlay
|
* Class: mxCellOverlay
|
||||||
|
|
|
@ -31,7 +31,7 @@ import mxDictionary from '../../util/datatypes/mxDictionary';
|
||||||
import mxEventObject from '../../util/event/mxEventObject';
|
import mxEventObject from '../../util/event/mxEventObject';
|
||||||
import mxPoint from '../../util/datatypes/mxPoint';
|
import mxPoint from '../../util/datatypes/mxPoint';
|
||||||
import mxShape from '../../shape/mxShape';
|
import mxShape from '../../shape/mxShape';
|
||||||
import mxCellState from '../../util/datatypes/mxCellState';
|
import mxCellState from './mxCellState';
|
||||||
import mxCell from './mxCell';
|
import mxCell from './mxCell';
|
||||||
import mxGraphModel from "../graph/mxGraphModel";
|
import mxGraphModel from "../graph/mxGraphModel";
|
||||||
import mxCellOverlay from "./mxCellOverlay";
|
import mxCellOverlay from "./mxCellOverlay";
|
||||||
|
|
|
@ -5,15 +5,15 @@
|
||||||
* Type definitions from the typed-mxgraph project
|
* Type definitions from the typed-mxgraph project
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import mxPoint from './mxPoint';
|
import mxPoint from '../../util/datatypes/mxPoint';
|
||||||
import mxRectangle from './mxRectangle';
|
import mxRectangle from '../../util/datatypes/mxRectangle';
|
||||||
import mxConstants from '../mxConstants';
|
import mxConstants from '../../util/mxConstants';
|
||||||
import mxCell from '../../view/cell/mxCell';
|
import mxCell from './mxCell';
|
||||||
import mxGraphView from '../../view/graph/mxGraphView';
|
import mxGraphView from '../graph/mxGraphView';
|
||||||
import mxShape from '../../shape/mxShape';
|
import mxShape from '../../shape/mxShape';
|
||||||
import mxText from '../../shape/mxText';
|
import mxText from '../../shape/mxText';
|
||||||
import mxGraph from "../../view/graph/mxGraph";
|
import mxGraph from "../graph/mxGraph";
|
||||||
import mxDictionary from "./mxDictionary";
|
import mxDictionary from "../../util/datatypes/mxDictionary";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class: mxCellState
|
* Class: mxCellState
|
|
@ -8,7 +8,7 @@
|
||||||
import mxUtils from '../../util/mxUtils';
|
import mxUtils from '../../util/mxUtils';
|
||||||
import mxPoint from '../../util/datatypes/mxPoint';
|
import mxPoint from '../../util/datatypes/mxPoint';
|
||||||
import mxDictionary from '../../util/datatypes/mxDictionary';
|
import mxDictionary from '../../util/datatypes/mxDictionary';
|
||||||
import mxCellState from '../../util/datatypes/mxCellState';
|
import mxCellState from './mxCellState';
|
||||||
import mxCell from './mxCell';
|
import mxCell from './mxCell';
|
||||||
import mxGraph from '../graph/mxGraph';
|
import mxGraph from '../graph/mxGraph';
|
||||||
import mxGraphView from "../graph/mxGraphView";
|
import mxGraphView from "../graph/mxGraphView";
|
||||||
|
|
|
@ -12,7 +12,7 @@ import mxRectangle from '../../util/datatypes/mxRectangle';
|
||||||
import mxDictionary from '../../util/datatypes/mxDictionary';
|
import mxDictionary from '../../util/datatypes/mxDictionary';
|
||||||
import mxGraphView from '../graph/mxGraphView';
|
import mxGraphView from '../graph/mxGraphView';
|
||||||
import mxCell from './mxCell';
|
import mxCell from './mxCell';
|
||||||
import mxCellState from '../../util/datatypes/mxCellState';
|
import mxCellState from './mxCellState';
|
||||||
import mxShape from "../../shape/mxShape";
|
import mxShape from "../../shape/mxShape";
|
||||||
import mxGraph from "../graph/mxGraph";
|
import mxGraph from "../graph/mxGraph";
|
||||||
|
|
||||||
|
|
|
@ -48,7 +48,7 @@ import mxStyleChange from '../../atomic_changes/mxStyleChange';
|
||||||
import mxTerminalChange from '../../atomic_changes/mxTerminalChange';
|
import mxTerminalChange from '../../atomic_changes/mxTerminalChange';
|
||||||
import mxValueChange from '../../atomic_changes/mxValueChange';
|
import mxValueChange from '../../atomic_changes/mxValueChange';
|
||||||
import mxPolyline from '../../shape/edge/mxPolyline';
|
import mxPolyline from '../../shape/edge/mxPolyline';
|
||||||
import mxCellState from '../../util/datatypes/mxCellState';
|
import mxCellState from '../cell/mxCellState';
|
||||||
import mxImageBundle from "../../util/image/mxImageBundle";
|
import mxImageBundle from "../../util/image/mxImageBundle";
|
||||||
import mxCodecRegistry from "../../serialization/mxCodecRegistry";
|
import mxCodecRegistry from "../../serialization/mxCodecRegistry";
|
||||||
import mxShape from "../../shape/mxShape";
|
import mxShape from "../../shape/mxShape";
|
||||||
|
|
|
@ -17,7 +17,7 @@ import mxEvent from '../../util/event/mxEvent';
|
||||||
import mxUtils from '../../util/mxUtils';
|
import mxUtils from '../../util/mxUtils';
|
||||||
import mxLog from '../../util/gui/mxLog';
|
import mxLog from '../../util/gui/mxLog';
|
||||||
import mxResources from '../../util/mxResources';
|
import mxResources from '../../util/mxResources';
|
||||||
import mxCellState from '../../util/datatypes/mxCellState';
|
import mxCellState from '../cell/mxCellState';
|
||||||
import mxUndoableEdit from '../../util/undo/mxUndoableEdit';
|
import mxUndoableEdit from '../../util/undo/mxUndoableEdit';
|
||||||
import mxImageShape from '../../shape/node/mxImageShape';
|
import mxImageShape from '../../shape/node/mxImageShape';
|
||||||
import mxMouseEvent from '../../util/event/mxMouseEvent';
|
import mxMouseEvent from '../../util/event/mxMouseEvent';
|
||||||
|
|
|
@ -11,7 +11,7 @@ import mxShape from '../../mxgraph/shape/mxShape';
|
||||||
import mxConnectionConstraint from '../../mxgraph/view/connection/mxConnectionConstraint';
|
import mxConnectionConstraint from '../../mxgraph/view/connection/mxConnectionConstraint';
|
||||||
import mxPoint from '../../mxgraph/util/datatypes/mxPoint';
|
import mxPoint from '../../mxgraph/util/datatypes/mxPoint';
|
||||||
import mxPolyline from '../../mxgraph/shape/edge/mxPolyline';
|
import mxPolyline from '../../mxgraph/shape/edge/mxPolyline';
|
||||||
import mxCellState from '../../mxgraph/util/datatypes/mxCellState';
|
import mxCellState from '../../mxgraph/view/cell/mxCellState';
|
||||||
import mxGeometry from '../../mxgraph/util/datatypes/mxGeometry';
|
import mxGeometry from '../../mxgraph/util/datatypes/mxGeometry';
|
||||||
import mxConnectionHandler from '../../mxgraph/handler/mxConnectionHandler';
|
import mxConnectionHandler from '../../mxgraph/handler/mxConnectionHandler';
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ import mxConnectionHandler from '../../mxgraph/handler/mxConnectionHandler';
|
||||||
import mxEdgeHandler from '../../mxgraph/handler/mxEdgeHandler';
|
import mxEdgeHandler from '../../mxgraph/handler/mxEdgeHandler';
|
||||||
import mxConnectionConstraint from '../../mxgraph/view/connection/mxConnectionConstraint';
|
import mxConnectionConstraint from '../../mxgraph/view/connection/mxConnectionConstraint';
|
||||||
import mxPoint from '../../mxgraph/util/datatypes/mxPoint';
|
import mxPoint from '../../mxgraph/util/datatypes/mxPoint';
|
||||||
import mxCellState from '../../mxgraph/util/datatypes/mxCellState';
|
import mxCellState from '../../mxgraph/view/cell/mxCellState';
|
||||||
|
|
||||||
class FixedPoints extends React.Component {
|
class FixedPoints extends React.Component {
|
||||||
constructor(props) {
|
constructor(props) {
|
||||||
|
|
|
@ -13,7 +13,7 @@ import mxEdgeHandler from '../../mxgraph/handler/mxEdgeHandler';
|
||||||
import mxConnectionHandler from '../../mxgraph/handler/mxConnectionHandler';
|
import mxConnectionHandler from '../../mxgraph/handler/mxConnectionHandler';
|
||||||
import mxGraphView from '../../mxgraph/view/graph/mxGraphView';
|
import mxGraphView from '../../mxgraph/view/graph/mxGraphView';
|
||||||
import mxPoint from '../../mxgraph/util/datatypes/mxPoint';
|
import mxPoint from '../../mxgraph/util/datatypes/mxPoint';
|
||||||
import mxCellState from '../../mxgraph/util/datatypes/mxCellState';
|
import mxCellState from '../../mxgraph/view/cell/mxCellState';
|
||||||
|
|
||||||
class Orthogonal extends React.Component {
|
class Orthogonal extends React.Component {
|
||||||
constructor(props) {
|
constructor(props) {
|
||||||
|
|
Loading…
Reference in New Issue