package com.github.itsubaki.eventflow;

import com.github.itsubaki.eventflow.node.NodeIF;
import com.github.itsubaki.eventflow.router.RouterIF;

public class Eventflow implements EventflowIF {
	private RouterIF<NodeIF> router;

	@Override
	public void setRouter(RouterIF<NodeIF> router) {
		this.router = router;
	}

	@Override
	public RouterIF<NodeIF> getRouter() {
		return router;
	}

	@Override
	public void add(NodeIF node) {
		node.setRouter(router);
		router.put(node.getRoute(), node);
	}

	@Override
	public void remove(NodeIF node) {

	}
}

@@ -537,14 +537,36 @@
 node) %7B%0A
+%09%09router.remove(node);
 %0A%09%7D%0A%7D%0A

Add remove