packages/core/src/view/shape/Shape.ts (2)
19-19: Updated import path for Rectangle
The Rectangle class is now correctly imported from ../geometry/Rectangle, reflecting the relocation of core geometry types to the geometry directory.
28-28: Updated import path for Point
The Point class import has been updated to ../geometry/Point, aligning with the new directory structure for geometry modules.
packages/core/src/view/shape/node/TextShape.ts (2)
33-33: Adjusted import for Point
The Point dependency now correctly references ../../geometry/Point, matching the refactored module layout.
36-36: Adjusted import for Rectangle
The Rectangle import has been updated to ../../geometry/Rectangle to reflect the dedicated geometry directory.
packages/core/src/view/shape/edge/ConnectorShape.ts (2)
22-22: Updated import for Point
The Point class is now imported from ../../geometry/Point, consistent with the geometry directory consolidation.
24-24: Updated import for Rectangle
The Rectangle import path changed to ../../geometry/Rectangle, aligning with the new project structure.
packages/core/src/view/shape/node/HexagonShape.ts (1)
20-20: Updated import for Point
The Point class import now points to ../../geometry/Point, in line with the dedicated geometry folder.
packages/core/src/view/shape/node/CylinderShape.ts (1)
21-21: Updated import for Rectangle
The Rectangle dependency is now correctly imported from ../../geometry/Rectangle to match the refactored directory layout.
packages/core/src/view/shape/node/ActorShape.ts (1)
19-19: Correct import path for Rectangle.
The update to import type Rectangle from '../../geometry/Rectangle' correctly points to the centralized geometry module, matching the new directory structure without impacting functionality.
packages/core/src/view/shape/node/RhombusShape.ts (2)
20-20: Correct import path for Point.
The change to import Point from '../../geometry/Point' aligns with the refactor, resolving to the shared geometry directory.
22-22: Correct import path for Rectangle.
The update to import Rectangle from '../../geometry/Rectangle' is accurate and consistent with the new structure.
packages/core/src/view/image/ImageExport.ts (1)
21-21: Correct import path for Shape.
Switching to import Shape from '../shape/Shape' accurately references the moved Shape class in the shape directory.
packages/core/src/view/cell/TemporaryCellStates.ts (1)
24-24: Correct import path for Shape.
The import type Shape from '../shape/Shape' change aligns with the internal restructure and preserves the intended type usage.
packages/core/src/view/event/InternalMouseEvent.ts (1)
28-28: Correct import path for Shape.
Updating to import Shape from '../shape/Shape' properly reflects the relocation of the Shape module.
packages/core/src/view/style/marker/EdgeMarkerRegistry.ts (1)
27-27: Import path updated to the new shape directory.
This change realigns the Shape import to view/shape/Shape following the directory refactor. The relative path appears correct, and no logic is affected.
packages/core/src/view/style/marker/edge-markers.ts (1)
21-21: Updated Shape import to reflect the new shape directory.
The import now correctly points to view/shape/Shape, matching the project-wide restructure. No functional impact detected.
packages/core/src/view/mixins/TooltipMixin.ts (1)
18-18: Adjusted Shape import in TooltipMixin.
Referencing Shape from ../shape/Shape aligns with the new directory layout. The path is correct and no other changes are needed.
packages/core/src/view/handler/ConstraintHandler.ts (1)
30-31: Redirected ImageShape and RectangleShape imports to shape/node.
The imports now point to view/shape/node/ImageShape and view/shape/node/RectangleShape, consistent with the refactor. Usage within the file remains valid.
packages/core/src/view/shape/edge/ArrowConnectorShape.ts (1)
23-24: Updated Point and Rectangle imports to the geometry directory.
These imports now correctly reference view/geometry/Point and view/geometry/Rectangle following the new organization. There are no side effects on functionality.
packages/core/src/view/shape/edge/ArrowShape.ts (2)
21-21: Import path updated for Rectangle
The path for Rectangle now correctly points to the geometry module under view/geometry.
23-23: Import path updated for Point
The path for Point now correctly points to the geometry module under view/geometry.
packages/core/src/view/shape/node/RectangleShape.ts (1)
22-22: Import path updated for Rectangle
The Rectangle import now targets the shared geometry type under view/geometry.
packages/core/src/view/cell/CellState.ts (2)
23-24: Updated import paths for Shape and TextShape
The Shape and TextShape imports have been moved to the new view/shape directory.
28-28: Updated import path for RectangleShape
The RectangleShape import now correctly references view/shape/node/RectangleShape.
packages/core/src/view/shape/node/EllipseShape.ts (1)
20-21: Updated import paths for AbstractCanvas2D and Rectangle
The imports for AbstractCanvas2D and Rectangle now point to the shared view/canvas and view/geometry modules respectively.
packages/core/src/view/layout/EdgeLabelLayout.ts (1)
25-25: Updated import path for TextShape
The TextShape import has been updated to the new view/shape/node directory.
packages/core/src/view/handler/EdgeHandler.ts (2)
38-40: Import paths updated to reflect shapes move to dedicated directory
The import paths for shape-related classes have been updated to reflect their new location in the shape directory structure instead of geometry.
56-56: Shape import path updated correctly
The import path for the base Shape class has been updated to use the new dedicated shapes directory structure.
packages/core/src/view/mixins/PageBreaksMixin.ts (1)
19-19: Updated import path for PolylineShape
The import path has been correctly updated to reflect the new directory structure where shape-related modules are now in the dedicated shape directory.
packages/core/src/view/Graph.ts (1)
26-26: Updated path to shape registration module
The import path for registerDefaultShapes has been updated to point to the new location in the shape directory instead of cell. This is consistent with the larger refactoring to move all shape-related code to a dedicated directory.
packages/core/src/types.ts (1)
27-27: Updated Shape type import path
The import path for the Shape type has been correctly updated to reference the new location in the shape directory structure.
packages/core/src/view/other/Outline.ts (2)
29-29: Import path updated for RectangleShape
The import for RectangleShape has been updated from the old geometry path to the new shape/node directory. This aligns with the PR objective of moving all shape-related modules into the dedicated shape folder, and no behavioral changes are introduced.
32-32: Import path updated for ImageShape
The import for ImageShape has been similarly redirected to the shape/node directory. This keeps the module resolution consistent with the new structure.
packages/core/src/view/shape/node/ImageShape.ts (1)
20-20: Import path corrected for Rectangle type
The Rectangle type is now imported from ../../geometry/Rectangle, reflecting that geometric primitives remain in the geometry folder while shape implementations live under shape. This change matches the overall directory reorganization.
packages/core/src/view/plugins/CellEditorHandler.ts (2)
33-33: Import path updated for TextShape
The TextShape import has been moved from geometry/node to shape/node, consistent with the new directory layout for all node-based shapes.
37-37: Import path updated for Shape base class
The import for the Shape base class now points to ../shape/Shape, aligning with the relocation of shape definitions.
packages/core/src/view/other/Guide.ts (2)
21-21: Import path updated for PolylineShape
The PolylineShape import has been redirected from the old geometry/edge path to the new shape/edge directory, in line with the refactoring.
23-23: Import path updated for Shape base class
The Shape import now correctly references ../shape/Shape, reflecting that common shape interfaces have moved out of geometry.
packages/core/src/view/shape/edge/PolylineShape.ts (1)
21-21: Import path corrected for Point primitive
The Point class is now imported from ../../geometry/Point, ensuring that geometric primitives continue to reside in the geometry folder while edge shapes live under shape/edge.
packages/core/src/view/shape/edge/LineShape.ts (1)
21-21: Import path correction: Updated the Rectangle import to ../../geometry/Rectangle to align with the refactored directory structure. The relative path is correct and consistent with other shape modules.
packages/core/src/view/shape/node/SwimlaneShape.ts (1)
19-19: Import path correction: Updated the Rectangle import to ../../geometry/Rectangle to reflect the new separation between shape definitions and geometric primitives. Path resolution is accurate.
packages/core/src/view/shape/node/TriangleShape.ts (1)
19-19: Import path correction: Changed the Point import to ../../geometry/Point as part of the shape-to-geometry directory move. The path is correct relative to this file.
packages/core/src/view/shape/node/CloudShape.ts (1)
21-21: Import path correction: Updated the Rectangle import to ../../geometry/Rectangle in line with the new module layout. The import path is correct and in sync with other node shape files.
packages/core/src/view/plugins/SelectionHandler.ts (2)
23-23: Import path update for RectangleShape: Updated import to ../shape/node/RectangleShape to match the relocated shape modules. The path is correct relative to the plugins directory.
42-42: Import path update for Shape: Updated import to ../shape/Shape following the directory restructure. This maintains consistency across plugin imports.
packages/core/src/view/shape/stencil/StencilShape.ts (1)
20-20: Import path corrections for geometry primitives
The Rectangle and Point modules are now imported from '../../geometry', which aligns with the updated directory layout. No functional impact.
Also applies to: 25-25
packages/core/src/view/GraphView.ts (1)
24-24: Import path updates for shape components
The imports for RectangleShape, ImageShape, and Shape now correctly reference the ./shape directory structure. These changes reflect the refactor without altering any logic.
Also applies to: 33-33, 38-38
packages/core/src/view/cell/VertexHandle.ts (1)
21-21: Import path updates for handle rendering shapes
ImageShape and RectangleShape are now imported from ../shape/node, and Shape is imported as a type-only from ../shape/Shape. This aligns with the new module organization and has no runtime effect.
Also applies to: 23-23, 25-25
packages/core/src/view/cell/CellHighlight.ts (1)
28-28: Type-only import for Shape from new directory
Switched to a type-only import of Shape from ../shape/Shape, matching the reorganized codebase. No behavior changes introduced.
packages/core/src/view/shape/node/LabelShape.ts (1)
19-19: Import Rectangle from geometry directory
The Rectangle class is now consistently imported from ../../geometry/Rectangle, reflecting the separation between geometry primitives and shape implementations.
packages/core/src/view/shape/register-shapes.ts (1)
17-34: Align imports with new shape directory
All imports for ShapeRegistry and individual shape classes have been correctly updated to the view/shape directory structure. These changes maintain the original functionality and are consistent across the file.
packages/core/src/view/shape/node/DoubleEllipseShape.ts (1)
19-21: Update import paths to reflect refactoring
The imports for Rectangle and AbstractCanvas2D have been adjusted to their new locations under geometry and canvas. The module resolutions are correct and no logic changes are required.
packages/core/src/view/cell/CellRenderer.ts (1)
19-22: Update shape-related imports to new directory
The import paths for RectangleShape, ConnectorShape, ImageShape, TextShape, ShapeRegistry, StencilShapeRegistry, and Shape have been consistently updated to point into view/shape. This aligns with the directory reorganization without altering behavior.
Also applies to: 34-35, 42-42
packages/core/src/view/handler/VertexHandler.ts (1)
22-24: Adjust handler imports to new shape modules
The imports for RectangleShape, ImageShape, EllipseShape, and Shape now correctly reference the restructured view/shape directory. These path updates are accurate and require no further action.
Also applies to: 34-34
packages/core/src/view/animate/Effects.ts (1)
85-85: Simplify type assertions using non-null assertions
Replaced explicit casts with shape! non-null assertions when calling setOpacity, improving readability. This change preserves the original behavior; just ensure shape is indeed non-null at runtime.
Also applies to: 146-146, 159-159
packages/core/src/view/plugins/ConnectionHandler.ts (3)
39-39: Correct import path for ImageShape
The import of ImageShape has been updated from the old geometry directory to the new shape/node directory, aligning with the refactor.
42-42: Correct import path for PolylineShape
The PolylineShape import now references the shape/edge directory instead of geometry/edge, which matches the new module layout.
57-57: Correct import path for Shape
Importing the base Shape class from shape/Shape is consistent with the directory reorganization.
packages/core/src/index.ts (5)
98-104: Updated node shape exports to new directory
All node shape modules (ActorShape, LabelShape, Shape, SwimlaneShape, TextShape, TriangleShape) have been re-exported from view/shape/node, reflecting the new structure.
105-110: Updated edge shape exports to new directory
Edge shapes (ArrowShape, ArrowConnectorShape, ConnectorShape, LineShape, PolylineShape) now export from view/shape/edge, consistent with the refactor.
111-118: Additional node shape exports updated
Further node shapes (CloudShape, CylinderShape, DoubleEllipseShape, EllipseShape, HexagonShape, ImageShape, RectangleShape, RhombusShape) correctly re-export from view/shape/node.
119-121: Added ShapeRegistry and registration utilities from shape directory
Exports for ShapeRegistry and register-shapes have been moved to view/shape, replacing the old geometry-based exports.
122-128: Updated stencil shape exports to new shape/stencil directory
All stencil-related exports (unregisterAllStencilShapes, StencilShape, StencilShapeConfig, StencilShapeRegistry) now reference view/shape/stencil, which aligns with the reorganization.