Fix bug in the `diagrams` tool when generating entity predicate cross-referencing diagrams where documentation links would be added for predicate nodes without documentation