Maxim 7219/7221  rgb led matrix question

It's just a simple matrix using the DIG and SEG output pins:

You might want to re-order the row and column outputs to accommodate your project.