Legacy tutorials (JavaScript 0.2)
DRAKON is a simple language. People understand DRAKON flowcharts without knowing DRAKON. Making DRAKON diagrams is not very difficult either because Drakon.Tech automates diagram editing. With Drakon.Tech, your flowcharts will always follow the strict rules of DRAKON.
Here are some step-by-step guides that cover most of Drakon.Tech's features. These guides will help you get started with programming in Drakon.Tech.
The tutorials require some knowledge of JavaScript programming.
Tutorial 1. Hello world!
Create your first app in Drakon.Tech. Projects, modules, main function, and code generation.
Tutorial 2. Variables and functions
Tutorial 3. Basic flow control
The Question icon that works like the if statement. Decision trees with the Question icon.
Tutorial 4. Choice
If there are multiple options, use the Choice icon.
Tutorial 5. For each loop
Tutorial 6. The arrow loop
The "do-while" loop, the "while" loop, and the hybrid loop.
Tutorial 7. Silhouette
Divide and conquer long flows with silhouette.
Tutorial 8. Lambdas and exceptions
Tutorial 9. Modules
- Programs and modules
- How to add a module dependency
- How to use a dependency
- How to add an npm package
- How to run Node.js programs
- How to debug programs with npm dependencies in the browser
- How to build browser programs with npm dependencies
- How to add a Node-native "require" statement that does not need an npm package
Tutorial 10. Concurrent programming with scenarios
- How to make an async function
- Scenarios are a more powerful alternative to async functions
- How to create a scenario
- The "sm" object
- The End is not necessary
- How to start a scenario from a regular function
- The "self" object
- How to accept a message in a scenario
- How to run an operation with a callback in a scenario
- How to wait for messages of several types
- How to call a scenario from a scenario
- How to cancel a scenario
- How to pause a scenario
- Scenarios are state machines
Tutorial 11. Working with source control
- How to commit the project in its current state to source control
- How to restore a project committed to source control in the past