From 451a3400b76511393c62a444f588a4ed15f4a549 Mon Sep 17 00:00:00 2001 From: Michael Lando Date: Sun, 19 Feb 2017 10:28:42 +0200 Subject: Initial OpenECOMP SDC commit Change-Id: I0924d5a6ae9cdc161ae17c68d3689a30d10f407b Signed-off-by: Michael Lando --- catalog-ui/typings/cytoscape/edge-editation.d.ts | 28 ++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 catalog-ui/typings/cytoscape/edge-editation.d.ts (limited to 'catalog-ui/typings/cytoscape/edge-editation.d.ts') diff --git a/catalog-ui/typings/cytoscape/edge-editation.d.ts b/catalog-ui/typings/cytoscape/edge-editation.d.ts new file mode 100644 index 0000000000..e5ebd709b2 --- /dev/null +++ b/catalog-ui/typings/cytoscape/edge-editation.d.ts @@ -0,0 +1,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; + imageUrl: string; + lineWidth: number; + lineStyle: string; +} + +declare var CytoscapeEdgeEditation: CytoscapeEdgeEditation; + +declare function require(name:string); \ No newline at end of file -- cgit 1.2.3-korg