FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

refactor: move shapes to a dedicated directory by tbouffard · Pull Request #817 · maxGraph/maxGraph · GitHub

forked from jgraph/mxgraph
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .ts  (50) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
54 changes: 27 additions & 27 deletions packages/core/src/index.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -95,34 +95,36 @@ export * from './serialization/codecs/_other-codecs';
export * from './serialization/register-model-codecs';
export * from './serialization/register-other-codecs';

export { default as ActorShape } from './view/geometry/node/ActorShape';
export { default as LabelShape } from './view/geometry/node/LabelShape';
export { default as Shape } from './view/geometry/Shape';
export { default as SwimlaneShape } from './view/geometry/node/SwimlaneShape';
export { default as TextShape } from './view/geometry/node/TextShape';
export { default as TriangleShape } from './view/geometry/node/TriangleShape';

export { default as ArrowShape } from './view/geometry/edge/ArrowShape';
export { default as ArrowConnectorShape } from './view/geometry/edge/ArrowConnectorShape';
export { default as ConnectorShape } from './view/geometry/edge/ConnectorShape';
export { default as LineShape } from './view/geometry/edge/LineShape';
export { default as PolylineShape } from './view/geometry/edge/PolylineShape';

export { default as CloudShape } from './view/geometry/node/CloudShape';
export { default as CylinderShape } from './view/geometry/node/CylinderShape';
export { default as DoubleEllipseShape } from './view/geometry/node/DoubleEllipseShape';
export { default as EllipseShape } from './view/geometry/node/EllipseShape';
export { default as HexagonShape } from './view/geometry/node/HexagonShape';
export { default as ImageShape } from './view/geometry/node/ImageShape';
export { default as RectangleShape } from './view/geometry/node/RectangleShape';
export { default as RhombusShape } from './view/geometry/node/RhombusShape';

export { unregisterAllStencilShapes } from './view/geometry/stencil/register';
export { default as ActorShape } from './view/shape/node/ActorShape';
export { default as LabelShape } from './view/shape/node/LabelShape';
export { default as Shape } from './view/shape/Shape';
export { default as SwimlaneShape } from './view/shape/node/SwimlaneShape';
export { default as TextShape } from './view/shape/node/TextShape';
export { default as TriangleShape } from './view/shape/node/TriangleShape';

export { default as ArrowShape } from './view/shape/edge/ArrowShape';
export { default as ArrowConnectorShape } from './view/shape/edge/ArrowConnectorShape';
export { default as ConnectorShape } from './view/shape/edge/ConnectorShape';
export { default as LineShape } from './view/shape/edge/LineShape';
export { default as PolylineShape } from './view/shape/edge/PolylineShape';

export { default as CloudShape } from './view/shape/node/CloudShape';
export { default as CylinderShape } from './view/shape/node/CylinderShape';
export { default as DoubleEllipseShape } from './view/shape/node/DoubleEllipseShape';
export { default as EllipseShape } from './view/shape/node/EllipseShape';
export { default as HexagonShape } from './view/shape/node/HexagonShape';
export { default as ImageShape } from './view/shape/node/ImageShape';
export { default as RectangleShape } from './view/shape/node/RectangleShape';
export { default as RhombusShape } from './view/shape/node/RhombusShape';
export * from './view/shape/ShapeRegistry';
export * from './view/shape/register-shapes';

export { unregisterAllStencilShapes } from './view/shape/stencil/register';
export {
default as StencilShape,
StencilShapeConfig,
} from './view/geometry/stencil/StencilShape';
export * from './view/geometry/stencil/StencilShapeRegistry';
} from './view/shape/stencil/StencilShape';
export * from './view/shape/stencil/StencilShapeRegistry';

export { default as Guide } from './view/other/Guide';

Expand Down Expand Up @@ -197,7 +199,6 @@ export { default as Geometry } from './view/geometry/Geometry';
export { default as ObjectIdentity } from './util/ObjectIdentity';
export { default as Point } from './view/geometry/Point';
export { default as Rectangle } from './view/geometry/Rectangle';
export * from './view/geometry/ShapeRegistry';

