Added a class for digraphs.
Added the option to connect or disconnect in one direction on the existing graph.