UNPKG

trassel

Version:
12 lines (11 loc) 375 B
/** * 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";