python import code2flow flowchart = code2flow.Flowchart() code = ''' x = 10 if x > 5: y = x * 2 else: y = x + 2 print(y) ''' flowchart.from_code(code) image = flowchart.render() flowchart.show()


上一篇:
下一篇:
切换中文