Graphical methods in RNA structure matching