Hi Noemi Novello,
What are you referring to as nodes here?
Suppose your interest is to assign different magnetic properties and directions in a single magnet. You can model the magnet as individual small magnets and then can assign the required magnetic properties and magnetization directions to each.
Regards,
Navya