| 1 |
.PS |
| 2 |
#Banking.m4 |
| 3 |
|
| 4 |
gen_init |
| 5 |
|
| 6 |
scale = 2.54 # use cm |
| 7 |
svg_font(Arial Black,11 bp__,2 bp__) |
| 8 |
boxwid = 6.8 |
| 9 |
boxht = 4.5 |
| 10 |
linethick_(1.5) |
| 11 |
|
| 12 |
define(`heading', |
| 13 |
`<tspan font-style=\"bold\" font-size=\"120%\" fill=\"white\">`$1'</tspan>') |
| 14 |
define(`subheading', |
| 15 |
`<tspan fill=\"white\" font-size=\"75%\" font-style=\"bold\">[`$1']</tspan>') |
| 16 |
define(`wtext',`<tspan fill=\"white\">`$1'</tspan>') |
| 17 |
|
| 18 |
C: circle diam 2.6 colored "mediumblue" |
| 19 |
Person: box rad boxht/4 colored "mediumblue" with .n at C.s+(0,C.rad/8) \ |
| 20 |
"heading(Personal Banking)" \ |
| 21 |
"" \ |
| 22 |
"heading(Customer)" \ |
| 23 |
"subheading(Person)" \ |
| 24 |
"" \ |
| 25 |
"wtext(A customer of the bank`,' with)" \ |
| 26 |
"wtext(personal bank accounts.)" |
| 27 |
|
| 28 |
A1: arrow thick 1.5 dashed down 3.5 from Person.s |
| 29 |
svg_font(Arial,11 bp__,2 bp__) |
| 30 |
{ box invis fill 1 ht 0.4 wid 1.0 "Uses" at A1 } |
| 31 |
command "</g>" |
| 32 |
Internet: box colored "steelblue" \ |
| 33 |
"heading(Internet Banking System)" \ |
| 34 |
"subheading(Software system)" \ |
| 35 |
"" \ |
| 36 |
"wtext(Allows customers to view)" \ |
| 37 |
"wtext(information about their bank)" \ |
| 38 |
"wtext(accounts`,' and make payments.)" |
| 39 |
|
| 40 |
svg_font(Arial,11 bp__,2 bp__) |
| 41 |
A2: arrow thick 1.5 dashed right 5.4 from Internet.e \ |
| 42 |
"Sends e-mail" above "using" below |
| 43 |
command "</g>" |
| 44 |
Email: box colored "slategrey" \ |
| 45 |
"heading(E-mail System)" \ |
| 46 |
"subheading(Software system)" \ |
| 47 |
"" \ |
| 48 |
"wtext(Internal Microsoft Exchange)" \ |
| 49 |
"wtext(e-mail system.)" |
| 50 |
|
| 51 |
A3:arrow thick 1.5 dashed from Email.nw+(0.4,0) to Person.se+(0.3,Person.ht/5) |
| 52 |
svg_font(Arial,11 bp__,2 bp__) |
| 53 |
{ box invis fill 1 ht 0.4 wid 3.3 "Sends e-mails to" at A3 } |
| 54 |
command "</g>" |
| 55 |
|
| 56 |
# etc |
| 57 |
|
| 58 |
command "</g>" # font |
| 59 |
.PE |