Input: (SaLfD task graph for example) LEGO Task Graph Finds similarity to all figure Choose the highest similarity and match Commented-out code includes maximum common subgraph usage as ground truth label, N! runtime tho, so not viable.