
com.mxgraph.layout.mxIGraphLayout 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.3.1.1.tar.gz".
The purpose of this redistribution is to make the library available
to other Maven projects.
The newest version!
/**
* Copyright (c) 2007, Gaudenz Alder
*/
package com.mxgraph.layout;
/**
* Defines the requirements for an object that implements a graph layout.
*/
public interface mxIGraphLayout
{
/**
* Executes the layout for the children of the specified parent.
*
* @param parent Parent cell that contains the children to be layed out.
*/
void execute(Object parent);
/**
* Notified when a cell is being moved in a parent that has automatic
* layout to update the cell state (eg. index) so that the outcome of the
* layout will position the vertex as close to the point (x, y) as
* possible.
*
* @param cell Cell which is being moved.
* @param x X-coordinate of the new cell location.
* @param y Y-coordinate of the new cell location.
*/
void moveCell(Object cell, double x, double y);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy