Your scripts as a flowchart
irog at mac.com
Fri Sep 15 12:07:05 EDT 2023
Very cool! Thank you for sharing it, Andreas.
> On Sep 15, 2023, at 7:30 AM, Andreas Bergendal via use-livecode <use-livecode at lists.runrev.com> wrote:
> Hi all!
> Those frequenting the forums may have seen this already, but I thought I'd share it here too now:
> Here’s an example of how a script flowchart can look:
> A few easy steps to test it on your own scripts:
> 1) Download ScriptDependencies here:
> 2) Open the stack, click the top left cog wheel and add at least one stack (that has at least some handlers calling other handlers) to a project.
> 3) Close the project pane and click "Start mapping and analysis”.
> 4) Click ”Create flowchart”. Boom! :)
> On Mac, the browser widget can display the flowchart in-stack, enabling some interactivity (click a node to highlight the arrows to and from it).
> On Windows and Linux, where the browser widget has, er... room for improvement…, the flowchart is instead displayed in an external browser window (minus interactivity).
> My intention with ScriptDependencies is to provide a code analysis and live documentation tool (of some kind) for LiveCode projects. I need it myself for some big LC projects, and thought it might be useful also for other LC devs.
> The tool has been thoroughly tested by LC veterans like bn (Bernd), jacque (Jacqueline) and mwieder (Mike), who have all provided invaluable feedback and improvement suggestions, bringing the tool up to quite a professional level.
> I hope you’ll find use for it - or at least enjoy seeing your scripts presented as a bouquet of flowers, a piece of art! :)
> Any feedback is very welcome!
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode