pip install code2flow
python
from code2flow import FlowChart
def add_numbers(a, b):
return a + b
def multiply_numbers(a, b):
return a * b
if __name__ == '__main__':
chart = FlowChart()
chart.add_functions([add_numbers, multiply_numbers])
chart.build_chart('my_chart.png')