update sigmajs type definition file

This commit is contained in:
Qinfeng Chen
2015-01-19 13:11:05 -05:00
parent 2deb7cab53
commit eebec8ccf1
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -8,6 +8,12 @@ module SigmaJsTests {
}
});
s.settings({
maxNodeSize: 10
});
s.settings("maxNodeSize");
s.addRenderer({
type: 'canvas',
container: container
+1 -1
View File
@@ -3,7 +3,6 @@
// Definitions by: Qinfeng Chen <https://github.com/qinfchen>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
/// <reference path="../jquery/jquery.d.ts" />
declare module SigmaJs{
interface Animation {
camera(camera: Camera, target: { [index: string]: any }, options: { [index: string]: any }): number;
@@ -129,6 +128,7 @@ declare module SigmaJs{
refresh(): void;
renderers: Renderer[];
settings(key: string): any;
settings(settings: { [index: string]: any }): void;
// forceAtlas2 layout
configForceAtlas2(configs: { [key: string]: any }): void;