Resolution on nitrogen can lead to a carbon-like framework