I am making a node tree based on custom_nodes.py (included in Python Template)
By using the
bpy.types.Node.draw_button, I managed to draw a button on each nodes. However, I’m having trouble obtaining the nodes’s name for the operator.
So, How can I add a button to a node that returns the name of the node?