Skip to main content

Home > @jsplumbtoolkit/browser-ui > GroupLayoutAdapter

GroupLayoutAdapter class

Layout adapter that operates on a single group. getElements returns member of this group. filter filters out vertices that are not children of this group.

TODO why exactly does filter have to exist here? If getElements only returns group members, what's the filter for?

Signature:

export declare class GroupLayoutAdapter extends BaseSurfaceLayoutAdapter 

Extends: BaseSurfaceLayoutAdapter

Constructors

ConstructorModifiersDescription
(constructor)(group, surface)Constructs a new instance of the GroupLayoutAdapter class

Properties

PropertyModifiersTypeDescription
groupGroup
surfaceSurface

Methods

MethodModifiersDescription
filter(obj)
getElements()