VisuStruct - the Visual Structogram Editor

VisuStruct is the visual structogram editor for Nassi-Shneiderman diagrams: model algorithms, test the flow step by step in the diagram, and generate program code from it — logic before syntax.

With drag & drop, your structogram takes shape on Mac, iPad, Windows, and Linux. The free app guides you from planning through testing to programming — all within the structogram.

For school and teaching

VisuStruct is a structogram editor that grew out of everyday teaching practice: it is used at a vocational school and continuously developed alongside real classroom use.

At its core is a didactic approach: algorithms can be modeled freely — from the diagram through simulation to program code.

The usual workflow — plus simulation and code

Layout and export

VisuStruct does this too: what many structogram editors focus on — clear diagrams.

  • write blocks with plain text
  • lay out the diagram and export as image or PDF
  • draw and edit Nassi-Shneiderman structograms

Optional: simulate and generate code

On the same model, you can add simulation and code export when you need them.

  • step through the flow; see the active block and variables
  • generate code for Java, Python, and JavaScript from the same diagram
  • for runs and reliable export: phrase steps executable using Java-like code (assignments, expressions). Descriptive sentences alone are enough for layout and export.

From structogram to program code

VisuStruct generates code from your diagram for Java, Python, and JavaScript — ideal for understanding algorithms visually first and then moving into real program code.

Java

Java code can be copied into your own IDE, then compiled, tested, or extended.

JavaScript

You can run and try generated JavaScript code directly inside the app.

Python

Python code can be pasted directly into a Python notebook and continued there.

Test your algorithm — step by step

Hit Start — and your diagram runs. You see which block is currently active, how the variables change, and where your loop ends up. Logic errors jump out at you — and when everything fits, you have the proof that your algorithm works.

SwiftUI app for Mac, iPad & iPhone

VisuStruct is available as a native SwiftUI app for Mac, iPad, and iPhone (App Store).

Java app for Windows, macOS & Linux

For the desktop: build your structogram via drag & drop from the palette, rearrange steps, and export results (e.g. as PNG). You need a Java Runtime Environment (JRE), e.g. Eclipse Temurin from Adoptium.

Key features

Algorithm first, then code

Start with logic and flow — your algorithm. Then express the same structure with syntax, in whatever programming language you choose — step by step and easy to follow.

Get VisuStruct

Open source

The Java desktop app is released under the MIT license — source and contributions on GitHub (LICENSE).

Free download

The .jar is available from GitHub Releases at no charge. For the native SwiftUI app, see the App Store listing.

Privacy

The apps do not collect personal data; diagrams stay on your device. A short summary is in Privacy below.

Mac, iPad & iPhone

Download VisuStruct for Apple devices directly from the App Store — a native app with drag & drop, simulation, and code generation.

Privacy policy – use of VisuStruct

Privacy-friendly (GDPR): VisuStruct does not collect or store personal data. Your structograms and .visustruct files stay under your control — you decide whether to keep them on your device or back them up (for example) in your own cloud.

If you use linked services related to the app (e.g. App Store, GitHub), the privacy terms of those providers apply; they may process data there. This website is served from a server; as usual, technical server log data is generated.

Contact

Holger Sebastiao

Konstanzer Straße 47, 60386 Frankfurt