summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/typings/cytoscape/edge-editation.d.ts
blob: c4b5df0617ad171cd7a6ebee53f308dd53894314 (plain)
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
/**
 * Created by obarda on 11/6/2016.
 */

interface CytoscapeEdgeEditation {
    new(): CytoscapeEdgeEditation;

    init(cy: Cy.Instance, handleSize?: number):void;
    registerHandle(handle: Handle): void;
}

interface Handle {
    positionX: string,
    positionY: string,
    offsetX?: number,
    offsetY?: number,
    color: string,
    type: string,
    single: boolean,
    nodeTypeNames: Array<string>;
    imageUrl: string;
    lineWidth: number;
    lineStyle: string;
}

declare var CytoscapeEdgeEditation: CytoscapeEdgeEditation;