You can find several options in the Options menu. These options affect all the charts Visustin generates, whether viewed on the screen, printed or saved to a file. Some options, but not all, also affect Visio export.
This command resets all options to their default values. It does not affect file associations, though.
Visustin produces two types of flow diagrams: Conventional flow charts and UML style activity diagrams. Both options include the same information using different symbols.
| Sample code | Flow chart | UML |
|---|---|---|
If x < 10 Then y = 1 End If |
![]() |
![]() |
You can limit the amount of information shown in the diagrams. This is useful to make the pictures smaller while preserving the key information.
Tip 1. To create a small but understandable flow chart, select Shorten code together with Full comments.
Tip 2. To create a comment flow chart without the code, select No code together with Full comments.
Visustin is able to display comments for most languages. Code comments don't really form part of a program's control flow, but they are often useful in understanding what the code does.
Several programming languages support compiler directives (preprocessor instructions) to set compiler options and to selectively compile different versions of the same code. In those languages where compiler directives are supported, you have the following options for them:
#if..#else) are shown as if they were regular executable decisions. In languages supporting repetitive compilation (such as %rep in MASM), repetition directives are shown as regular executable loops. All other compiler directives are shown as comments.The Show as flow symbols mode cannot always produce a reasonable flow chart. This happens especially when conditional compilation is used to selectively compile entire functions or classes. This mode is best used for small conditional blocks within a single function.
Select the Font for your code.
Font notes:
This setting lets you load source files stored with different character set encodings. You can load DOS, Mac, EBCDIC and UTF-7 code, for example. Read more in Character set options.
This setting lets you define the tab width as the number of spaces per tab stop. The default setting is 8. — Certain languages, such as Python and fixed format Fortran, use pre-defined tab rules. For these languages, the tab setting has no effect. You will see a description in the Tab stops dialog when such a language has been selected.
You can define a hotkey that brings Visustin to the foreground when you're in another program. This is useful if you want to repeatedly switch between your code editor and Visustin. Select Hotkey in the Options menu. The hotkey only works when Visustin is already running, it doesn't start Visustin if it's not running.
You can add Visustin to the context menu of Windows Explorer. You can right-click a file to open it in Visustin. By default, Visustin does not associate itself with any file types. You have complete control over which file types you want Visustin to open.
Goal: Right-click a source code file in Windows Explorer. Select Flowchart to view it in Visustin.
To associate source code file types with Visustin, choose File associations|Code files... in the Options menu. For each source file extension, define the language and then associate it with Visustin.
Example: Steps to associate .c files with Visustin:
The Extensions field accepts one or more extensions. Separate extensions by semicolon (c;cpp).
The Pick defaults button helps you by offering a default set of file extensions for each language.
To remove an association, remove the appropriate file type from the list and press Save.
Technical details: Visustin will add a Flowchart verb for the selected source file types.
Other file associations let you associate image files, flow chart files and job files with Visustin.
Goal: Right-click an image file in Windows Explorer. Select Open to view the image with Visustin. Select Print to print it. Drag and drop the file on a printer icon to print it on that printer.
To associate image files with Visustin, choose File associations|Other files... in the Options menu. To have Visustin open an image file type, simply select the checkbox next to the desired type(s). To remove the association, unselect the box. You also have the option to make Visustin verify the associations each time it starts, in case another application has taken over the selected associations.
Technical details: Visustin will add/redefine the Open, Print and PrintTo verbs for the selected image file types.