From 19bfec247c78e8c588b17b9e4a0dcdf674314c95 Mon Sep 17 00:00:00 2001 From: zcy <290198252@qq.com> Date: Mon, 26 Feb 2024 00:34:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=94=B1mxgraph=E8=BF=9B?= =?UTF-8?q?=E8=A1=8C=E6=B8=B2=E6=9F=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/launch.json | 0 altium_sch.html | 17 +- altium_sch_document.js | 15 +- altium_sch_renderer.js | 1240 +- mxclient/css/common.css | 166 + mxclient/css/explorer.css | 18 + mxclient/images/button.gif | Bin 0 -> 137 bytes mxclient/images/close.gif | Bin 0 -> 70 bytes mxclient/images/collapsed.gif | Bin 0 -> 877 bytes mxclient/images/error.gif | Bin 0 -> 907 bytes mxclient/images/expanded.gif | Bin 0 -> 878 bytes mxclient/images/maximize.gif | Bin 0 -> 843 bytes mxclient/images/minimize.gif | Bin 0 -> 64 bytes mxclient/images/normalize.gif | Bin 0 -> 845 bytes mxclient/images/point.gif | Bin 0 -> 55 bytes mxclient/images/resize.gif | Bin 0 -> 74 bytes mxclient/images/separator.gif | Bin 0 -> 146 bytes mxclient/images/submenu.gif | Bin 0 -> 56 bytes mxclient/images/transparent.gif | Bin 0 -> 90 bytes mxclient/images/warning.gif | Bin 0 -> 276 bytes mxclient/images/warning.png | Bin 0 -> 425 bytes mxclient/images/window-title.gif | Bin 0 -> 275 bytes mxclient/images/window.gif | Bin 0 -> 75 bytes mxclient/js/editor/mxDefaultKeyHandler.js | 126 + mxclient/js/editor/mxDefaultPopupMenu.js | 306 + mxclient/js/editor/mxDefaultToolbar.js | 564 + mxclient/js/editor/mxEditor.js | 3118 ++++ mxclient/js/handler/mxCellHighlight.js | 314 + mxclient/js/handler/mxCellMarker.js | 430 + mxclient/js/handler/mxCellTracker.js | 145 + mxclient/js/handler/mxConnectionHandler.js | 2249 +++ mxclient/js/handler/mxConstraintHandler.js | 517 + mxclient/js/handler/mxEdgeHandler.js | 2544 +++ mxclient/js/handler/mxEdgeSegmentHandler.js | 413 + mxclient/js/handler/mxElbowEdgeHandler.js | 230 + mxclient/js/handler/mxGraphHandler.js | 1865 +++ mxclient/js/handler/mxHandle.js | 352 + mxclient/js/handler/mxKeyHandler.js | 428 + mxclient/js/handler/mxPanningHandler.js | 494 + mxclient/js/handler/mxPopupMenuHandler.js | 218 + mxclient/js/handler/mxRubberband.js | 429 + .../js/handler/mxSelectionCellsHandler.js | 344 + mxclient/js/handler/mxTooltipHandler.js | 353 + mxclient/js/handler/mxVertexHandler.js | 2251 +++ mxclient/js/index.txt | 316 + mxclient/js/io/mxCellCodec.js | 189 + mxclient/js/io/mxChildChangeCodec.js | 168 + mxclient/js/io/mxCodec.js | 621 + mxclient/js/io/mxCodecRegistry.js | 137 + mxclient/js/io/mxDefaultKeyHandlerCodec.js | 88 + mxclient/js/io/mxDefaultPopupMenuCodec.js | 54 + mxclient/js/io/mxDefaultToolbarCodec.js | 312 + mxclient/js/io/mxEditorCodec.js | 245 + mxclient/js/io/mxGenericChangeCodec.js | 64 + mxclient/js/io/mxGraphCodec.js | 28 + mxclient/js/io/mxGraphViewCodec.js | 197 + mxclient/js/io/mxModelCodec.js | 80 + mxclient/js/io/mxObjectCodec.js | 1097 ++ mxclient/js/io/mxRootChangeCodec.js | 83 + mxclient/js/io/mxStylesheetCodec.js | 217 + mxclient/js/io/mxTerminalChangeCodec.js | 42 + .../model/mxGraphAbstractHierarchyCell.js | 200 + .../model/mxGraphHierarchyEdge.js | 187 + .../model/mxGraphHierarchyModel.js | 681 + .../model/mxGraphHierarchyNode.js | 220 + .../hierarchical/model/mxSwimlaneModel.js | 801 + .../hierarchical/mxHierarchicalLayout.js | 851 + .../layout/hierarchical/mxSwimlaneLayout.js | 933 ++ .../stage/mxCoordinateAssignment.js | 1743 ++ .../stage/mxHierarchicalLayoutStage.js | 25 + .../stage/mxMedianHybridCrossingReduction.js | 675 + .../stage/mxMinimumCycleRemover.js | 108 + .../hierarchical/stage/mxSwimlaneOrdering.js | 95 + mxclient/js/layout/mxCircleLayout.js | 203 + mxclient/js/layout/mxCompactTreeLayout.js | 1116 ++ mxclient/js/layout/mxCompositeLayout.js | 101 + mxclient/js/layout/mxEdgeLabelLayout.js | 165 + mxclient/js/layout/mxFastOrganicLayout.js | 591 + mxclient/js/layout/mxGraphLayout.js | 591 + mxclient/js/layout/mxParallelEdgeLayout.js | 270 + mxclient/js/layout/mxPartitionLayout.js | 240 + mxclient/js/layout/mxRadialTreeLayout.js | 318 + mxclient/js/layout/mxStackLayout.js | 603 + mxclient/js/model/mxCell.js | 825 + mxclient/js/model/mxCellPath.js | 163 + mxclient/js/model/mxGeometry.js | 415 + mxclient/js/model/mxGraphModel.js | 2705 ++++ mxclient/js/mxClient.js | 797 + mxclient/js/shape/mxActor.js | 86 + mxclient/js/shape/mxArrow.js | 115 + mxclient/js/shape/mxArrowConnector.js | 495 + mxclient/js/shape/mxCloud.js | 55 + mxclient/js/shape/mxConnector.js | 149 + mxclient/js/shape/mxCylinder.js | 118 + mxclient/js/shape/mxDoubleEllipse.js | 114 + mxclient/js/shape/mxEllipse.js | 48 + mxclient/js/shape/mxHexagon.js | 34 + mxclient/js/shape/mxImageShape.js | 243 + mxclient/js/shape/mxLabel.js | 276 + mxclient/js/shape/mxLine.js | 69 + mxclient/js/shape/mxMarker.js | 208 + mxclient/js/shape/mxPolyline.js | 132 + mxclient/js/shape/mxRectangleShape.js | 127 + mxclient/js/shape/mxRhombus.js | 64 + mxclient/js/shape/mxShape.js | 1672 ++ mxclient/js/shape/mxStencil.js | 867 + mxclient/js/shape/mxStencilRegistry.js | 53 + mxclient/js/shape/mxSwimlane.js | 505 + mxclient/js/shape/mxText.js | 1437 ++ mxclient/js/shape/mxTriangle.js | 43 + mxclient/js/util/mxAbstractCanvas2D.js | 642 + mxclient/js/util/mxAnimation.js | 92 + mxclient/js/util/mxAutoSaveManager.js | 213 + mxclient/js/util/mxClipboard.js | 221 + mxclient/js/util/mxConstants.js | 2338 +++ mxclient/js/util/mxDictionary.js | 130 + mxclient/js/util/mxDivResizer.js | 151 + mxclient/js/util/mxDragSource.js | 725 + mxclient/js/util/mxEffects.js | 211 + mxclient/js/util/mxEvent.js | 1471 ++ mxclient/js/util/mxEventObject.js | 111 + mxclient/js/util/mxEventSource.js | 189 + mxclient/js/util/mxForm.js | 202 + mxclient/js/util/mxGuide.js | 448 + mxclient/js/util/mxImage.js | 40 + mxclient/js/util/mxImageBundle.js | 103 + mxclient/js/util/mxImageExport.js | 183 + mxclient/js/util/mxLog.js | 414 + mxclient/js/util/mxMorphing.js | 249 + mxclient/js/util/mxMouseEvent.js | 245 + mxclient/js/util/mxObjectIdentity.js | 72 + mxclient/js/util/mxPanningManager.js | 265 + mxclient/js/util/mxPoint.js | 54 + mxclient/js/util/mxPopupMenu.js | 620 + mxclient/js/util/mxRectangle.js | 181 + mxclient/js/util/mxResources.js | 450 + mxclient/js/util/mxSvgCanvas2D.js | 1949 +++ mxclient/js/util/mxToolbar.js | 527 + mxclient/js/util/mxUndoManager.js | 229 + mxclient/js/util/mxUndoableEdit.js | 213 + mxclient/js/util/mxUrlConverter.js | 153 + mxclient/js/util/mxUtils.js | 4520 ++++++ mxclient/js/util/mxVmlCanvas2D.js | 1102 ++ mxclient/js/util/mxWindow.js | 1132 ++ mxclient/js/util/mxXmlCanvas2D.js | 1217 ++ mxclient/js/util/mxXmlRequest.js | 455 + mxclient/js/view/mxCellEditor.js | 1220 ++ mxclient/js/view/mxCellOverlay.js | 233 + mxclient/js/view/mxCellRenderer.js | 1639 ++ mxclient/js/view/mxCellState.js | 447 + mxclient/js/view/mxCellStatePreview.js | 203 + mxclient/js/view/mxConnectionConstraint.js | 67 + mxclient/js/view/mxEdgeStyle.js | 1653 ++ mxclient/js/view/mxGraph.js | 13229 ++++++++++++++++ mxclient/js/view/mxGraphSelectionModel.js | 436 + mxclient/js/view/mxGraphView.js | 3024 ++++ mxclient/js/view/mxLayoutManager.js | 500 + mxclient/js/view/mxMultiplicity.js | 257 + mxclient/js/view/mxOutline.js | 762 + mxclient/js/view/mxPerimeter.js | 921 ++ mxclient/js/view/mxPrintPreview.js | 1234 ++ mxclient/js/view/mxStyleRegistry.js | 71 + mxclient/js/view/mxStylesheet.js | 266 + mxclient/js/view/mxSwimlaneManager.js | 450 + mxclient/js/view/mxTemporaryCellStates.js | 133 + mxclient/resources/editor.txt | 5 + mxclient/resources/editor_de.txt | 5 + mxclient/resources/editor_zh.txt | 5 + mxclient/resources/graph.txt | 11 + mxclient/resources/graph_de.txt | 11 + mxclient/resources/graph_zh.txt | 11 + 171 files changed, 93372 insertions(+), 554 deletions(-) create mode 100644 .vscode/launch.json create mode 100644 mxclient/css/common.css create mode 100644 mxclient/css/explorer.css create mode 100644 mxclient/images/button.gif create mode 100644 mxclient/images/close.gif create mode 100644 mxclient/images/collapsed.gif create mode 100644 mxclient/images/error.gif create mode 100644 mxclient/images/expanded.gif create mode 100644 mxclient/images/maximize.gif create mode 100644 mxclient/images/minimize.gif create mode 100644 mxclient/images/normalize.gif create mode 100644 mxclient/images/point.gif create mode 100644 mxclient/images/resize.gif create mode 100644 mxclient/images/separator.gif create mode 100644 mxclient/images/submenu.gif create mode 100644 mxclient/images/transparent.gif create mode 100644 mxclient/images/warning.gif create mode 100644 mxclient/images/warning.png create mode 100644 mxclient/images/window-title.gif create mode 100644 mxclient/images/window.gif create mode 100644 mxclient/js/editor/mxDefaultKeyHandler.js create mode 100644 mxclient/js/editor/mxDefaultPopupMenu.js create mode 100644 mxclient/js/editor/mxDefaultToolbar.js create mode 100644 mxclient/js/editor/mxEditor.js create mode 100644 mxclient/js/handler/mxCellHighlight.js create mode 100644 mxclient/js/handler/mxCellMarker.js create mode 100644 mxclient/js/handler/mxCellTracker.js create mode 100644 mxclient/js/handler/mxConnectionHandler.js create mode 100644 mxclient/js/handler/mxConstraintHandler.js create mode 100644 mxclient/js/handler/mxEdgeHandler.js create mode 100644 mxclient/js/handler/mxEdgeSegmentHandler.js create mode 100644 mxclient/js/handler/mxElbowEdgeHandler.js create mode 100644 mxclient/js/handler/mxGraphHandler.js create mode 100644 mxclient/js/handler/mxHandle.js create mode 100644 mxclient/js/handler/mxKeyHandler.js create mode 100644 mxclient/js/handler/mxPanningHandler.js create mode 100644 mxclient/js/handler/mxPopupMenuHandler.js create mode 100644 mxclient/js/handler/mxRubberband.js create mode 100644 mxclient/js/handler/mxSelectionCellsHandler.js create mode 100644 mxclient/js/handler/mxTooltipHandler.js create mode 100644 mxclient/js/handler/mxVertexHandler.js create mode 100644 mxclient/js/index.txt create mode 100644 mxclient/js/io/mxCellCodec.js create mode 100644 mxclient/js/io/mxChildChangeCodec.js create mode 100644 mxclient/js/io/mxCodec.js create mode 100644 mxclient/js/io/mxCodecRegistry.js create mode 100644 mxclient/js/io/mxDefaultKeyHandlerCodec.js create mode 100644 mxclient/js/io/mxDefaultPopupMenuCodec.js create mode 100644 mxclient/js/io/mxDefaultToolbarCodec.js create mode 100644 mxclient/js/io/mxEditorCodec.js create mode 100644 mxclient/js/io/mxGenericChangeCodec.js create mode 100644 mxclient/js/io/mxGraphCodec.js create mode 100644 mxclient/js/io/mxGraphViewCodec.js create mode 100644 mxclient/js/io/mxModelCodec.js create mode 100644 mxclient/js/io/mxObjectCodec.js create mode 100644 mxclient/js/io/mxRootChangeCodec.js create mode 100644 mxclient/js/io/mxStylesheetCodec.js create mode 100644 mxclient/js/io/mxTerminalChangeCodec.js create mode 100644 mxclient/js/layout/hierarchical/model/mxGraphAbstractHierarchyCell.js create mode 100644 mxclient/js/layout/hierarchical/model/mxGraphHierarchyEdge.js create mode 100644 mxclient/js/layout/hierarchical/model/mxGraphHierarchyModel.js create mode 100644 mxclient/js/layout/hierarchical/model/mxGraphHierarchyNode.js create mode 100644 mxclient/js/layout/hierarchical/model/mxSwimlaneModel.js create mode 100644 mxclient/js/layout/hierarchical/mxHierarchicalLayout.js create mode 100644 mxclient/js/layout/hierarchical/mxSwimlaneLayout.js create mode 100644 mxclient/js/layout/hierarchical/stage/mxCoordinateAssignment.js create mode 100644 mxclient/js/layout/hierarchical/stage/mxHierarchicalLayoutStage.js create mode 100644 mxclient/js/layout/hierarchical/stage/mxMedianHybridCrossingReduction.js create mode 100644 mxclient/js/layout/hierarchical/stage/mxMinimumCycleRemover.js create mode 100644 mxclient/js/layout/hierarchical/stage/mxSwimlaneOrdering.js create mode 100644 mxclient/js/layout/mxCircleLayout.js create mode 100644 mxclient/js/layout/mxCompactTreeLayout.js create mode 100644 mxclient/js/layout/mxCompositeLayout.js create mode 100644 mxclient/js/layout/mxEdgeLabelLayout.js create mode 100644 mxclient/js/layout/mxFastOrganicLayout.js create mode 100644 mxclient/js/layout/mxGraphLayout.js create mode 100644 mxclient/js/layout/mxParallelEdgeLayout.js create mode 100644 mxclient/js/layout/mxPartitionLayout.js create mode 100644 mxclient/js/layout/mxRadialTreeLayout.js create mode 100644 mxclient/js/layout/mxStackLayout.js create mode 100644 mxclient/js/model/mxCell.js create mode 100644 mxclient/js/model/mxCellPath.js create mode 100644 mxclient/js/model/mxGeometry.js create mode 100644 mxclient/js/model/mxGraphModel.js create mode 100644 mxclient/js/mxClient.js create mode 100644 mxclient/js/shape/mxActor.js create mode 100644 mxclient/js/shape/mxArrow.js create mode 100644 mxclient/js/shape/mxArrowConnector.js create mode 100644 mxclient/js/shape/mxCloud.js create mode 100644 mxclient/js/shape/mxConnector.js create mode 100644 mxclient/js/shape/mxCylinder.js create mode 100644 mxclient/js/shape/mxDoubleEllipse.js create mode 100644 mxclient/js/shape/mxEllipse.js create mode 100644 mxclient/js/shape/mxHexagon.js create mode 100644 mxclient/js/shape/mxImageShape.js create mode 100644 mxclient/js/shape/mxLabel.js create mode 100644 mxclient/js/shape/mxLine.js create mode 100644 mxclient/js/shape/mxMarker.js create mode 100644 mxclient/js/shape/mxPolyline.js create mode 100644 mxclient/js/shape/mxRectangleShape.js create mode 100644 mxclient/js/shape/mxRhombus.js create mode 100644 mxclient/js/shape/mxShape.js create mode 100644 mxclient/js/shape/mxStencil.js create mode 100644 mxclient/js/shape/mxStencilRegistry.js create mode 100644 mxclient/js/shape/mxSwimlane.js create mode 100644 mxclient/js/shape/mxText.js create mode 100644 mxclient/js/shape/mxTriangle.js create mode 100644 mxclient/js/util/mxAbstractCanvas2D.js create mode 100644 mxclient/js/util/mxAnimation.js create mode 100644 mxclient/js/util/mxAutoSaveManager.js create mode 100644 mxclient/js/util/mxClipboard.js create mode 100644 mxclient/js/util/mxConstants.js create mode 100644 mxclient/js/util/mxDictionary.js create mode 100644 mxclient/js/util/mxDivResizer.js create mode 100644 mxclient/js/util/mxDragSource.js create mode 100644 mxclient/js/util/mxEffects.js create mode 100644 mxclient/js/util/mxEvent.js create mode 100644 mxclient/js/util/mxEventObject.js create mode 100644 mxclient/js/util/mxEventSource.js create mode 100644 mxclient/js/util/mxForm.js create mode 100644 mxclient/js/util/mxGuide.js create mode 100644 mxclient/js/util/mxImage.js create mode 100644 mxclient/js/util/mxImageBundle.js create mode 100644 mxclient/js/util/mxImageExport.js create mode 100644 mxclient/js/util/mxLog.js create mode 100644 mxclient/js/util/mxMorphing.js create mode 100644 mxclient/js/util/mxMouseEvent.js create mode 100644 mxclient/js/util/mxObjectIdentity.js create mode 100644 mxclient/js/util/mxPanningManager.js create mode 100644 mxclient/js/util/mxPoint.js create mode 100644 mxclient/js/util/mxPopupMenu.js create mode 100644 mxclient/js/util/mxRectangle.js create mode 100644 mxclient/js/util/mxResources.js create mode 100644 mxclient/js/util/mxSvgCanvas2D.js create mode 100644 mxclient/js/util/mxToolbar.js create mode 100644 mxclient/js/util/mxUndoManager.js create mode 100644 mxclient/js/util/mxUndoableEdit.js create mode 100644 mxclient/js/util/mxUrlConverter.js create mode 100644 mxclient/js/util/mxUtils.js create mode 100644 mxclient/js/util/mxVmlCanvas2D.js create mode 100644 mxclient/js/util/mxWindow.js create mode 100644 mxclient/js/util/mxXmlCanvas2D.js create mode 100644 mxclient/js/util/mxXmlRequest.js create mode 100644 mxclient/js/view/mxCellEditor.js create mode 100644 mxclient/js/view/mxCellOverlay.js create mode 100644 mxclient/js/view/mxCellRenderer.js create mode 100644 mxclient/js/view/mxCellState.js create mode 100644 mxclient/js/view/mxCellStatePreview.js create mode 100644 mxclient/js/view/mxConnectionConstraint.js create mode 100644 mxclient/js/view/mxEdgeStyle.js create mode 100644 mxclient/js/view/mxGraph.js create mode 100644 mxclient/js/view/mxGraphSelectionModel.js create mode 100644 mxclient/js/view/mxGraphView.js create mode 100644 mxclient/js/view/mxLayoutManager.js create mode 100644 mxclient/js/view/mxMultiplicity.js create mode 100644 mxclient/js/view/mxOutline.js create mode 100644 mxclient/js/view/mxPerimeter.js create mode 100644 mxclient/js/view/mxPrintPreview.js create mode 100644 mxclient/js/view/mxStyleRegistry.js create mode 100644 mxclient/js/view/mxStylesheet.js create mode 100644 mxclient/js/view/mxSwimlaneManager.js create mode 100644 mxclient/js/view/mxTemporaryCellStates.js create mode 100644 mxclient/resources/editor.txt create mode 100644 mxclient/resources/editor_de.txt create mode 100644 mxclient/resources/editor_zh.txt create mode 100644 mxclient/resources/graph.txt create mode 100644 mxclient/resources/graph_de.txt create mode 100644 mxclient/resources/graph_zh.txt diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..e69de29 diff --git a/altium_sch.html b/altium_sch.html index 8050b8b..a4c2e7c 100644 --- a/altium_sch.html +++ b/altium_sch.html @@ -1,5 +1,6 @@
+ @@ -12,14 +13,18 @@ - -