summaryrefslogtreecommitdiffstats
path: root/catalog-ui/typings/cytoscape/edge-editation.d.ts
blob: e5ebd709b2aa06da4402da35f0a596bdee2c7a90 (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
28
/**
 * 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;

declare function require(name:string);