APIDiagram APIDiagram methodsshowItem()On this pageshowItem() Description Adjusts scroll to make the target item visibleUsageshowItem(id: string | number): void;Parameters id - (required) the ID of the target item Exampleconst diagram = new dhx.Diagram("diagram_container");diagram.data.parse(data);diagram.showItem(123);Related samples: Diagram. Shape search Diagram. Scroll content