-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Hi all!
I need the Jung static layout engine. For this, I have created the following Class:
`public class JungStaticLayoutEngine extends JungLayoutEngine {
private static final long serialVersionUID = 1L;
public JungStaticLayoutEngine() {
this(new JungLayoutEngineModel());
}
public JungStaticLayoutEngine(JungLayoutEngineModel model) {
super(model);
}
@Override
protected AbstractLayout<NodeProxy, ArcProxy> createLayout(Graph<NodeProxy, ArcProxy> graph, Dimension size) {
return new StaticLayout<NodeProxy, ArcProxy>(graph, size);
}
}`
However, the layout does not remain static after using the static layout engine.
Metadata
Metadata
Assignees
Labels
No labels