run method with a parameter for the hierarchical layout model
10 | * that is shared between the layout stages.
11 | *
12 | * Constructor: mxHierarchicalLayoutStage
13 | *
14 | * Constructs a new hierarchical layout stage.
15 | */
16 | function mxHierarchicalLayoutStage() { };
17 |
18 | /**
19 | * Function: execute
20 | *
21 | * Takes the graph detail and configuration information within the facade
22 | * and creates the resulting laid out graph within that facade for further
23 | * use.
24 | */
25 | mxHierarchicalLayoutStage.prototype.execute = function(parent) { };
26 |
--------------------------------------------------------------------------------
/src/ts/mxtypings/lib/handler/index.d.ts:
--------------------------------------------------------------------------------
1 | ///mxObjectId.
15 | */
16 | static FIELD_NAME: string;
17 |
18 | /**
19 | * Current counter.
20 | */
21 | static counter: number;
22 |
23 | /**
24 | * Returns the ID for the given object or function or null if no object
25 | * is specified.
26 | */
27 | static get(obj: any): any;
28 |
29 | /**
30 | * Deletes the ID from the given object or function.
31 | */
32 | static clear(obj: any): void;
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/src/ts/mxtypings/lib/shape/mxEllipse.d.ts:
--------------------------------------------------------------------------------
1 | declare module 'mxgraph' {
2 | /**
3 | * Extends mxShape to implement an ellipse shape.
4 | * This shape is registered under mxConstants.SHAPE_ELLIPSE in mxCellRenderer.
5 | */
6 | class mxEllipse extends mxShape {
7 | /**
8 | *
9 | * @param bounds mxRectangle that defines the bounds. This is stored in mxShape.bounds.
10 | * @param fill String that defines the fill color. This is stored in mxObjectId.
20 | */
21 | FIELD_NAME: 'mxObjectId',
22 |
23 | /**
24 | * Variable: counter
25 | *
26 | * Current counter.
27 | */
28 | counter: 0,
29 |
30 | /**
31 | * Function: get
32 | *
33 | * Returns the ID for the given object or function or null if no object
34 | * is specified.
35 | */
36 | get: function(obj)
37 | {
38 | if (obj != null)
39 | {
40 | if (obj[mxObjectIdentity.FIELD_NAME] == null)
41 | {
42 | if (typeof obj === 'object')
43 | {
44 | var ctor = mxUtils.getFunctionName(obj.constructor);
45 | obj[mxObjectIdentity.FIELD_NAME] = ctor + '#' + mxObjectIdentity.counter++;
46 | }
47 | else if (typeof obj === 'function')
48 | {
49 | obj[mxObjectIdentity.FIELD_NAME] = 'Function#' + mxObjectIdentity.counter++;
50 | }
51 | }
52 |
53 | return obj[mxObjectIdentity.FIELD_NAME];
54 | }
55 |
56 | return null;
57 | },
58 |
59 | /**
60 | * Function: clear
61 | *
62 | * Deletes the ID from the given object or function.
63 | */
64 | clear: function(obj)
65 | {
66 | if (typeof(obj) === 'object' || typeof obj === 'function')
67 | {
68 | delete obj[mxObjectIdentity.FIELD_NAME];
69 | }
70 | }
71 |
72 | };
73 |
--------------------------------------------------------------------------------
/test/queryplan/queryPlanListener.html:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |