summaryrefslogtreecommitdiff
path: root/support/consdiag/README
blob: 714c41977c82b78c1a802104082a2d0955aa0afb (plain)
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Readme of consdiag.py

What is it
----------

consdiag.py Version 1.1

constructor of diagrams: 

Given a frame of classes and relationships among clases, it 
generates latex code ,that represents those classes in the
Rumbaugh OO notation.

Things like this:
__________
| fruits |
|--------|
|cheap   |
|sweet   |
|dry     |
|        |
|        |
----------
|eat     |
|buy     |
|take    |
|      / |
|_____/_3|

    ------
    |    | 
    | a  |
    |----|
      |
      |
      d
   ----------
   |        | 
   |        |
  ---      ---
  |b|      |c|
  ---      ---

where : a,b,c are  simple classes or another union_derivations.

d is a triangle :)

How to run it.
---------------

Take a look at the end of consdiag.py, there you'll see good examples.

How to make the documentation.
------------------------------

Run "latex consdiag.tex" several times , because it needs to update
the crossreferences and such.

Or use a ghostscript visor to view consdiag.ps.