get graph