Graph Matching To Function