Home > @tridion-sites/models > BlueprintGraph
Signature:
export declare class BlueprintGraph<TData> implements BlueprintReadonlyGraph<TData>
Implements: BlueprintReadonlyGraph
Constructor | Modifiers | Description |
---|---|---|
(constructor)() | Constructs a new instance of the BlueprintGraph class |
Property | Modifiers | Type | Description |
---|---|---|---|
addNode | (nodeId: string, data: TData) => BlueprintGraph<TData> | ||
ancestorsByPriority | (nodeId: string) => Iterable<BlueprintReadonlyParentLink<TData>> | ||
getNode | (nodeId: string) => BlueprintReadonlyGraphNode<TData> | undefined | ||
getNodes | () => ReadonlyArray<BlueprintReadonlyGraphNode<TData>> | ||
getRootNode | () => BlueprintReadonlyGraphNode<TData> | ||
linkParent | (nodeId: string, parentId: string, priority: number) => BlueprintGraph<TData> | ||
nodes | Iterable<BlueprintReadonlyGraphNode<TData>> | ||
size | number |