networkx library caused issues to one of our users because (currently) it doesn't work with Python 3.14.1.
This library is quite complex and we're only using a very small part of its functionality (only in concept_utils.sort_definitions). To avoid issues with networkx we should consider implementing this functionality ourselves and remove the dependency on networkx.