}
};
}
else if (ident.equals("verticalStack"))
{
layout = new mxStackLayout(graph, false)
{
/**
* Overrides the empty implementation to return the size of the
* graph control.
*/
public mxRectangle getContainerSize()
{
return graphComponent.getLayoutAreaSize();
}
};
}
else if (ident.equals("horizontalStack"))
{
layout = new mxStackLayout(graph, true)
{
/**
* Overrides the empty implementation to return the size of the
* graph control.
*/