Data Tables: How do I build a Correlation Matrix?

I was thinking of building a correlation matrix for a collection of meshes which I wanna use in PCG. How should I go about

  • storing the matrix (data tables seem to a row based and not matrix)
  • propagating the matrix values from the level editor( there’s hundreds of meshes. let’s say I want to assign certain relationships between these meshes from the 3d space and editor itself using splines[connecting to other meshes] and zones/proximity). I’m thinking of creating a level for assigning these values and visualize the relationship on the go. much like an embedding.