diff --git a/webcola/webcola.d.ts b/webcola/webcola.d.ts index d9ce39c68..b8794f31e 100644 --- a/webcola/webcola.d.ts +++ b/webcola/webcola.d.ts @@ -29,6 +29,24 @@ declare module WebCola{ start(): void; stop(): void; } + + interface FlowLayout{ + axis: string; + minSeparation?: number; + } + + interface Options { + avoidOverlaps?: boolean; + convergenceThreshold?: number; + constraints?: {[key: string]: any}[]; + flowLayout?: FlowLayout; + handleDisconnected?: boolean; + linkDistance?: number; + initialUnconstrainedIterations?: number; + initialUserConstraintIterations?: number; + initialAllConstraintsIterations?: number; + symmetricDiffLinkLengths?: number; + } } declare var cola: WebCola.Cola;