Skip to content

@graphty/graphty-element / catalog / layoutEntry

Function: layoutEntry() ​

layoutEntry(id): LayoutCatalogEntry | undefined

Defined in: graphty-element/src/catalog/layouts.ts:662

Find one layout's whole entry, including the engines that are not the default.

Parameters ​

id ​

LayoutId

The layout name.

Returns ​

LayoutCatalogEntry | undefined

The entry, or undefined when nothing in the catalogue answers to that name.