Re: Your scripts as a flowchart

2024-12-04 Thread Andreas Bergendal via use-livecode
Oh crap - yes, I see what you mean! I thought the latest Mermaid version had that sorted out, but apparently not. In the flowchart settings (the cogwheel next to the Create flowchart button), change the Mermaid version to 10.5.1. That fixes it. I will make that the default version again, updat

Re: Your scripts as a flowchart

2024-12-04 Thread Bob Sneidar via use-livecode
I get Syntax Error in Text when attempting a flow chart. It’s a large project. Bob S > On Dec 4, 2024, at 11:53 AM, Andreas Bergendal via use-livecode > wrote: > > Since the list is not very busy these days, I don’t feel too spammy posting a > minor update announcement again. :) > > The WI

Re: Your scripts as a flowchart

2024-12-04 Thread Andreas Bergendal via use-livecode
Since the list is not very busy these days, I don’t feel too spammy posting a minor update announcement again. :) The WIS_ScriptDependencies v1.2.1 release fixes a bug so that PNGs/SVGs of flowcharts can always be produced. Setting the httpHeaders to "Content-Type: text/plain" fixed it. Downloa

Re: Your scripts as a flowchart

2024-11-22 Thread Andreas Bergendal via use-livecode
A new WIS_ScriptDependencies update: v1.2.0 (22 Nov 2024) Finally, in the most recent versions of LiveCode, the browser widget on Windows is upgraded and can run Mermaid code! - Enhancement: Flowcharts can now be displayed in the browser widget also on Windows, when using LC versions 9.6.13 (r

Re: Your scripts as a flowchart

2023-12-13 Thread Andreas Bergendal via use-livecode
Latest WIS_ScriptDependencies update: 1.1.6 (12 Dec 2023) - Enhancement: If the Kroki service is down, so no png/svg can be produced, a dialog is presented giving the choice to render the flowchart as html instead - Enhancement: Improved design of the help section and the flowchart settings pane

Re: Your scripts as a flowchart

2023-12-03 Thread Derek Bump via use-livecode
My apologies, Andreas, I forget about Dark Mode being a bit finicky on my daily driver. Purely a personal preference which I've resolved, but I dropped the snapshots in the forum if you're still interested. Please disregard. Otherwise I appreciate the quick response. I'm back on track, and wil

Re: Your scripts as a flowchart

2023-12-03 Thread Andreas Bergendal via use-livecode
Thanks for the feedback, Derek! 1. I get an Error 400 when trying for a flowchart of a monster stack with 180+ handlers with many interdependencies. This seems to be due to exceeding the upper limit of what the Mermaid/Kroki services can handle in therms of ”edges”. The graph is simply too comp

Re: Your scripts as a flowchart

2023-12-03 Thread Derek Bump via use-livecode
Thank you, Andreas, this is very cool and quite helpful! Some feedback to pass along for consideration: 1. I keep getting an Error 400 when creating a flowchart, and it seems to have something to do with the "Group per handler host" checkbox. If you toggle it in the right order, the chart wil

Re: Your scripts as a flowchart

2023-11-30 Thread Andreas Bergendal via use-livecode
Hi all, Finally I can answer Yes to the question on exporting script flowcharts! New version of WIS_ScriptDependencies available: v1.1.5 (30 Nov 2023) - Enhancement: Flowcharts can now be produced and exported as PNG or SVG. On Windows and Linux the flowchart is now always displayed in-stack,

Re: Your scripts as a flowchart

2023-09-22 Thread David Bovill via use-livecode
Hi Andreas, quick note - I've not read the full thread - but I have a code graph browser that I have been using for a number of years - it is a big piece of work - so not easy to distribute - and many of the parts should probably be done better / differently. I would Love to make use / integrate th

Re: Your scripts as a flowchart

2023-09-18 Thread Andreas Bergendal via use-livecode
Getting a full export is a tricky business, and I’m looking at various solutions. The easiest workaround is to launch the flowchart in a web browser and print to PDF from there. On Windows/Linux the flowchart is shown that way anyway, and on Mac you load it in a web browser by shift-clicking t

Re: Your scripts as a flowchart

2023-09-17 Thread Geoff Canyon via use-livecode
Is there a way to export the entire flowchart, instead of just the portion currently displayed? As an aside, I don't know whether to be proud or horrified at the map Navigator produces... On Sat, Sep 16, 2023 at 8:04 PM Geoff Canyon wrote: > Ah, okay, that explains it. In Navigator, *everything

Re: Your scripts as a flowchart

2023-09-16 Thread Geoff Canyon via use-livecode
Ah, okay, that explains it. In Navigator, *everything* is a script-only stack behavior. In a few of the substacks there are scripts for a few template objects or where script-only-stack behaviors were inconvenient (I don't remember why, honestly). That has it working, and the resulting diagram is

Re: Your scripts as a flowchart

2023-09-16 Thread Andreas Bergendal via use-livecode
As long as you include all the script-only stacks in the analysis, they will be handled. The tool will not look for behaviors and auto-include them. Every stack that has relevant code must be included manually in the project pane. If you have many SoSs, you can quickly add them all by adding the

Re: Your scripts as a flowchart

2023-09-16 Thread Geoff Canyon via use-livecode
I didn't change anything before generating, and the flow chart is literally blank -- unless it: 1. scrolls invisibly 2. keeps returning the project name to the upper left while scrolling 3. has *at least* 30 screens' worth of blank space at the top? On Sat, Sep 16, 2023 at 1:35 PM J. Landman Gay

Re: Your scripts as a flowchart

2023-09-16 Thread J. Landman Gay via use-livecode
That happened to me too with a very long script. To keep everything in view there's a lot of white space. Keep scrolling. This happens only if you have set it to use unlimited sizing. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On Sept

Re: Your scripts as a flowchart

2023-09-16 Thread Geoff Canyon via use-livecode
Does it not handle script-only stack behaviors? I get a blank display for Navigator (which has no code other than SoS behaviors). gc On Fri, Sep 15, 2023 at 10:32 AM Andreas Bergendal via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi all! > > Those frequenting the forums may have see

Re: Your scripts as a flowchart

2023-09-15 Thread Bob Sneidar via use-livecode
I was gonna say, I didn’t know he had a brother who was a LiveCoder too! Bob S > On Sep 15, 2023, at 9:12 AM, Andreas Bergendal via use-livecode > wrote: > > Thanks, that’s great to hear, Mark! (And terribly sorry for the credit > misnaming - it’s Mark! I’ll remember that now!) > >> 15 sep

Re: Your scripts as a flowchart

2023-09-15 Thread Andreas Bergendal via use-livecode
Thanks, that’s great to hear, Mark! (And terribly sorry for the credit misnaming - it’s Mark! I’ll remember that now!) > 15 sep. 2023 kl. 17:47 skrev Mark Wieder via use-livecode > : > > Just want to add that Andreas has been super-responsive to suggestions re > adding features and improving t

Re: Your scripts as a flowchart

2023-09-15 Thread Roger Guay via use-livecode
Very cool! Thank you for sharing it, Andreas. Roger > On Sep 15, 2023, at 7:30 AM, Andreas Bergendal via use-livecode > wrote: > > Hi all! > > Those frequenting the forums may have seen this already, but I thought I'd > share it here too now: > > If you want to see a graphic map of the int

Re: Your scripts as a flowchart

2023-09-15 Thread Mark Wieder via use-livecode
Just want to add that Andreas has been super-responsive to suggestions re adding features and improving things and this tool has gone from being moderately useful to something I can't do without. And is a textbook example in how to incorporate a javascript library into LiveCode. -- Mark Wiede

Re: Your scripts as a flowchart

2023-09-15 Thread Bob Sneidar via use-livecode
Very cool. I’ll give it a try. But whereas most people’s code will look like a bowl of spaghetti, mine will probably look like Whoppi Goldberg’s hair. Bob S > On Sep 15, 2023, at 7:30 AM, Andreas Bergendal via use-livecode > wrote: > > Hi all! > > Those frequenting the forums may have seen

Re: Your scripts as a flowchart

2023-09-15 Thread Mark Smith via use-livecode
Very cool Andreas. I look forward to trying this out. Mark > On 15 Sep 2023, at 3:30 pm, Andreas Bergendal via use-livecode > wrote: > > Hi all! > > Those frequenting the forums may have seen this already, but I thought I'd > share it here too now: > > If you want to see a graphic map of t

Your scripts as a flowchart

2023-09-15 Thread Andreas Bergendal via use-livecode
Hi all! Those frequenting the forums may have seen this already, but I thought I'd share it here too now: If you want to see a graphic map of the inter-relations of all the handlers in the scripts of your LiveCode projects, my tool ScriptDependencies now features an extremely cool flowchart ou