I would like to be able to compute the distance between 2 hanzi according to their components.
My idea is that a hanzi like 式 is made of 工 and 弋. 2 hanzi are close if they share common components.
To be able to compute such distance, I need to be able to have a list of hanzi and their components in a digital format. Does such list exist?