Function buildAssemblyTree
buildAssemblyTree( nodeMap: { nodes: Record< string, { children?: string[]; childrenIds?: string[]; id: string; name: string }, >; roots: string[]; },): any[] Parameters
- nodeMap: {
nodes: Record<
string,
{ children?: string[]; childrenIds?: string[]; id: string; name: string },
>;
roots: string[];
}
Returns any[]
Builds a nested assembly tree from a node map. Missing node references are skipped.