Tool to visualize yang relationships

Is there any tool that can pictorially depict relationships in a graph format?

See for example
The pyang tool mentioned in that RFC:

See also:

This doesn’t seem to have the capability to show relationship as DAG. For example leaf-references.

There is also Yang Explorer, but I think it does not resolve references either. As for pyang, I believe not much is missing for its UML plugin to be able to do that, maybe you want to complete it?

Note that in general references like leafref do not necessarily identify a schema node, leafref paths may contain simple predicates. But I agree that it still may make a sense to visualize that.