read weight graph without parallels from string works