add directed, weighted edges and graphs