weighted, directed edge
digraph implementation