edgetypes - list all types of edges in selection

yosys> help edgetypes
edgetypes [options] [selection]
This command lists all unique types of 'edges' found in the selection. An 'edge'
is a 4-tuple of source and sink cell type and port name.