OptionalcallbacksCallbacks to handle various graph events and render hooks.
OptionalisEnable whether the graph is directed or not
OptionallayoutLayout-specific configuration (e.g. tree, radial, etc.)
OptionalpluginsPlugins to install after the UI is built. Each is handed a PluginContext and can add UI elements, keybindings and lifecycle hooks. See Graph.use for imperative registration.
OptionalrenderOptions for the rendering engine
OptionalsimulationOptions for the simultion engine
OptionalUIOptions for the UI
Remarks
This interface should be used as the entry point when configuring the graph.