APIDiagram APIDiagram methodsshowItem()On this pageshowItem()DescriptionAdjusts scroll to make the target item visibleUsageshowItem(id: string | number): void;Parametersid - (required) the ID of the target itemExampleconst diagram = new dhx.Diagram("diagram_container");diagram.data.parse(data);diagram.showItem(123);Related sample:Diagram. Shape searchDiagram. Scroll content