Could you provide the example of usage for the more general graphs, where not all the nodes are necessarily connected to the source and sink? For example: source -> node0 node0 -> node1 node1 -> node2 node1 -> node3 node2 -> sink node3 -> sink