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
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(group, surface) | Constructs a new instance of the GroupLayoutAdapter class |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| group | Group | ||
| surface | Surface |
Methods
| Method | Modifiers | Description |
|---|---|---|
| filter(obj) | ||
| getElements() |