trassel
Version:
Graph computing in JavaScript
12 lines (11 loc) • 375 B
TypeScript
/**
* Creates a cluster component that draws a set of nodes together
* @param {number=} strength - How strong should the pull be? (0-1)
*/
export default class Cluster extends LayoutComponent {
constructor(strength?: number);
strength: number;
initialize(...args: any[]): void;
execute(alpha: any): void;
}
import LayoutComponent from "./layoutcomponent";