Triazine compounds and cross-linked polymer compositions were made by heating aromatic nitriles to a temperature in the range of about 100 C to about 700 C, in the presence of a catalyst or mixture of catalysts. Aromatic nitrile-modified (terminated and/or appended) imide, benzimidazole, imidazopyrrolone, quinoxaline, and other condensation type prepolymers or their precopolymers were made which were trimerized with or without a filler by the aforementioned catalytic trimerization process