NodeGraphProcessor icon indicating copy to clipboard operation
NodeGraphProcessor copied to clipboard

Custom Node Creation Menu Items

Open dannymate opened this issue 4 years ago • 0 comments

Added attribute for setting methods as custom node creation menu items. Same as the NodeMenuItem.

Switched return type in BaseGraphView & NodeProvider to string, Type, Func<Type, Vector2, BaseNode> to match my new methods for returning the new attribute methods. This way we enforce all attributes to the correct Node creation format and can use the BaseNode.CreateNode method.

I haven't implemented graph specificity yet.

I've also added an example.

I imagine this will be a breaking change for GraphViews.

dannymate avatar Feb 07 '22 02:02 dannymate