von thoys » Fr 30. Sep 2011, 17:16
O.k.
ich selber werde es jetzt so machen:
http://www.texample.net/tikz/examples/class-diagram/
Bei mir sind Klassen eckig und Objekte abgerundet.
Daher sieht mein Vorspann so aus:
%abstract = Objekt
\tikzstyle{abstract}=[rectangle, draw=black, rounded corners, fill=blue!40, drop
shadow,
text centered, anchor=north, text=white, text width=3cm]
%comment
\tikzstyle{comment}=[rectangle, draw=black, rounded corners, fill=green, drop
shadow,
text centered, anchor=north, text=white, text width=3cm]
%kabstrakt = klasse
\tikzstyle{kabstract}=[rectangle, draw=black, fill=blue!40,
drop
shadow,
text centered, anchor=north, text=white, text width=3cm]
%kcomment = Klassenkommentar
\tikzstyle{kcomment}=[rectangle, draw=black, fill=green, drop
shadow,
text centered, anchor=north, text=white, text width=3cm]
%linienzeugs
\tikzstyle{myarrow}=[->, >=open triangle 90, thick]
\tikzstyle{line}=[-, thick]
Wenn es das auch in "schön" gibt, einfach sagen
Das ist jetzt durch trial and error entstanden.
Viel Erfolg
Thoys
ps. Das ist ne coole Seite, die ich oben verlinkt hab.
O.k.
ich selber werde es jetzt so machen:
[url]http://www.texample.net/tikz/examples/class-diagram/[/url]
Bei mir sind Klassen eckig und Objekte abgerundet.
Daher sieht mein Vorspann so aus:
[code]
%abstract = Objekt
\tikzstyle{abstract}=[rectangle, draw=black, rounded corners, fill=blue!40, drop
shadow,
text centered, anchor=north, text=white, text width=3cm]
%comment
\tikzstyle{comment}=[rectangle, draw=black, rounded corners, fill=green, drop
shadow,
text centered, anchor=north, text=white, text width=3cm]
%kabstrakt = klasse
\tikzstyle{kabstract}=[rectangle, draw=black, fill=blue!40,
drop
shadow,
text centered, anchor=north, text=white, text width=3cm]
%kcomment = Klassenkommentar
\tikzstyle{kcomment}=[rectangle, draw=black, fill=green, drop
shadow,
text centered, anchor=north, text=white, text width=3cm]
%linienzeugs
\tikzstyle{myarrow}=[->, >=open triangle 90, thick]
\tikzstyle{line}=[-, thick]
[/code]
Wenn es das auch in "schön" gibt, einfach sagen :-)
Das ist jetzt durch trial and error entstanden.
Viel Erfolg
Thoys
ps. Das ist ne coole Seite, die ich oben verlinkt hab.