Give users ability to toggle whether the legend is in view or not, will be especially useful if we add more edge types