adding digraph examples and SetGraph functions