bugfix for graph2d, updated example 15