How to create representative epoxy chain ?

Hello everyone

can anyone help me to perform crosslinking reaction in epoxy resin. how can i get a single cross linked epoxy chain as given in below figure (left). 

is it possible to perform crosslinking in epoxy without using script.

Thankyou