public void setSelectGraphElement(GraphElement ge, boolean b) {
        if (!b) {
            this.selectlist.remove(ge.getId());
        } else {
            this.selectlist.put(ge.getId(), ge);
        }
    }