In this contribution, we define a new molecular representation ACM Transactions on Graphicsether with a similarity measure which allows to encode adjacency relationships between cycles and their substituents.