I'm looking to create doxygen documentation for my code that includes dot graphs for function calls, but I want it to include possible function calls that are called from function objects. For example:
def main():
funcall(Test)
funcall(TestTwo)
def funcall(obj):
obj()
def Test():
print('Test')
def TestTwo():
print('Test two')
I'd like to have a dot graph that shows a connection from main->funcall, and from funcall->Test and funcall->TestTwo. It doesn't need to be automated, if there's a way to just tell doxygen that these are existing connections and should be shown on the call graph in a cleaner way than adding if(0): Test()
. Is this possible?