digraph "TwoEntity" {
  rankdir="BT"
  node [ratio="auto" shape=record margin=0; href="javascript:Action.selectClass(&quot;\N&quot;);"];

  // Class: X
  "X" [shape=rectangle, label="   X   ",
   tooltip="class X
"];

  // Attributes for X
  "aX" [shape=ellipse, label=<   <u>a : String</u>   >, tooltip="String a&#13;"];
  "X" -> "aX" [arrowhead="none"];

  "dateX" [shape=ellipse, label="   date\ :\ Date   ", tooltip="Date date&#13;"];
  "X" -> "dateX" [arrowhead="none"];

  "timeX" [shape=ellipse, label="   time\ :\ Time   ", tooltip="Time time&#13;"];
  "X" -> "timeX" [arrowhead="none"];

  // Class: Y
  "Y" [shape=rectangle, label="   Y   ",
   tooltip="class Y
"];

  // Attributes for Y
  "aY" [shape=ellipse, label="   a\ :\ String   ", tooltip="String a&#13;"];
  "Y" -> "aY" [arrowhead="none"];

  "dateY" [shape=ellipse, label=<   <u>date : Date</u>   >, tooltip="Date date&#13;"];
  "Y" -> "dateY" [arrowhead="none"];

  "timeY" [shape=ellipse, label=<   <u>time : Time</u>   >, tooltip="Time time&#13;"];
  "Y" -> "timeY" [arrowhead="none"];

  // All associations
}
