1include "library";
2
3[((moduleGraphNoVariants | removeSelfEdges) as $m |
4  [$arg] |
5  transitiveDeps($m)) as $names |
6  .[] |
7  select (IN(.Name; $names | .[]))] |
8  sort_by(.Name)
9
10
11