@elicdavis/node-flow 0.1.6 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -3072,6 +3072,9 @@ var Publisher = class {
3072
3072
  register(nodeType, config) {
3073
3073
  __privateGet(this, _registeredNodes).set(nodeType, config);
3074
3074
  }
3075
+ unregister(nodeType) {
3076
+ return __privateGet(this, _registeredNodes).delete(nodeType);
3077
+ }
3075
3078
  contextMenu(graph, position) {
3076
3079
  return __privateMethod(this, _Publisher_instances, recurseBuildMenu_fn).call(this, graph, __privateGet(this, _name3), __privateGet(this, _registeredNodes), position);
3077
3080
  }