Use if/else instead of ternary for computed edge helpers
Use if/else instead of ternary for computed edge helpers

jordwalke/ReLayout,jordwalke/ReLayout,jordwalke/ReLayout,jordwalke/ReLayout,jordwalke/ReLayout