AC-FuSa-Tools / nav

navigate kernel database
GNU General Public License v2.0
3 stars 4 forks source link

Add Graphviz Functionality to Nav for In-Tool Diagram Display #23

Open alessandrocarminati opened 1 year ago

alessandrocarminati commented 1 year ago

The current version of nav requires users to pipe output to an external Graphviz tool like dot for generating diagrams images. This process can be time-consuming and inconvenient. Therefore, we request to incorporate Graphviz functionality within nav to allow users to generate diagrams images within the tool itself.

While the long-term goal is to create a web application for navigating code with diagram display, the objective is to maintain nav as a commandline tool. Users should be able to interact with diagrams using hyperlinks in the displayed source code.

alessandrocarminati commented 1 year ago

Check out these two branches

They've got the feature implementation Requested by this issue. Plus, on the second branch, I'm suggesting a refactor of the sql component to abstract the persistence. @mauriziopapini and I had a discussion about it and figured it could be pretty useful.