Modified graphs layout