I am trying to create a LaTeX document using the Tikz library, more particularly an E/R Diagram. I have downloaded the tikz-er2 additional library, but I am having an issue with the display of attributes.
In my class we've always used a different notation, putting the name of the attribute on the right of a dot, and linking the entity to this dot.
How would I accomplish this using tikz styling?
EDIT: This is a (very) simplyfied version of my code, which compiles just fine:
\documentclass[a4paper,12pt,landscape]{article}
\usepackage[landscape]{geometry}
\usepackage{graphicx}
\usepackage{tikz-er2}
\usepackage{verbatim}
\usepackage[active,tightpage]{preview}
\PreviewEnvironment{tikzpicture}
\setlength\PreviewBorder{5pt}
\begin{document}
\thispagestyle{empty}
\usetikzlibrary{positioning}
\usetikzlibrary{shadows}
\tikzstyle{every entity} = [top color=white, bottom color=blue!40,
draw=blue!20!black!70, drop shadow, thin, rounded corners=2pt]
\tikzstyle{every attribute} = [shading=radial, inner color=white, outer color=yellow!50!gray!20!white,
draw=yellow, node distance=1cm, drop shadow, thin,align=center]
\centering
\begin{tikzpicture}[node distance=1.5cm]
\node[entity] (ent1) {Entity1};
\node[attribute] (attr1) [right=of ent1] {\key{Attr1}} edge (ent1);
\end{tikzpicture}
\end{document}
The above code produces this diagram:

But I am trying to accomplish something like this:


\documentclass) showing how you generate your diagrams? That will make it much easier for others to come up with a solution. – Jake Dec 17 '12 at 14:14tikz-er2is a standard pacakge, at least I don't seem to have it. The MWE needs to be compilable by others. – Peter Grill Dec 17 '12 at 19:20