public Object get(String atrName) {
        Object ret = null;
        if (atrName.equals(LABEL)) {
            ret = g.getLabel();
        } else if (atrName.equals(DIRECTED)) {
            ret = g.isDirected();
        } else if (atrName.equals(ZOOM)) {
            ret = g.getZoom();
        } else if (atrName.equals(FONT)) {
            ret = g.getFont();
        } else if (atrName.equals(DRAW_VERTEX_LABELS)) {
            ret = g.isDrawVertexLabels();
        } else if (atrName.equals(IS_EDGES_CURVED)) {
            ret = g.isEdgesCurved();
        } else if (atrName.equals(BACKGROUND_IMAGE)) {
            ret = g.getBackgroundImageFile();
        } else if (atrName.equals(DRAW_EDGE_LABELS)) {
            ret = g.isDrawEdgeLabels();
        } else if (atrName.equals(Allow_Loops)) {
            ret = g.isAllowLoops();
        } else {
            ret = g.getUserDefinedAttribute(atrName);
        }
        return ret;
    }