Determining the Number of Condensed Rings


Hi everyone,

Do you have any ideas or scripts to determine the number of condensed rings in a given chemical structure?



There’s probably not a node that does exactly this, but it’s probably relatively straightforward with a Python or Java snippet node. I can likely put together an example, but I’m curious what exactly you’re looking for.
What would you like to get as a result for napthalene? What about anthracene?


What I am looking for exactly is the number of fused rings that are 2 and 3 for napthalene and anthracene, respectively.