The part of Pluto analyzing expression and determining their order and graph has been recently moved to separate packages that are standalone registered in General:
You might have a look there for more details or directly use them for your use case if relevant!