Suggested solution for animal pen?

I have animal pastures with fences around them that can be placed at runtime. How do i generate a new graph for this specific area at runtime. Is this actually the best way of doing this or am i better not using the pathfinding system for this (in terms of performance).


You might be interested in this page: