GRAPHREP
AVAL p:"Participation"
IF (p = "Total participation")
{
PEN w:0.1cm color:black
EDGE
PEN w:0.05cm color:white
EDGE
}
ELSE
{
EDGE
}
MIDDLE
FONT h:7pt
AVAL set-default:"" b:"Cardinality"
AVAL set-default:"" c:"Display attributes"
IF (c = "Numeric representation" OR c = "Numeric representation and arrows")
ATTR "Cardinality" y:-.2cm h:c w:c
ENDIF
IF (c = "Roles and arrows")
ATTR "Role" y:-.2cm h:c w:c
ENDIF
END
IF (c = "Arrow representation (Chen)" OR c = "Numeric representation and arrows" OR c = "Roles and arrows")
IF (b = "[0,1]")
LINE x1:-.2cm y1:.1cm x2:0cm y2:0cm
LINE x1:-.2cm y1:-.1cm x2:0cm y2:0cm
ENDIF
ENDIF