Delete relation logic
Merge branch 'master' of https://github.com/Kjagd/diagram