changes css to display edge and node info