faster example for graph/source_tree