def graph
import bolt@1.27.0.0/src/lint/plan.bend as Planimport Base
import bolt@1.27.0.0/src/lint/world.bend as W
193# the files a run reads its roles from: every source the walk of the tree
194# finds, then each source of the run the walk does not find (one named
195# outside the working directory), so each file is read once. A file's role
196# follows the imports, and the file that makes a named file code, a
197# package's main.bend that imports it, may be named or not
198def graph(+world: W.World) -> List<&2, String>:
199 +found = sources(walk.found(tree(world)))
200 +cwd = W.cwd.of(world)
201 List.append(&2, String, found, unseen(inputs(world), cwd, norms(found, cwd)))