Essential electronic components, such as diodes and tunnel barriers, can be incorporated in single graphene wires (nanoribbons) with atomic precision. The goal is to create graphene-based electronic devices with extremely fast operational speeds.