(from: string, to: string, edgeType: string = 'related')
| 13 | }); |
| 14 | |
| 15 | const createEdge = (from: string, to: string, edgeType: string = 'related'): Edge => ({ |
| 16 | type: 'edge', |
| 17 | from, |
| 18 | to, |
| 19 | edgeType |
| 20 | }); |
| 21 | |
| 22 | const createGraph = (nodes: Node[] = [], edges: Edge[] = []): Graph => ({ |
| 23 | nodes, |
no outgoing calls
no test coverage detected