The question is too generic. There could be different ways to model the diagrids and the joints between them, depending on the actual connectivity you want to get in the real life structure. As Mr Al-Abbas suggested, rigid connection could be used if you have heavy, non-slender members and they are fully welded to each other. If you have something light or you have actual pin connections, better release the moments at the ends.