add edge toggle conditions for node toggle
Merge pull request #447 from mirubenstein/release-0.3

Refine filter behavior