File: messagepassing.cwl

package info (click to toggle)
texstudio 4.3.1%2Bds-2
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 74,980 kB
  • sloc: cpp: 102,721; xml: 17,126; ansic: 8,143; sh: 194; javascript: 177; makefile: 28
file content (46 lines) | stat: -rw-r--r-- 1,667 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# messagepassing package
# Matthew Bertucci 3/14/2022 for v1.0

#include:tikz
# loads quotes, calc, and arrows.meta tikzlibraries
#include:xparse
#include:float

#keyvals:\usepackage/messagepassing#c
vertical
annotatevertical
#endkeyvals

\begin{messagepassing}#\pictureHighlight
\begin{messagepassing}[TikZ options]
\begin{messagepassing}[TikZ options][caption%text]
\begin{messagepassing}[TikZ options][caption%text][placement]
\begin{messagepassing}[TikZ options][caption%text][placement][label]#l
\end{messagepassing}
\newprocess{name}
\newprocesswithlength{name}{length%plain}
\processlength{name}{length%plain}
\newprocesswithstateinterval{name}{state name}
\newprocesswithcrash{name}{length%plain}{crash coord name}
\drawtimeline{length%plain}
\send{sender}{send time}{receiver}{receive time}
\sendwithname{sender}{send time}{receiver}{receive time}{label}
\sendoutofband{sender}{send time}{receiver}{receive time}{label}
\crash{process}{time}{name}
\restart{name}{date}{duration}
\checkpoint{process}{time}{name%formula}
\checkpointspecial{process}{time}{name%formula}{label}
\stateinterval{process}{time}{name%formula}
\stateintervalspecial{process}{time}{name%formula}{label}
\colouredbox{process1}{process2}{start time}{end time}{label}
\annotate{process}{time}{text}
\annotatexplicit{process}{time}{text}{name}
\sendwithstateinterval{sender}{send time}{receiver}{receive time}{name%formula}
\sendwithstateintervalandname{sender}{send time}{receiver}{receive time}{name%formula}{message name}
\colouredboxcolor{color}
\oobcolor{color}
\themaxtime#*
\theprocessnb#*
\iftimeline#*
\timelinetrue#*
\timelinefalse#*