js init graph changes + edges label boxes