how to implement the custom dump styles for atoms displacment, and atom group-ID

Please post to the list, not to me.

You’re asking a viz question, not a LAMMPS Q.

Steve