Language-Reference
  • Introduction
  • Overview
    • My Awesome API
    • Use vue-seuqnce in your own project
  • Methods
    • Actor in sequence diagram
    • UML Sequence Diagrams
    • plantuml.com
    • Defining Methods
    • websequencediagrams.com
  • New feature (Jan 2022)
Powered by GitBook
On this page

New feature (Jan 2022)

Relaxed words in alt/loop conditions

Before this new version, when you need to put more word in the between the parentheses, you have to use a "string", such as for("record in records").

Since this version, you can use something like this for(record in records). There is no check in the words as long as they are valid atoms.

The same thing applies to if

such as if(instanceOf x == XClass)

The following can be an atom:

  1. Number (1, 1.0);

  2. Boolean (true, false);

  3. ID, anything that can be a variable name in Java, such as a1, xyz;

  4. STRING ("hello world")

  5. NIL (null)

  6. Operators (+, -, *, /, ==, &&, ||, new, >, >=, <, <=)

Previouswebsequencediagrams.com

Last updated 3 years ago