<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Create flow chart from python script in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/create-flow-chart-from-python-script/m-p/1651199#M74708</link>
    <description>&lt;P&gt;Are you talking about making a flowchart in Python? Or making something similar to Model Builder's graphical programming? If it's the latter, you will need to create a new environment and include a package like Ryven unless you want to just implement all that yourself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can also create a toolbox and just use Model Builder with your own tool functions which isn't too difficult as long as you properly implement the wrapper object code&lt;/P&gt;</description>
    <pubDate>Wed, 17 Sep 2025 19:51:56 GMT</pubDate>
    <dc:creator>HaydenWelch</dc:creator>
    <dc:date>2025-09-17T19:51:56Z</dc:date>
    <item>
      <title>Create flow chart from python script</title>
      <link>https://community.esri.com/t5/python-questions/create-flow-chart-from-python-script/m-p/1651136#M74703</link>
      <description>&lt;P&gt;Does anyone know if there is a way to generate flow chart (or flow diagram) of python scripts?&amp;nbsp; I would like to use something that is supported by the modules available in ArcGIS Pro's Package manager so I don't break anything.&amp;nbsp; In a perfect world, I'd be able to take existing scripts and either include them in a list to create a diagram from, or a directory of scripts, etc.&amp;nbsp; I have a bunch of scripts I have created and being able to graphically see the logic/flow of potential options would be incredibly helpful to see what will happen where/when.&amp;nbsp; I've been searching and reading for several days on this and trying to find a viable solution.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Sep 2025 17:56:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/create-flow-chart-from-python-script/m-p/1651136#M74703</guid>
      <dc:creator>ShareUser</dc:creator>
      <dc:date>2025-09-17T17:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Create flow chart from python script</title>
      <link>https://community.esri.com/t5/python-questions/create-flow-chart-from-python-script/m-p/1651140#M74704</link>
      <description>&lt;P&gt;untested by me, but most recommended online&lt;/P&gt;&lt;P&gt;&lt;A href="https://pypi.org/project/pyflowchart/" target="_blank"&gt;pyflowchart · PyPI&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Sep 2025 18:11:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/create-flow-chart-from-python-script/m-p/1651140#M74704</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2025-09-17T18:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: Create flow chart from python script</title>
      <link>https://community.esri.com/t5/python-questions/create-flow-chart-from-python-script/m-p/1651199#M74708</link>
      <description>&lt;P&gt;Are you talking about making a flowchart in Python? Or making something similar to Model Builder's graphical programming? If it's the latter, you will need to create a new environment and include a package like Ryven unless you want to just implement all that yourself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can also create a toolbox and just use Model Builder with your own tool functions which isn't too difficult as long as you properly implement the wrapper object code&lt;/P&gt;</description>
      <pubDate>Wed, 17 Sep 2025 19:51:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/create-flow-chart-from-python-script/m-p/1651199#M74708</guid>
      <dc:creator>HaydenWelch</dc:creator>
      <dc:date>2025-09-17T19:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: Create flow chart from python script</title>
      <link>https://community.esri.com/t5/python-questions/create-flow-chart-from-python-script/m-p/1651206#M74709</link>
      <description>&lt;P&gt;Thank you Dan - I did see multiple references to pyflowchart, but it's not in ArcGIS Pro's Package Manager as&amp;nbsp; available options.&amp;nbsp; I was thinking that loading something in to the cloned virtual environment that is not listed in the Package Manager would not be a good idea due to potential conflicts or messing up the cloned environment.&amp;nbsp; Am I mistaken in that?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Sep 2025 20:00:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/create-flow-chart-from-python-script/m-p/1651206#M74709</guid>
      <dc:creator>TimDe_Troye</dc:creator>
      <dc:date>2025-09-17T20:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Create flow chart from python script</title>
      <link>https://community.esri.com/t5/python-questions/create-flow-chart-from-python-script/m-p/1651225#M74710</link>
      <description>&lt;P&gt;Hayden - what I'd like to do is generate a flow chart of one or more of my python scripts so I can visually see how the code flows and what functions are to be run in what order.&amp;nbsp; I'd like to be able to regenerate the flow chart whenever I want, such as after doing major edits on a given script.&amp;nbsp; I created a basic idea of it below...&lt;/P&gt;</description>
      <pubDate>Wed, 17 Sep 2025 20:21:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/create-flow-chart-from-python-script/m-p/1651225#M74710</guid>
      <dc:creator>TimDe_Troye</dc:creator>
      <dc:date>2025-09-17T20:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Create flow chart from python script</title>
      <link>https://community.esri.com/t5/python-questions/create-flow-chart-from-python-script/m-p/1651235#M74711</link>
      <description>&lt;P&gt;make a clone of the arcgispro-py3 environment and pip install it there&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/get-started/what-is-conda.htm" target="_blank"&gt;Package Manager—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;it is a long information filled link so read on&lt;/P&gt;</description>
      <pubDate>Wed, 17 Sep 2025 20:33:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/create-flow-chart-from-python-script/m-p/1651235#M74711</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2025-09-17T20:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Create flow chart from python script</title>
      <link>https://community.esri.com/t5/python-questions/create-flow-chart-from-python-script/m-p/1651284#M74714</link>
      <description>&lt;P&gt;You can probably use networkx which is in the standard acpy environment to build a graph, then visualize it using pyplot. You can also use the standard ast library to introspect your script and see all the relationships.&lt;/P&gt;&lt;P&gt;I've also just used requests to post runs with info to a database that I then inspect using external dataviz. That's useful if you want to log runs for a tool that's being used in production.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Sep 2025 22:07:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/create-flow-chart-from-python-script/m-p/1651284#M74714</guid>
      <dc:creator>HaydenWelch</dc:creator>
      <dc:date>2025-09-17T22:07:19Z</dc:date>
    </item>
  </channel>
</rss>

