gllmflndn / m2html

M2HTML: Documentation System for MATLAB and Octave
https://www.gllmflndn.com/software/matlab/m2html/
GNU General Public License v3.0
15 stars 7 forks source link

m2html in Graph Viz missing subfunctions and connections when called through a subfunction #6

Open mmiiikkee opened 3 years ago

mmiiikkee commented 3 years ago

Support for subfunctions in dependency graph is desired. Thank you! For example:

doA.m: function doA(a) doB(2) end function doB(b) doC(3) end

doC.m: function doC(c) ... end

When m2html is run with 'graph', 'on' options, the resulting dependency graph.png does not show function doB and does not show a dependency line between doA and doC.

gllmflndn commented 3 years ago

Thanks for the feature request. Subfunctions do not indeed appear in the dependency graph and it could be added as an optional functionality. In your example, the dependency graph shows a link between doA and doC though: graph