graph{
  start=42

  // Entities
  node [
    shape=box
    style=filled
    penwidth=1.5
    fillcolor="#FFFFFF"
  ]
  1 [label="Projet"]
  4 [label="Site"]
  5 [label="Employé"]

  // Normal entity attributes
  node [
    shape=oval
    penwidth=1.5
    fillcolor="#FFFFFF"
  ]

  // Weak and strong entity attributes
  2 [label=<<u>projet</u>>]
  6 [label=<<u>site</u>>]
  7 [label=<<u>employé</u>>]

  // Relationships
  node [
    shape=diamond
    height=0.7
    penwidth=1.5
    fillcolor="#FFFFFF"
  ]
  3 [label="Affecter"]

  // Edges between entities and attributes
  edge [
    penwidth=1.5
  ]
  1 -- 2
  4 -- 6
  5 -- 7

  // Edges between entities and relationships
  edge [
    penwidth=1
    color="#000000:#000000"
    labeldistance=2
    headlabel=1
  ]
  1 -- 3
  4 -- 3
  edge [headlabel=N]
  5 -- 3 [color="#000000"]
}