File: exJ2.signalling

package info (click to toggle)
msc-generator 8.6.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 180,484 kB
  • sloc: cpp: 129,931; yacc: 23,655; ansic: 7,464; sh: 5,026; makefile: 948
file content (25 lines) | stat: -rw-r--r-- 1,254 bytes parent folder | download | duplicates (2)
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
##Symbols positioned in reference to other elements
##symbol above below leftof rightof around rectangle oval circle shapes adjust refname transparent
##Demonstrates how to position a symbol besides or around other chart elements. You can use the refname of the other element, or simply specify the symbol afterwards with no refname. Use 'align' to position the symbol, 'distance' to make it further/closer and adjust to adjust its edges one-by-one.
compress=yes;
Backend, Server, Client;
Client<-: Hit;
Client=>Server;
symbol shape above [shape=def.actor, size=0.2, color=blue];
symbol ... below;
Server>>Backend: Query [refname=query];
Server<<Backend: Response;
symbol rectangle around [line.radius=2, fill.color=yellow,50, 
                         distance=5];
Client<=Server: Reply;
symbol cross rightof [align=centerline, color=red];

symbol arc leftof query [align=bottom, size=big, distance=-18, 
                         offset=3, fill.color=teal,50];
note: this [ fill.color=teal,50];
symbol rectangle around query [fill.color=violet,50, 
                               line.radius=2, 
                               adjust=-30,2,2,-2];

symbol rectangle around [fill.color=aqua,50, line.radius=2, 
                         adjust=-30,2,2,2];