如何从 tikz ER 图中删除属性?

How to remove attribute from tikz ER diagram?

我正在 VMC 上处理一个项目,我需要在其中展示代码的结构。我尝试使用 ER 图,但无法从实体中删除最后一个属性。代码如下所示

\usepackage{tikz}
\usetikzlibrary{er,positioning}

--

\begin{tikzpicture}[auto,node distance=1.5cm]
  \node[entity] (node1) {VMC}
    %[grow=down,sibling distance=4cm]
    child {node[attribute] {Attribute 1}};
  \node[entity] (node2) [below right = of node1] {WF};
  \node[entity] (node3) [below left = of node1] {Main};
  \node[entity] (node4) [below right = of node3] {GD};
  \node[relationship] (rel1) [above = of node4, below = of node1] {Tools};

  \path (node1) edge node {} (node2)
                edge node {} (node3)
                edge node {} (rel1);
  \path (node4) edge node {} (node2)
                edge node {} (node3)
                edge node {} (rel1);
\end{tikzpicture}

图表看起来像这样

这是我想要的,但我想删除属性框并将工具框移到中心。希望有人能帮我解决这个问题,我是 tikz 的新手。

据我理解的问题,你只需要删除相应的Attribute 1代码并添加从rel1node1的距离:

\begin{tikzpicture}[auto,node distance=1.5cm]
  \node[entity] (node1) {VMC}
    %[grow=down,sibling distance=4cm]
    child {};
  \node[entity] (node2) [below right = of node1] {WF};
  \node[entity] (node3) [below left = of node1] {Main};
  \node[entity] (node4) [below right = of node3] {GD};
  \node[relationship] (rel1) [below=1cm of node1] {Tools};

  \path (node1) edge node {} (node2)
                edge node {} (node3)
                edge node {} (rel1);
  \path (node4) edge node {} (node2)
                edge node {} (node3)
                edge node {} (rel1);
\end{tikzpicture}