charturbo - v0.1.0
    Preparing search index...

    Interface RawGraphData

    interface RawGraphData {
        clusters?: Uint16Array<ArrayBufferLike>;
        colors?: Float32Array<ArrayBufferLike>;
        edges?: Uint32Array<ArrayBufferLike>;
        edgeWeights?: Float32Array<ArrayBufferLike>;
        masses?: Float32Array<ArrayBufferLike>;
        positions: Float32Array;
    }
    Index
    clusters?: Uint16Array<ArrayBufferLike>

    Optional node cluster IDs [c0, c1, ...] (length = N)

    colors?: Float32Array<ArrayBufferLike>

    Optional node RGBA colors [r0, g0, b0, a0, ...] in [0, 1] (length = 4 * N)

    edges?: Uint32Array<ArrayBufferLike>

    Flat edge endpoint index pairs [src0, dst0, src1, dst1, ...] (length = 2 * E)

    edgeWeights?: Float32Array<ArrayBufferLike>

    Optional edge weights [w0, w1, ...] (length = E, defaults to 1.0)

    masses?: Float32Array<ArrayBufferLike>

    Optional node masses [m0, m1, ...] (length = N, defaults to 1.0)

    positions: Float32Array

    Flat [x0, y0, z0, x1, y1, z1, ...] coordinates (length = 3 * N)