I agree with you but am curious what you'd say makes graphs specifically the irreducible primitive.
The example you gave in the comment below is something that seems to me like it could be expressed in purely algebraic terms without explicitly invoking graphs or hypergraph as foundation.