No Description

stepan-mitkin f52e727640 DrakonLua and DrakonJS: improved variable detection 3 days ago
DRAKONEditor 915bea0354 Erlang examples from EUC 2015 3 years ago
art 1a803fb3a5 Moving to Git 4 years ago
docs 195b7816ad docs moved to respective folders 4 years ago
examples f09c53e2af added a simplified modify expression 4 weeks ago
fonts 1a803fb3a5 Moving to Git 4 years ago
generators f52e727640 DrakonLua and DrakonJS: improved variable detection 3 days ago
images 1a803fb3a5 Moving to Git 4 years ago
msgs f4b9f9360e Manually merged the changes C2 generators from @alexey-gavrilov 1 month ago
pdf4tcl07 1a803fb3a5 Moving to Git 4 years ago
sandbox 74900e7ab1 Committing lib.c ... 4 years ago
scripts f52e727640 DrakonLua and DrakonJS: improved variable detection 3 days ago
structure 356aa9ad2c fixing native foreach with complex exit 2 years ago
testdata ed93ef239a Colors updated, AutoHotkey and Verilog syntax highlighting 4 years ago
tmp bc3fdc8b5d regenerated after short-circuit fix 2 years ago
tools 1a803fb3a5 Moving to Git 4 years ago
unittest 356aa9ad2c fixing native foreach with complex exit 2 years ago
.gitignore 6a15615913 C# drn file can be without a class 2 months ago
README.md 26d9bbf176 A few more improvements to the README 3 months ago
copy_to_launcher.sh 1a803fb3a5 Moving to Git 4 years ago
copy_to_launcher_rus.sh 1a803fb3a5 Moving to Git 4 years ago
drakon_editor.tcl d497b5534c File > Global settings > Language 1 year ago
drakon_gen.tcl 39bb2fa210 added lexer 1 year ago
make_mac_release.sh 3b4d82224f Go language support 2 years ago
make_release.sh 5a1b2043ee updated readme and release script 2 months ago
make_release_rus.sh 3b4d82224f Go language support 2 years ago
readme.html 5a1b2043ee updated readme and release script 2 months ago
readme_mac.html 3b4d82224f Go language support 2 years ago

README.md

How to work on DRAKON Editor source code.

  1. Before submitting patch, make sure that unit tests run without error by running unittest/unittest.tcl.

    • There will be error messages and stack traces. It's okay. The bottom line must be "success".
  2. Add new unit tests if necessary.

  3. Add newly added .drn source files to unittest/regenerate.sh

  4. If you change the code generator:

    • Update unittest/regenerate_examples.sh
    • Run unittest/regenerate_examples.sh
  5. If you want to change DRAKON Editor source code:

    • First look for .drn file of source code you want to modify, modify it, generate code from it and commit .drn file and generated file.
    • If there is no .drn file, modify existing source code file.

DRAKON

DRAKON is is an algorithmic visual programming language developed within the Buran space project. Beside programming, DRAKON is also used in medicine, law, business processes and in other non-programming related fields. The rules of DRAKON are optimized to ensure easy understanding by human beings. In DRAKON clarity is above all. DRAKON is made as much ergonomic as possible, as much human readable as possible. DRAKON makes possible to create diagrams that are cognitively optimized for easy comprehension, making it a tool for intelligence augmentation.

Why to use DRAKON than other diagramming systems?

  • No line intersections. You will never find in DRAKON diagram two or more lines intersecting each other! Not seen in other diagramming systems!
  • Silhouette structure. It allows to break one diagram in to several logical parts. Not seen in other diagramming systems!
  • No slanting or curved lines. Only straight lines with right angles.
  • Icons are placed only on vertical lines.
  • Branching is done in a simple, visible and consistent way.
  • Each diagram has one entry and one exit.

Learn DRAKON:

DRAKON Editor

DRAKON Editor is a free open source tool for authoring DRAKON diagrams. It also supports state machine diagrams, entity-relationship and class diagrams.

  • DRAKON Editor runs on Windows, Mac and Linux.
  • The user interface of DRAKON Editor is extremely simple and straightforward.
  • Software developers can build real programs with DRAKON Editor. Source code can be generated in several programming languages, including Java, Processing.org, D, C#, C/C++ (with Qt support), Python, Tcl, Javascript, Lua, Erlang, AutoHotkey and Verilog.

Homepage: http://drakon-editor.sourceforge.net/

Documentation: http://drakon-editor.sourceforge.net/editor.html

How to use release version of DRAKON Editor

Installing Tcl and required packages:

DRAKON Editor needs Tcl 8.6 or higher to run:

On Ubuntu:

sudo apt-get install tcl8.6 tk8.6 tcllib libsqlite3-tcl libtk-img

Installing and running DRAKON Editor:

  1. Download release version of DRAKON Editor from here: http://drakon-editor.sourceforge.net/editor.html#downloads

  2. Unzip archive.

  3. Run drakon_editor.tcl

How to use development version of DRAKON Editor

Warning! Development version of DRAKON Editor is not as stable as release version and is only for testing purposes.

See notes about Tcl instalation in How to use release version of DRAKON Editor section and after follow these steps:

  1. Click "Download ZIP" at current page.

  2. Unzip archive.

  3. Run drakon_editor.tcl