r/pythontips • • Jan 08 '25

Module "Does anyone have experience with Python and program representations in Structorizer or Nassi-Shneiderman diagrams? I'm at my wit's end."

pls Help me :(

2 Upvotes

2 comments sorted by

1

u/reddishdiana 18m ago

Late reply, but for anyone who finds this through search: NS diagrams are a pain to draw by hand, so I built a free browser editor for them, AriadneNSD (I'm the author, it's open source): https://ariadnensd.com/

It doesn't parse Python on its own, but you can give your code to an AI like ChatGPT, Gemini or Claude with the request on this page, and it gives you a link that opens the diagram in the editor, where you can fix it up: https://ariadnensd.com/manual/#ai

If you use Claude, there's also a skill, so "draw this function as an NS chart" is enough. And under Diagram › Document Settings you can set the block text language to Python to get syntax highlighting in the boxes.

1

u/JohnCC330 Feb 06 '25

Hi there Module

I've been a fan of Nassi_shneiderman diagrams for years, but never had time to dedicate myself fully. Since a couple of weeks, i've been studying Structorizer to try and generate code. Though the manual is _not_ easy to digest or use as a tutorial, after a while, the software 'grows' on you.

`I'm at my wit's end` is not a very helpful description. Can you elaborate?