com.mxgraph.layout.mxEdgeLabelLayout Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of AptSpringProcessor Show documentation
Show all versions of AptSpringProcessor Show documentation
This project contains the apt processor that implements all the checks enumerated in @Verify. It is a self contained, and
shaded jar.
The newest version!
package com.mxgraph.layout;
import java.awt.Rectangle;
import java.util.ArrayList;
import java.util.List;
import com.mxgraph.model.mxGeometry;
import com.mxgraph.model.mxIGraphModel;
import com.mxgraph.util.mxPoint;
import com.mxgraph.view.mxCellState;
import com.mxgraph.view.mxGraph;
import com.mxgraph.view.mxGraphView;
public class mxEdgeLabelLayout extends mxGraphLayout
{
/**
* Constructs a new stack layout layout for the specified graph,
* spacing, orientation and offset.
*/
public mxEdgeLabelLayout(mxGraph graph)
{
super(graph);
}
/*
* (non-Javadoc)
* @see com.mxgraph.layout.mxIGraphLayout#execute(java.lang.Object)
*/
public void execute(Object parent)
{
mxGraphView view = graph.getView();
mxIGraphModel model = graph.getModel();
// Gets all vertices and edges inside the parent
List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy