aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/typings/cytoscape/edge-editation.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-ui/typings/cytoscape/edge-editation.d.ts')
-rw-r--r--catalog-ui/typings/cytoscape/edge-editation.d.ts28
1 files changed, 28 insertions, 0 deletions
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<string>;
+ imageUrl: string;
+ lineWidth: number;
+ lineStyle: string;
+}
+
+declare var CytoscapeEdgeEditation: CytoscapeEdgeEditation;
+
+declare function require(name:string); \ No newline at end of file