Is there an easy way to extract the type dependency tree from the DAML LF API Type Signature package?

I’m using the the DAML LF API Type Signature package and now I more or less understand how to extract type signatures.

I’d like to get the dependencies between custom types. Extracting this in a recursive way from the field definitions seems to be somewhat cumbersome. So I’m interested if there is an OOB way to do it.

Maybe @stefanobaghino-da or @Stephen can tell me the answer, or any of you who is using this library regularly.

Can you show me what you’re doing, and maybe I can suggest a simpler way to do it?

1 Like

Thank you, Stephen, it turns out I don’t actually need this. But I have another question for you, will post separately.