Commit e74d3f5
committed
Refactor dependency link creation in graph visualization for improved efficiency
- Introduced a Set for quick lookup of node IDs to filter out external dependencies.
- Ensured that dependencies are iterated only if they are in array format.
- Added checks to confirm the existence of both source and target nodes before creating links.1 parent 1bd288f commit e74d3f5
1 file changed
+15
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
842 | 842 | | |
843 | 843 | | |
844 | 844 | | |
845 | | - | |
846 | | - | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
847 | 849 | | |
848 | 850 | | |
849 | | - | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
850 | 854 | | |
851 | | - | |
852 | | - | |
853 | | - | |
854 | | - | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
855 | 862 | | |
856 | 863 | | |
857 | | - | |
| 864 | + | |
858 | 865 | | |
859 | 866 | | |
860 | 867 | | |
| |||
0 commit comments