Si vous constatez la perte de tickets, de commentaires ou de projets, veuillez consulter la page https://status.framasoft.org/incident/626.

diagram.dot 1.86 KB
Newer Older
Ferry Jérémie's avatar
Ferry Jérémie committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
digraph models_diagram {
  graph[rankdir=LR, overlap=false, splines=true]
  link1  [label="Belongs to",shape=ellipse,color=green]
  link2  [label="Contains",shape=ellipse,color=green]

  table1 [shape=none, label=<
      <table border="0" cellborder="1" cellspacing="0">
          <tr>
            <td bgcolor="lightblue"><b>Results</b></td>
          </tr>
          <tr>
            <td align="left" port="c0"><b>id : </b> int</td>
          </tr>
          <tr>
            <td align="left"><b>title: </b> varchar 255</td>
          </tr>
          <tr>
            <td align="left"><b>path: </b> varchar 1024</td>
          </tr>
          <tr>
            <td align="left"><b>in_mini: </b> bool</td>
          </tr>
          <tr>
            <td align="left"><b>in_super: </b> bool</td>
          </tr>
          <tr>
            <td align="left"><b>in_maxi: </b> bool</td>
          </tr>
          <tr>
            <td align="left"><b>in_prof: </b> bool</td>
          </tr>
      </table>>
  ]
  table2 [shape=none, label=<
      <table border="0" cellborder="1" cellspacing="0">
          <tr>
            <td bgcolor="lightblue"><b>Themes</b></td>
          </tr>
          <tr>
            <td align="left" port="c0"><b>id : </b> int</td>
          </tr>
          <tr>
            <td align="left"><b>name : </b> varchar 255</td>
          </tr>
      </table>>
  ]
  table3 [shape=none, label=<
      <table border="0" cellborder="1" cellspacing="0">
          <tr>
            <td bgcolor="lightblue"><b>Keywords</b></td>
          </tr>
          <tr>
            <td align="left" port="c0"><b>id : </b> int</td>
          </tr>
          <tr>
            <td align="left"><b>name : </b> varchar 255</td>
          </tr>
      </table>>
  ]

  table1:c0 -> link1 [label="1,n"];
  link1 -> table2:c0 [label="0,n"];

  table1:c0 -> link2 [label="3,n"];
  link2 -> table3:c0 [label="1,n"];
}