Skip to content

Implementing Static Layout issue #10

@ThomasFarrenkopf

Description

@ThomasFarrenkopf

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions