🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

natural-flowchart

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

natural-flowchart

Describe a flowchart schem with human words and convert it to Flowchart.js script.

latest
npmnpm
Version
1.1.2
Version published
Weekly downloads
27
Maintainers
1
Weekly downloads
 
Created
Source

Natural flowchart

Describe a flowchart schem with human words and convert it to Flowchart.js script.

Example

DEBUT Démarrage
Bienvenue !
SI utilisateur possède les droits
    SI l'utilisateur est un administrateur
        Connexion en tant qu'administrateur
    SINON
        Connexion en tant qu'utilisateur
SINON
    Déconnexion
Fermer le programme
FIN

Tree view:

|-- Début
|-- Operation
|-- Tant que
|  `-- Condition
|     |-- Condition
|     |  `-- Operation
|     |-- Contre-condition
|        |-- Operation
|        |-- Operation
|-- Operation
|-- Fin

Should output:

st=>start: Start
e=>end
bienvenue=>operation: Bienvenue!
isNotConnected=>condition: L'utilisateur n'est pas encore connecté
connectAdmin=>operation: Connexion en tant qu'administrateur
connectUser=>operation: Connexion en tant qu'utilisateur
hasRights=>condition: L'utilisateur possède des droits ?
isAdmin=>condition: L'utilisateur est administrateur ?
close=>operation: Fermer le programme

st->bienvenue->isNotConnected
isNotConnected(yes)->hasRights
isNotConnected(no)->isNotConnected
hasRights(yes)->isAdmin
hasRights(no)->disconnect
isAdmin(yes)->connectAdmin
isAdmin(no)->connectUser
close->close
connectAdmin->close
connectUser->close
close->e

FAQs

Package last updated on 09 Feb 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts