Many diagrams and similar graphics can be printed either as images or PDF documents. Same goes for family tree diagrams saved in the GEDCOM format (.deg). Many family tree viewers have probably default PDF export function, but same may also be possible in graph and charts editors like the yEd software.
Updated: January 24, 2022