graph{
  start=42

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

  // Normal entity attributes
  node [
    shape=oval
    penwidth=1.5
    fillcolor="#FFFFFF"
  ]
  3 [label="nom"]
  8 [label="date\ndébut"]
  9 [label="date fin"]
  11 [label="libellé"]

  // Weak and strong entity attributes
  2 [label=<<u>employé</u>>]
  7 [label=<<u>projet</u>>]
  10 [label=<<u>compétence</u>>]

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

  // Edges between entities and attributes
  edge [
    penwidth=1.5
  ]
  1 -- 2
  1 -- 3
  5 -- 7
  5 -- 8
  5 -- 9
  6 -- 10
  6 -- 11

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