Digital Logic Design: Directed Graphs