mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
adding forceAtlas layout typings
This commit is contained in:
1 parent
1ce2b93c5c
commit
8205d92f1b
2 files changed
+17
No files matched your search
@@ -53,4 +53,13 @@ module SigmaJsTests {
|
||||
sigma.parsers.gexf('myGraph.gexf', s, () => {
|
||||
s.refresh();
|
||||
});
|
||||
|
||||
s.configForceAtlas2({
|
||||
worker: true
|
||||
});
|
||||
|
||||
s.isForceAtlas2Running();
|
||||
s.killForceAtlas2();
|
||||
s.startForceAtlas2();
|
||||
s.stopForceAtlas2();
|
||||
}
|
||||
Vendored
+8
@@ -96,6 +96,14 @@ declare module SigmaJs{
|
||||
kill(): void;
|
||||
refresh(): void;
|
||||
renderers: Renderer[];
|
||||
|
||||
// forceAtlas2 layout
|
||||
configForceAtlas2(configs: { [key: string]: any }): void;
|
||||
isForceAtlas2Running(): boolean;
|
||||
killForceAtlas2(): void;
|
||||
startForceAtlas2(): void;
|
||||
startForceAtlas2(configs: { [key: string]: any }): void;
|
||||
stopForceAtlas2(): void;
|
||||
}
|
||||
|
||||
interface SigmaConfigs {
|
||||
|
||||
Reference in new issue
Block a user