(node: Node)
| 61 | } |
| 62 | |
| 63 | export function getNodePath(node: Node): Node[] { |
| 64 | const path = [node] |
| 65 | let parent = node.parent |
| 66 | while (parent) { |
| 67 | path.unshift(parent) |
| 68 | parent = parent.parent |
| 69 | } |
| 70 | return path |
| 71 | } |
| 72 | |
| 73 | export function createStructure() { |
| 74 | const ctx = useAppCtx() |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…