Replace Digraph's Node type synonym with a data type