hacky solution for network graphs