fixed bug: wrong argument order for 'HasEdgeTo'