(id, kind, filePath, extra = {})
| 8 | const state = await importBundledModule(statePath); |
| 9 | |
| 10 | function node(id, kind, filePath, extra = {}) { |
| 11 | return { |
| 12 | id, |
| 13 | kind, |
| 14 | name: extra.name || id, |
| 15 | qualified_name: extra.qualified_name || id, |
| 16 | file_path: filePath, |
| 17 | ...extra, |
| 18 | }; |
| 19 | } |
| 20 | |
| 21 | function edge(source, target, kind = "calls", extra = {}) { |
| 22 | return { source, target, kind, ...extra }; |
no outgoing calls
no test coverage detected