added legend for relations fixes #1
added direction markers