Can anyone suggest a good opensource or free app for dependency mapping?
I have a large monolithic django application with lot of apps and I want to study each app's imports and dependency. This also can help me remove cyclic dependencies.

  • 1
    probably not helpful but if you could map it via text (command line) and then visualizing it with gephi graph tool. You could create a map of the app and it's relations. https://gephi.org/
  • 1
    @heyheni thanks. That's a great tool for mapping. By text you mean, we take all the import parts of the python file as txt files and use the tool right?
  • 0
    There is also a new awesome handbook from designers of the EU climate change commission on how to map complex systems. So that you can visualize it to make desicions.

    Ebook PDF 100mb
    Challenge-led System Mapping
    A Knowledge management approach

    Skip the first 50 pages or so. That's where the good stuff starts.
    If you master this you'll impress management.
  • 1
    @deeaarbee yeah as a csv.
    Read the gephi readme on how to make the node edges.
    csv gephi tutorial
  • 1
    also if you got some budget on hand exaptive is the more easier option than gephi and it has some intigrations with other tools like machine learning.

  • 1
    @heyheni wow thanks for the suggestions!
    Let me try out the simple one first to achieve my goal. Then I'll try to improve on top of that.
  • 0
    @deeaarbee any luck with your endeavor so far? 🙂
  • 1
    @heyheni I tried pydeps, a python package to get the list of imports from each modules and I am using that to fill up the CSV file. Will do the graph once I complete the CSV file.

    Pydeps also have option to plot graphs using the tool you mentioned. Going to try that also.
Add Comment