We consider the category of based algebras with bilinear forms and show that any object in this category decomposes as a direct sum of irreducible orthogonal ideals. By associating an adequate graph with a based algebra with a bilinear form, this decomposition can be recovered from a graph theory viewpoint.
Martı́n et al. (Sat,) studied this question.