In This Article
GraphMetadataContainer
# GraphMetadataContainer
```ts
/**
* The base class for an object that can have associated graph metadata.
*/
export declare abstract class GraphMetadataContainer {
constructor(metadataFactory?: () => GraphMetadata);
/**
* Creates a new metadata object for the container.
*/
createDefaultMetadata(): GraphMetadata;
/**
* Gets the metadata for this container within a graph.
*/
getMetadata(owner: Graph): GraphMetadata;
}
```
### See Also
* [GraphMetadata](graphMetadata.md#graphmetadata)
* [GraphCategory](graphCategory.md#graphcategory)
* [GraphProperty](graphProperty.md#graphproperty)
* [API Documentation](index.md)