Plugin: How to display a custom EditorInspectorPlugin when clicked on a GraphNode

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Deezaster

I am working on a plugin that allows you to create nodes in GraphEdit.

Displaying an EditorInspectorPlugin in the Inspector when a CustomNode is selected in the SceneTree is no problem, because the function “func can_handle(object)” is called.

But I want to display an EditorInspectorPlugin when a GraphNode is clicked in the GraphEdit. But I don’t know how to do this, because the function “func can_handle(object)” is NOT called.