Initial DesignInputs Base app file path(app.js,main.js,etc) Processing Starting from the root directory, fetch a list of all imports. Iterate through the imports, then generate a list of node. When stepping into the next node, generate an edge. Repeat. Outputs Interface to display nodes and their edges Notes Use Depth first search to explore all possible paths using a stack. Store visited paths due to the fact some imports are circular, so we need to avoid infinite loops. |