adamtool / webinterface

The web interface for the tool Adam (AdamMC and AdamSYNT) providing an intuitive, visual definition of Petri nets with transits and Petri games, and an interactive interface to the algorithms of AdamMC and AdamSYNT. Contains the repos (as submodules): libs, framework, logics, modelchecking, examples, synthesizer, high-level, webinterface-backend.
http://adam.informatik.uni-oldenburg.de:4567/
GNU General Public License v3.0
5 stars 2 forks source link

Add a help dialog #78

Closed mgieseking closed 4 years ago

mgieseking commented 4 years ago

In the menu bar add a help item (see #75) with

annyanich commented 4 years ago

Ok, I have made a "help" modal with shortcuts and a place to put the MC syntax. Can you provide me with an appropriate text to show the mc syntax? (HTML would be great)

mgieseking commented 4 years ago

The header should be Flow-LTL syntax.

The syntax for Flow-LTL is given by:

phi =  LTL   |   ( phi AND phi )   |   ( phi OR phi )   |   ( LTL -> phi )   |   A LTL

with standard LTL formulas with the following operators:

LTL Syntax
true TRUE
false FALSE
atoms place and transition ids
Negation NEG or !
Next X
Conjunction AND
Disjunction OR
Implication IMP or ->
Bimplication BIMP or <->
Until U
Weak Until W
Release R

Binary operators have to be in brackets, unary operators not. For example (!phi0 -> (phi1 AND G F phi2)). Note that the ids for the places and transitions are more restricted for the formula as for the web interface.

annyanich commented 4 years ago

Nice, thanks :)

annyanich commented 4 years ago

I put the formula syntax and a link to the github documentation in there. Can you check it out and close the issue if this works for you? 2020-10-22-185919_1193x941

annyanich commented 4 years ago

The user guide link takes you to the one corresponding to the mode you are in (mc or synt).

mgieseking commented 4 years ago

Currently I don't see the user guide in the synt case? But otherwise everything is good.

annyanich commented 4 years ago

Ah, thanks :) I have unhidden it in 4b7f4d78faed786f3146b72638f3f9999cc0de2a