update edge hide/show conditions based on status of nodes