nodes have state
remove edge immediately when unplugged