Origin smoke test takes into acount edge coordinates
Support for nodes with rank constraints and self loops