(blockIds: string[])
| 82 | * ``` |
| 83 | */ |
| 84 | export function createLinearEdges(blockIds: string[]): any[] { |
| 85 | const edges: any[] = [] |
| 86 | for (let i = 0; i < blockIds.length - 1; i++) { |
| 87 | edges.push(createEdge({ source: blockIds[i], target: blockIds[i + 1] })) |
| 88 | } |
| 89 | return edges |
| 90 | } |
no test coverage detected