Skip to content

@graphty/graphty-element / extend / clearRegisteredLayoutsForTesting

Function: clearRegisteredLayoutsForTesting() ​

clearRegisteredLayoutsForTesting(): void

Defined in: graphty-element/src/catalog/layoutRegistry.ts:86

Forget every registered layout.

FOR TESTS, and named so that a reader cannot mistake it for part of the plugin contract. It clears the catalogue half only: a suite that also registered an engine class clears that through LayoutEngine.

Returns ​

void