graph constructor experiment