@graphty/graphty-element / catalog / layoutIdForEngine
Function: layoutIdForEngine() ​
layoutIdForEngine(
engine):LayoutId|undefined
Defined in: graphty-element/src/catalog/layouts.ts:672
Find the public layout name an engine serves, which is the question a consumer holding a 1.x engine name needs answered to migrate.
Parameters ​
engine ​
string
A registered engine name, such as "ngraph".
Returns ​
LayoutId | undefined
The layout name, or undefined when no catalogue entry lists that engine.