link error: LinkGraphNodesFromMaterial unresolved external symbol

I have found an alternative way to achieve the link and update by using MaterialExpression and PostEditChange