-
Notifications
You must be signed in to change notification settings - Fork 11
/
View.d.ts
44 lines (30 loc) · 2.32 KB
/
View.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
/****************** View **************/
declare class mxCellState {
cell: any;
}
declare class mxEdgeStyle {
/** Implements an entity relation style for edges (as used in database schema diagrams). At the time
* the function is called, the result array contains a placeholder (null) for the first absolute point,
* that is, the point where the edge and source terminal are connected. The implementation of the style
* then adds all intermediate waypoints except for the last point, that is, the connection point between
* the edge and the target terminal. The first ant the last point in the result array are then replaced
* with mxPoints that take into account the terminal’s perimeter and next point on the edge.
*/
static EntityRelation(state: mxCellState, source: mxCell, target: mxCell, points: mxPoint[], result: any): any;
/** Implements a self-reference, aka. loop. */
static Loop(state: mxCellState, source: mxCell, target: mxCell, points: mxPoint[], result: any): any;
/** Uses either SideToSide or TopToBottom depending on the horizontal flag in the cell style.
* SideToSide is used if horizontal is true or unspecified. See EntityRelation for a description of the parameters.
*/
static ElbowConnector(state: mxCellState, source: mxCell, target: mxCell, points: mxPoint[], result: any): any;
/** Implements a vertical elbow edge. See EntityRelation for a description of the parameters. */
static SideToSide(state: mxCellState, source: mxCell, target: mxCell, points: mxPoint[], result: any): any;
/** Implements a horizontal elbow edge. See EntityRelation for a description of the parameters */
static TopToBottom(state: mxCellState, source: mxCell, target: mxCell, points: mxPoint[], result: any): any;
/** Implements an orthogonal edge style. Use <mxEdgeSegmentHandler> as an interactive handler for this style. */
static SegmentConnector(state: mxCellState, source: mxCell, target: mxCell, points: mxPoint[], result: any): any;
/** Implements a local orthogonal router between the given cells. */
static OrthConnector(state: mxCellState, source: mxCell, target: mxCell, points: mxPoint[], result: any): any;
}
/****************** View end **************/