(--------)
You can have:
class foo foo --> bar foo -[bold]-> bar1 foo -[dashed]-> bar2 foo -[dotted]-> bar3
Is this what you are looking for ?