| 1 |
% Copyright 2018 by Till Tantau |
| 2 |
% |
| 3 |
% This file may be distributed and/or modified |
| 4 |
% |
| 5 |
% 1. under the LaTeX Project Public License and/or |
| 6 |
% 2. under the GNU Public License. |
| 7 |
% |
| 8 |
% See the file doc/generic/pgf/licenses/LICENSE for more details. |
| 9 |
|
| 10 |
\ProvidesFileRCS{tikzlibraryer.code.tex} |
| 11 |
|
| 12 |
\usetikzlibrary{shapes.geometric}% |
| 13 |
|
| 14 |
% Styles for entity types: |
| 15 |
|
| 16 |
\tikzset{every entity/.style= {}}% |
| 17 |
\tikzset{entity/.style= {rectangle,draw, |
| 18 |
minimum height=2\baselineskip, |
| 19 |
minimum width=4\baselineskip,every entity}}% |
| 20 |
|
| 21 |
|
| 22 |
% Styles for relationship types: |
| 23 |
|
| 24 |
\tikzset{every relationship/.style= {}}% |
| 25 |
\tikzset{relationship/.style= {diamond,draw, |
| 26 |
minimum size=1.5\baselineskip, |
| 27 |
inner sep=1pt, |
| 28 |
every relationship}}% |
| 29 |
|
| 30 |
|
| 31 |
% Styles for relationship types: |
| 32 |
|
| 33 |
\tikzset{every attribute/.style= {}}% |
| 34 |
\tikzset{attribute/.style= {minimum size=1.5\baselineskip,ellipse,draw,every attribute}}% |
| 35 |
\tikzset{key attribute/.style= {font=\itshape,attribute}}% |
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
\endinput |