OptionalcontextOptional context for shared data for inspector templates.
The object that is currently being inspected.
The objectType of the current object - Group, Node, Edge or Port
By default, this is the type of the current object. You can override refresh to implement more
sophisticated scenarios.
Whether or not to show a close button. Defaults to false.
ID of the Surface to attach to. Uses the default surface ID if you do not provide one.
Base inspector component. You can extend this class and just use the
currentObjand/orcurrentTypemembers in your template for a simple setup, or your subclass can manage its own more complicated state. This class will invokereset()when there is no selected object, andrefreshwhen an object is selected.