export * from './view/style/builtin-style-elements';
export * from './view/style/config';
Expand Down Expand Up @@ -244,7 +245,6 @@ export { default as Clipboard } from './util/Clipboard';
export { default as UndoableEdit } from './view/undoable_changes/UndoableEdit';
export { default as UndoManager } from './view/undoable_changes/UndoManager';

export * from './view/cell/register-shapes';
export { Cell } from './view/cell/Cell';
export { default as CellOverlay } from './view/cell/CellOverlay';
export { default as CellPath } from './view/cell/CellPath';
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/types.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import type InternalMouseEvent from './view/event/InternalMouseEvent';
import type Geometry from './view/geometry/Geometry';
import type Point from './view/geometry/Point';
import type Rectangle from './view/geometry/Rectangle';
import type Shape from './view/geometry/Shape';
import type Shape from './view/shape/Shape';
import type ImageBox from './view/image/ImageBox';
import type CellRenderer from './view/cell/CellRenderer';
import type GraphDataModel from './view/GraphDataModel';
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/view/Graph.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import CellRenderer from './cell/CellRenderer';
import GraphDataModel from './GraphDataModel';
import { Stylesheet } from './style/Stylesheet';
import GraphSelectionModel from './GraphSelectionModel';
import { registerDefaultShapes } from './cell/register-shapes';
import { registerDefaultShapes } from './shape/register-shapes';
import {
registerDefaultEdgeMarkers,
registerDefaultEdgeStyles,
Expand Down
6 changes: 3 additions & 3 deletions packages/core/src/view/GraphView.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import Rectangle from './geometry/Rectangle';
import Dictionary from '../util/Dictionary';
import EventSource from './event/EventSource';
import EventObject from './event/EventObject';
import RectangleShape from './geometry/node/RectangleShape';
import RectangleShape from './shape/node/RectangleShape';
import { NS_SVG } from '../util/Constants';
import Client from '../Client';
import InternalEvent from './event/InternalEvent';
Expand All @@ -30,12 +30,12 @@ import { getRotatedPoint, ptSegDistSq, relativeCcw, toRadians } from '../util/ma
import { GlobalConfig } from '../util/config';
import CellState from './cell/CellState';
import UndoableEdit from './undoable_changes/UndoableEdit';
import ImageShape from './geometry/node/ImageShape';
import ImageShape from './shape/node/ImageShape';
import InternalMouseEvent from './event/InternalMouseEvent';
import Cell from './cell/Cell';
import Image from './image/ImageBox';
import CurrentRootChange from './undoable_changes/CurrentRootChange';
import Shape from './geometry/Shape';
import Shape from './shape/Shape';
import Geometry from './geometry/Geometry';
import ConnectionConstraint from './other/ConnectionConstraint';
import type PopupMenuHandler from './plugins/PopupMenuHandler';
Expand Down
7 changes: 3 additions & 4 deletions packages/core/src/view/animate/Effects.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import type { AbstractGraph } from '../AbstractGraph';
import type Cell from '../../view/cell/Cell';
import { UndoableChange } from '../../types';
import Geometry from '../geometry/Geometry';
import Shape from '../geometry/Shape';

/**
* Provides animation effects.
Expand Down Expand Up @@ -83,7 +82,7 @@ class Effects {
isRequired = true;

if (change.constructor !== GeometryChange || change.cell.isEdge()) {
setOpacity((<Shape>state.shape).node, (100 * step) / maxStep);
setOpacity(state.shape!.node, (100 * step) / maxStep);
} else {
const { scale } = graph.getView();
const geometry = <Geometry>change.geometry;
Expand Down Expand Up @@ -144,7 +143,7 @@ class Effects {
const childState = graph.getView().getState(child);

if (childState != null) {
setOpacity((<Shape>childState.shape).node, opacity);
setOpacity(childState.shape!.node, opacity);
Effects.cascadeOpacity(graph, child, opacity);
}
}
Expand All @@ -157,7 +156,7 @@ class Effects {
const edgeState = graph.getView().getState(edges[i]);

if (edgeState != null) {
setOpacity((<Shape>edgeState.shape).node, opacity);
setOpacity(edgeState.shape!.node, opacity);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/view/cell/CellHighlight.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import InternalEvent from '../event/InternalEvent';
import Rectangle from '../geometry/Rectangle';
import type CellState from './CellState';
import type { AbstractGraph } from '../AbstractGraph';
import Shape from '../geometry/Shape';
import type Shape from '../shape/Shape';

import type { ColorValue } from '../../types';

Expand Down
14 changes: 7 additions & 7 deletions packages/core/src/view/cell/CellRenderer.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

import RectangleShape from '../geometry/node/RectangleShape';
import ConnectorShape from '../geometry/edge/ConnectorShape';
import ImageShape from '../geometry/node/ImageShape';
import TextShape from '../geometry/node/TextShape';
import RectangleShape from '../shape/node/RectangleShape';
import ConnectorShape from '../shape/edge/ConnectorShape';
import ImageShape from '../shape/node/ImageShape';
import TextShape from '../shape/node/TextShape';
import {
DEFAULT_FONTFAMILY,
DEFAULT_FONTSIZE,
Expand All @@ -31,15 +31,15 @@ import { getRotatedPoint, mod, toRadians } from '../../util/mathUtils';
import { convertPoint } from '../../util/styleUtils';
import { equalEntries, equalPoints } from '../../util/arrayUtils';
import Rectangle from '../geometry/Rectangle';
import { ShapeRegistry } from '../geometry/ShapeRegistry';
import { StencilShapeRegistry } from '../geometry/stencil/StencilShapeRegistry';
import { ShapeRegistry } from '../shape/ShapeRegistry';
import { StencilShapeRegistry } from '../shape/stencil/StencilShapeRegistry';
import InternalEvent from '../event/InternalEvent';
import Client from '../../Client';
import InternalMouseEvent from '../event/InternalMouseEvent';
import Dictionary from '../../util/Dictionary';
import EventObject from '../event/EventObject';
import Point from '../geometry/Point';
import Shape from '../geometry/Shape';
import Shape from '../shape/Shape';
import CellState from './CellState';
import Cell from './Cell';
import CellOverlay from './CellOverlay';
Expand Down
6 changes: 3 additions & 3 deletions packages/core/src/view/cell/CellState.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ import Point from '../geometry/Point';
import Rectangle from '../geometry/Rectangle';
import type Cell from './Cell';
import type GraphView from '../../view/GraphView';
import Shape from '../geometry/Shape';
import TextShape from '../geometry/node/TextShape';
import type Shape from '../shape/Shape';
import TextShape from '../shape/node/TextShape';
import Dictionary from '../../util/Dictionary';
import { NONE } from '../../util/Constants';
import { CellStateStyle } from '../../types';
import RectangleShape from '../geometry/node/RectangleShape';
import RectangleShape from '../shape/node/RectangleShape';
import CellOverlay from './CellOverlay';

/**
Expand Down
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import Dictionary from '../../util/Dictionary';
import type GraphView from '../GraphView';
import type Cell from './Cell';
import type CellState from './CellState';
import type Shape from '../geometry/Shape';
import type Shape from '../shape/Shape';

/**
* Creates a temporary set of cell states.
Expand Down
6 changes: 3 additions & 3 deletions packages/core/src/view/cell/VertexHandle.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ limitations under the License.

import { getRotatedPoint, toRadians } from '../../util/mathUtils';
import Point from '../geometry/Point';
import ImageShape from '../geometry/node/ImageShape';
import ImageShape from '../shape/node/ImageShape';
import Rectangle from '../geometry/Rectangle';
import RectangleShape from '../geometry/node/RectangleShape';
import RectangleShape from '../shape/node/RectangleShape';
import InternalEvent from '../event/InternalEvent';
import Shape from '../geometry/Shape';
import type Shape from '../shape/Shape';
import InternalMouseEvent from '../event/InternalMouseEvent';
import ImageBox from '../image/ImageBox';
import CellState from './CellState';
Expand Down
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import {
} from '../../util/EventUtils';
import { isAncestorNode } from '../../util/domUtils';
import CellState from '../cell/CellState';
import Shape from '../geometry/Shape';
import Shape from '../shape/Shape';

/**
* Base class for all mouse events in mxGraph. A listener for this event should
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/view/handler/ConstraintHandler.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ import {
import InternalEvent from '../event/InternalEvent';
import { intersects } from '../../util/mathUtils';
import Rectangle from '../geometry/Rectangle';
import ImageShape from '../geometry/node/ImageShape';
import RectangleShape from '../geometry/node/RectangleShape';
import ImageShape from '../shape/node/ImageShape';
import RectangleShape from '../shape/node/RectangleShape';
import { isShiftDown } from '../../util/EventUtils';
import type { AbstractGraph } from '../AbstractGraph';
import CellState from '../cell/CellState';
Expand Down
8 changes: 4 additions & 4 deletions packages/core/src/view/handler/EdgeHandler.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ import {
ptSegDistSq,
} from '../../util/mathUtils';
import { convertPoint, getOffset, setOpacity } from '../../util/styleUtils';
import EllipseShape from '../geometry/node/EllipseShape';
import ImageShape from '../geometry/node/ImageShape';
import RectangleShape from '../geometry/node/RectangleShape';
import EllipseShape from '../shape/node/EllipseShape';
import ImageShape from '../shape/node/ImageShape';
import RectangleShape from '../shape/node/RectangleShape';
import ConnectionConstraint from '../other/ConnectionConstraint';
import InternalEvent from '../event/InternalEvent';
import ConstraintHandler from './ConstraintHandler';
Expand All @@ -53,7 +53,7 @@ import {
} from '../../util/EventUtils';
import type { AbstractGraph } from '../AbstractGraph';
import CellState from '../cell/CellState';
import Shape from '../geometry/Shape';
import Shape from '../shape/Shape';
import type { CellHandle, ColorValue, Listenable, MouseListenerSet } from '../../types';
import InternalMouseEvent from '../event/InternalMouseEvent';
import Cell from '../cell/Cell';
Expand Down
8 changes: 4 additions & 4 deletions packages/core/src/view/handler/VertexHandler.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ limitations under the License.
import Rectangle from '../geometry/Rectangle';
import { NONE } from '../../util/Constants';
import InternalEvent from '../event/InternalEvent';
import RectangleShape from '../geometry/node/RectangleShape';
import ImageShape from '../geometry/node/ImageShape';
import EllipseShape from '../geometry/node/EllipseShape';
import RectangleShape from '../shape/node/RectangleShape';
import ImageShape from '../shape/node/ImageShape';
import EllipseShape from '../shape/node/EllipseShape';
import Point from '../geometry/Point';
import { getRotatedPoint, intersects, mod, toRadians } from '../../util/mathUtils';
import Client from '../../Client';
Expand All @@ -31,7 +31,7 @@ import CellState from '../cell/CellState';
import Image from '../image/ImageBox';
import type Cell from '../cell/Cell';
import type { CellHandle, Listenable, MouseListenerSet } from '../../types';
import Shape from '../geometry/Shape';
import Shape from '../shape/Shape';
import InternalMouseEvent from '../event/InternalMouseEvent';
import EdgeHandler from './EdgeHandler';
import EventSource from '../event/EventSource';
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/view/image/ImageExport.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ limitations under the License.

import AbstractCanvas2D from '../canvas/AbstractCanvas2D';
import CellState from '../cell/CellState';
import Shape from '../geometry/Shape';
import Shape from '../shape/Shape';

/**
* Creates a new image export instance to be used with an export canvas.
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/view/layout/EdgeLabelLayout.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { intersects } from '../../util/mathUtils';
import type Cell from '../cell/Cell';
import type { AbstractGraph } from '../AbstractGraph';
import CellState from '../cell/CellState';
import TextShape from '../geometry/node/TextShape';
import TextShape from '../shape/node/TextShape';
import Rectangle from '../geometry/Rectangle';

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/view/mixins/PageBreaksMixin.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ limitations under the License.

import Rectangle from '../geometry/Rectangle';
import Point from '../geometry/Point';
import PolylineShape from '../geometry/edge/PolylineShape';
import PolylineShape from '../shape/edge/PolylineShape';
import type { AbstractGraph } from '../AbstractGraph';

type PartialGraph = Pick<
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/view/mixins/TooltipMixin.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ limitations under the License.
*/

import { htmlEntities } from '../../util/StringUtils';
import type Shape from '../geometry/Shape';
import type Shape from '../shape/Shape';
import type Cell from '../cell/Cell';
import type { AbstractGraph } from '../AbstractGraph';
import type SelectionCellsHandler from '../plugins/SelectionCellsHandler';
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/view/other/Guide.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ limitations under the License.

import { GUIDE_COLOR, GUIDE_STROKEWIDTH } from '../../util/Constants';
import Point from '../geometry/Point';
import PolylineShape from '../geometry/edge/PolylineShape';
import PolylineShape from '../shape/edge/PolylineShape';
import type CellState from '../cell/CellState';
import Shape from '../geometry/Shape';
import Shape from '../shape/Shape';
import Rectangle from '../geometry/Rectangle';
import type { AbstractGraph } from '../AbstractGraph';

Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/view/other/Outline.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ import {
} from '../../util/Constants';
import Point from '../geometry/Point';
import Rectangle from '../geometry/Rectangle';
import RectangleShape from '../geometry/node/RectangleShape';
import RectangleShape from '../shape/node/RectangleShape';
import type { AbstractGraph } from '../AbstractGraph';
import { BaseGraph } from '../BaseGraph';
import ImageShape from '../geometry/node/ImageShape';
import ImageShape from '../shape/node/ImageShape';
import InternalEvent from '../event/InternalEvent';
import Image from '../image/ImageBox';
import EventObject from '../event/EventObject';
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/view/plugins/CellEditorHandler.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ import {
NONE,
WORD_WRAP,
} from '../../util/Constants';
import TextShape from '../geometry/node/TextShape';
import TextShape from '../shape/node/TextShape';
import Cell from '../cell/Cell';
import InternalMouseEvent from '../event/InternalMouseEvent';
import CellState from '../cell/CellState';
import Shape from '../geometry/Shape';
import Shape from '../shape/Shape';
import { clearSelection, extractTextWithWhitespace, isNode } from '../../util/domUtils';
import { htmlEntities, replaceTrailingNewlines } from '../../util/StringUtils';
import {
Expand Down
6 changes: 3 additions & 3 deletions packages/core/src/view/plugins/ConnectionHandler.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ import {
import { getRotatedPoint, toRadians } from '../../util/mathUtils';
import { convertPoint, getOffset } from '../../util/styleUtils';
import InternalMouseEvent from '../event/InternalMouseEvent';
import ImageShape from '../geometry/node/ImageShape';
import ImageShape from '../shape/node/ImageShape';
import CellMarker from '../cell/CellMarker';
import ConstraintHandler from '../handler/ConstraintHandler';
import PolylineShape from '../geometry/edge/PolylineShape';
import PolylineShape from '../shape/edge/PolylineShape';
import EventSource from '../event/EventSource';
import Rectangle from '../geometry/Rectangle';
import { GlobalConfig } from '../../util/config';
Expand All @@ -54,7 +54,7 @@ import Image from '../image/ImageBox';
import CellState from '../cell/CellState';
import type { AbstractGraph } from '../AbstractGraph';
import ConnectionConstraint from '../other/ConnectionConstraint';
import Shape from '../geometry/Shape';
import Shape from '../shape/Shape';
import type {
CellStyle,
ColorValue,
Expand Down
Loading

Back | FazBrowse Home | New Git URL