Generate plan graph for given pattern graph with costs from the analyzed host graph.
Plan graph contains nodes representing the pattern elements (nodes and edges)
and edges representing the matching operations to get the elements by.
Edges in plan graph are given in the nodes by incoming list, as needed for MSA computation.