Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [elk-dev] Migration protocol

On 23.02.2016, at 17:33, Christoph Daniel Schulze <cds@xxxxxxxxxxxxxxxxxxxxxx> wrote:

- Add a method that retrieves the default layout algorithm to
GraphLayoutEngine

As an alternative to hard-coding the default, we could introduce a fag ‘isDefault’ in the meta data of layout algorithms, e.g.

    default algorithm layered { … }

Then the LayoutMetaDataService could have a method getDefaultAlgorithm() which returns the first algorithm marked with ‘default’, and if there is none, throws something like “No default layout algorithm is available.”

Miro

Back to the top