private void setGraphLayout(mxGraph graph, String layoutName) {
        switch (layoutName) {
            case "Hierarchial":
                setHierarchialLayout(graph);
                break;

            case "Parallel Edge":
                setParallelEdgeLayout(graph);
                break;

            case "Tree":
                setCompactTreeLayout(graph);
                break;

            case "Circle":
                setCircleLayout(graph);
                break;

            case "Edge Label":
                setEdgeLabelLayout(graph);
                break;

            case "Fast Organic":
                setOrganicLayout(graph);
                break;

            case "Partition":
                setPartitionLayout(graph);
                break;

            default:
                setOrganicLayout(graph);
                break;
        }

        graph.setAutoSizeCells(true);
//      mxConstants.STYLE_EDGE = mxEdgeStyle.SegmentConnector.toString();
        graph.setEdgeLabelsMovable(false);
    }