use line graphs for network instead of stack