add sigmajs image typing

This commit is contained in:
Qinfeng Chen
2015-02-17 15:05:39 -05:00
parent 49b821f06b
commit 0adb1dae5a
+8
View File
@@ -74,6 +74,14 @@ declare module SigmaJs{
nodes(ids: string[]): Node[];
}
interface Image {
clip?: number;
scale?: number;
url?: string;
x?: number;
y?: number;
}
interface Miscellaneous {
animation: Animation;
}