diagram: converting resource numbers to legacy