Only allow outgoing edges if there are incoming ones
Merge branch 'master' of https://github.com/totycro/algorithmics-prog