adding functionality

1. to show name and media type along with a node
2. show middle circle of a edge

data structure updated to contain relations.