forked from typed-mxgraph/typed-mxgraph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.d.ts
175 lines (172 loc) · 6.91 KB
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
/// <reference path="./lib/editor/index.d.ts" />
/// <reference path="./lib/handler/index.d.ts" />
/// <reference path="./lib/io/index.d.ts" />
/// <reference path="./lib/layout/index.d.ts" />
/// <reference path="./lib/model/index.d.ts" />
/// <reference path="./lib/util/index.d.ts" />
/// <reference path="./lib/shape/index.d.ts" />
/// <reference path="./lib/view/index.d.ts" />
/// <reference path="./lib/mxClient.d.ts" />
declare module 'mxgraph' {
export interface mxGraphExportObject {
mxClient: typeof mxClient;
mxLog: typeof mxLog;
mxObjectIdentity: typeof mxObjectIdentity;
mxDictionary: typeof mxDictionary;
mxResources: typeof mxResources;
mxPoint: typeof mxPoint;
mxRectangle: typeof mxRectangle;
mxEffects: typeof mxEffects;
mxUtils: typeof mxUtils;
mxConstants: typeof mxConstants;
mxEventObject: typeof mxEventObject;
mxMouseEvent: typeof mxMouseEvent;
mxEventSource: typeof mxEventSource;
mxEvent: typeof mxEvent;
mxXmlRequest: typeof mxXmlRequest;
mxClipboard: typeof mxClipboard;
mxWindow: typeof mxWindow;
mxForm: typeof mxForm;
mxImage: typeof mxImage;
mxDivResizer: typeof mxDivResizer;
mxDragSource: typeof mxDragSource;
mxToolbar: typeof mxToolbar;
mxUndoableEdit: typeof mxUndoableEdit;
mxUndoManager: typeof mxUndoManager;
mxUrlConverter: typeof mxUrlConverter;
mxPanningManager: typeof mxPanningManager;
mxPopupMenu: typeof mxPopupMenu;
mxAutoSaveManager: typeof mxAutoSaveManager;
mxAnimation: typeof mxAnimation;
mxMorphing: typeof mxMorphing;
mxImageBundle: typeof mxImageBundle;
mxImageExport: typeof mxImageExport;
mxAbstractCanvas2D: typeof mxAbstractCanvas2D;
mxXmlCanvas2D: typeof mxXmlCanvas2D;
mxSvgCanvas2D: typeof mxSvgCanvas2D;
mxVmlCanvas2D: typeof mxVmlCanvas2D;
mxGuide: typeof mxGuide;
mxShape: typeof mxShape;
mxStencil: typeof mxStencil;
mxStencilRegistry: typeof mxStencilRegistry;
mxMarker: typeof mxMarker;
mxActor: typeof mxActor;
mxCloud: typeof mxCloud;
mxRectangleShape: typeof mxRectangleShape;
mxEllipse: typeof mxEllipse;
mxDoubleEllipse: typeof mxDoubleEllipse;
mxRhombus: typeof mxRhombus;
mxPolyline: typeof mxPolyline;
mxArrow: typeof mxArrow;
mxArrowConnector: typeof mxArrowConnector;
mxText: typeof mxText;
mxTriangle: typeof mxTriangle;
mxHexagon: typeof mxHexagon;
mxLine: typeof mxLine;
mxImageShape: typeof mxImageShape;
mxLabel: typeof mxLabel;
mxCylinder: typeof mxCylinder;
mxConnector: typeof mxConnector;
mxSwimlane: typeof mxSwimlane;
mxGraphLayout: typeof mxGraphLayout;
mxStackLayout: typeof mxStackLayout;
mxPartitionLayout: typeof mxPartitionLayout;
mxCompactTreeLayout: typeof mxCompactTreeLayout;
mxRadialTreeLayout: typeof mxRadialTreeLayout;
mxFastOrganicLayout: typeof mxFastOrganicLayout;
mxCircleLayout: typeof mxCircleLayout;
mxParallelEdgeLayout: typeof mxParallelEdgeLayout;
mxCompositeLayout: typeof mxCompositeLayout;
mxEdgeLabelLayout: typeof mxEdgeLabelLayout;
mxGraphAbstractHierarchyCell: typeof mxGraphAbstractHierarchyCell;
mxGraphHierarchyNode: typeof mxGraphHierarchyNode;
mxGraphHierarchyEdge: typeof mxGraphHierarchyEdge;
mxGraphHierarchyModel: typeof mxGraphHierarchyModel;
mxSwimlaneModel: typeof mxSwimlaneModel;
mxHierarchicalLayoutStage: typeof mxHierarchicalLayoutStage;
mxMedianHybridCrossingReduction: typeof mxMedianHybridCrossingReduction;
mxMinimumCycleRemover: typeof mxMinimumCycleRemover;
mxCoordinateAssignment: typeof mxCoordinateAssignment;
mxSwimlaneOrdering: typeof mxSwimlaneOrdering;
mxHierarchicalLayout: typeof mxHierarchicalLayout;
mxSwimlaneLayout: typeof mxSwimlaneLayout;
mxGraphModel: typeof mxGraphModel;
mxCell: typeof mxCell;
mxGeometry: typeof mxGeometry;
mxCellPath: typeof mxCellPath;
mxPerimeter: typeof mxPerimeter;
mxPrintPreview: typeof mxPrintPreview;
mxStylesheet: typeof mxStylesheet;
mxCellState: typeof mxCellState;
mxGraphSelectionModel: typeof mxGraphSelectionModel;
mxCellEditor: typeof mxCellEditor;
mxCellRenderer: typeof mxCellRenderer;
mxEdgeStyle: typeof mxEdgeStyle;
mxStyleRegistry: typeof mxStyleRegistry;
mxGraphView: typeof mxGraphView;
mxGraph: typeof mxGraph;
mxCellOverlay: typeof mxCellOverlay;
mxOutline: typeof mxOutline;
mxMultiplicity: typeof mxMultiplicity;
mxLayoutManager: typeof mxLayoutManager;
mxSwimlaneManager: typeof mxSwimlaneManager;
mxTemporaryCellStates: typeof mxTemporaryCellStates;
mxCellStatePreview: typeof mxCellStatePreview;
mxConnectionConstraint: typeof mxConnectionConstraint;
mxGraphHandler: typeof mxGraphHandler;
mxPanningHandler: typeof mxPanningHandler;
mxPopupMenuHandler: typeof mxPopupMenuHandler;
mxCellMarker: typeof mxCellMarker;
mxSelectionCellsHandler: typeof mxSelectionCellsHandler;
mxConnectionHandler: typeof mxConnectionHandler;
mxConstraintHandler: typeof mxConstraintHandler;
mxRubberband: typeof mxRubberband;
mxHandle: typeof mxHandle;
mxVertexHandler: typeof mxVertexHandler;
mxEdgeHandler: typeof mxEdgeHandler;
mxElbowEdgeHandler: typeof mxElbowEdgeHandler;
mxEdgeSegmentHandler: typeof mxEdgeSegmentHandler;
mxKeyHandler: typeof mxKeyHandler;
mxTooltipHandler: typeof mxTooltipHandler;
mxCellTracker: typeof mxCellTracker;
mxCellHighlight: typeof mxCellHighlight;
mxDefaultKeyHandler: typeof mxDefaultKeyHandler;
mxDefaultPopupMenu: typeof mxDefaultPopupMenu;
mxDefaultToolbar: typeof mxDefaultToolbar;
mxEditor: typeof mxEditor;
mxCodecRegistry: typeof mxCodecRegistry;
mxCodec: typeof mxCodec;
mxObjectCodec: typeof mxObjectCodec;
mxCellCodec: mxObjectCodec;
mxModelCodec: mxObjectCodec;
mxRootChangeCodec: mxObjectCodec;
mxChildChangeCodec: mxObjectCodec;
mxTerminalChangeCodec: mxObjectCodec;
mxGenericChangeCodec: typeof mxGenericChangeCodec;
mxGraphCodec: mxObjectCodec;
mxGraphViewCodec: mxObjectCodec;
mxStylesheetCodec: mxObjectCodec;
mxDefaultKeyHandlerCodec: mxObjectCodec;
mxDefaultToolbarCodec: mxObjectCodec;
mxDefaultPopupMenuCodec: mxObjectCodec;
mxEditorCodec: mxObjectCodec;
mxRootChange: typeof mxRootChange;
mxGeometryChange: typeof mxGeometryChange;
mxChildChange: typeof mxChildChange;
mxStyleChange: typeof mxStyleChange;
mxVisibleChange: typeof mxVisibleChange;
mxCollapseChange: typeof mxCollapseChange;
mxValueChange: typeof mxValueChange;
mxTerminalChange: typeof mxTerminalChange;
mxCurrentRootChange: typeof mxCurrentRootChange;
}
export type mxGraphOptions = {
mxBasePath?: string;
mxImageBasePath?: string;
mxLanguage?: string;
mxDefaultLanguage?: string;
mxLoadResources?: boolean;
mxLoadStylesheets?: boolean;
};
export default function (options?: mxGraphOptions): mxGraphExportObject;
}