com.mxgraph.layout.orthogonal.mxOrthogonalLayout Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jgraphx Show documentation
Show all versions of jgraphx Show documentation
JGraphX Swing Component - Java Graph Visualization Library
This is a binary & source redistribution of the original, unmodified JGraphX library originating from:
"https://github.com/jgraph/jgraphx/archive/v3.4.1.3.zip".
The purpose of this redistribution is to make the library available to other Maven projects.
/**
* $Id: mxOrthogonalLayout.java,v 1.2 2009/11/25 12:37:20 david Exp $
* Copyright (c) 2008-2009, JGraph Ltd
*/
package com.mxgraph.layout.orthogonal;
import com.mxgraph.layout.mxGraphLayout;
import com.mxgraph.layout.orthogonal.model.mxOrthogonalModel;
import com.mxgraph.view.mxGraph;
/**
*
*/
/**
*
*/
public class mxOrthogonalLayout extends mxGraphLayout
{
/**
*
*/
protected mxOrthogonalModel orthModel;
/**
* Whether or not to route the edges along grid lines only, if the grid
* is enabled. Default is false
*/
protected boolean routeToGrid = false;
/**
*
*/
public mxOrthogonalLayout(mxGraph graph)
{
super(graph);
orthModel = new mxOrthogonalModel(graph);
}
/**
*
*/
public void execute(Object parent)
{
// Create the rectangulation
}
}