In This Article
  • GraphProperty
  • GraphPropertyIdLike
  • GraphProperty

    /**
     * Graph properties are used to annotate graph objects such as nodes or links.
     */
    export declare class GraphProperty<V = any> extends GraphMetadataContainer<V> {
        private constructor();
        /**
         * The unique id of the property.
         */
        get id(): GraphPropertyIdLike;
        /**
         * Gets the name of the underlying data type for this property;
         */
        get dataType(): DataType<V> | undefined;
    }
    

    See Also

    GraphPropertyIdLike

    /**
     * Represents a valid value for the id of a GraphProperty.
     */
    export declare type GraphPropertyIdLike = string | symbol;
    

    See Also