Skip to content

Type Alias: EngineName

ts
type EngineName = 
  | BuiltinEngine
  | string & {
};

Defined in: gvc/context.ts:129

A layout-engine name. The registry is open — callers may register custom engines — so any string is accepted; (string & {}) keeps editor autocomplete for the built-ins without closing the set. Unknown names throw at layout/freeLayout time, mirroring C's gvLayout error on a missing plugin.