adding graph examples and fixing unsed library at generator of grapg