added changes to arrows so they appear in the middle lines
added centralized colour schema, fixed problems selecting nodes