CoatiSoftware / Sourcetrail

Sourcetrail - free and open-source interactive source explorer
https://www.sourcetrail.com/
GNU General Public License v3.0
14.29k stars 1.33k forks source link

Add hints for inherithed and overridden methods #1223

Closed MatteoRagni closed 2 years ago

MatteoRagni commented 2 years ago

Hi there,

SourceTrail is really fantastic, keep up with the great job.

I'm here to suggest a feature to improve (IMHO) the visualization. This can be useful in C++, at least for classes with a quite big interface. It can be useful to show on class methods in the graph some graphical suggestion for inherited and overridden methods (something like a slightly different color, a dashed border or a small icon on the badge of the method)

What do you think?

(I'm on version 2021.1.31-64bit DB v.25 for linux)

mlangkabel commented 2 years ago

Thanks for the suggestion, but the spirit of Sourcetrail is to keep the interface easy to read. If there is lots of different colors ur other UI dimensions that the user needs to remember, it is getting much harder to use. The philosophy of Sourcetrail is "focus" and "info on demand". So if the user focusses (clicks) on the method of interest, Sourcetrail then shows the edges to overridden/overriding methods.