Modify wall location line and wall types in the same graph