Graph reflow tests, fix empty graph bug, fix contraflow multiedge rendering