added dict-to-directedGraph method

for manually-created graphs