Engineers have developed a nanomaterial that could lead to optical chips and circuits. The researchers believe they are the first to rewrite a waveguide, which is a crucial photonic component and a building block for integrated circuits, using an all-optical technique.