MVFv3 API Documentation
    Preparing search index...

    Type Alias NodeCollection

    A NodeCollection is a FeatureCollection of NodeFeatures on a single floor.

    There may be more than one discrete graph of connected nodes, if there are things like Connections separating them.

    type NodeCollection = {
        type: "FeatureCollection";
        features: {
            geometry: { coordinates: [number, number]; type: "Point" };
            properties: {
                id: `n_${string}`;
                neighbors: (
                    { extraCost: number; id: `n_${string}` } & { flags: number[] }
                )[];
            } & { geometryIds: `g_${string}`[] };
            type: "Feature";
        }[];
    }
    Index

    Properties

    Properties

    type: "FeatureCollection"
    features: {
        geometry: { coordinates: [number, number]; type: "Point" };
        properties: {
            id: `n_${string}`;
            neighbors: (
                { extraCost: number; id: `n_${string}` } & { flags: number[] }
            )[];
        } & { geometryIds: `g_${string}`[] };
        type: "Feature";
    }[]