Graph editor properties.
Nodes and links being edited.
Texts of the editor and its node and link editors.
Applies a change to the graph, given as the new graph or as an update of the current one.
Applies a change to the defaults, which clicking a node or link copies its look to.
Receives the view after each pan, zoom or fit.
Defaults for new nodes and links.
OptionaltoolsStyle?: CSSPropertiesMerged over the style of the safe area holding the editing panel in the top-left corner,
such as a right that keeps it clear of controls the caller places in the top-right one.
Pan and zoom the editor opens at.
Edit a 2D node graph with its editing panel, storing nothing itself: the caller holds the graph, the defaults for new nodes and links, and the view, such as in
useState, and receives every change. Agents get WebMCP tools over the same graph while it is mounted. It fills its parent.