API Reference > imodeljs-frontend > Rendering > GraphicBuilderOptions > generateEdges generateEdges generateEdges: undefined | boolean Controls whether edges are generated for surfaces. Edges are only displayed if ViewFlags.renderMode is not RenderMode.SmoothShade or ViewFlags.visibleEdges is true. Since all decoration graphics except GraphicType.Scene are drawn in smooth shaded mode with no visible edges, by default edges are only produced for scene graphics, and only if ViewFlags.edgesRequired is true for the GraphicBuilderOptions.viewport. That default can be overridden by explicitly specifying true or false. This can be useful for non-scene decorations contained in a GraphicBranch that applies ViewFlagOverrides that change the edge display settings; or for scene decorations that might be cached for reuse after the viewport's edge settings are changed. note Edges will tend to z-fight with their surfaces unless the graphic is GraphicBuilderOptions.pickable. Defined in core/frontend/src/render/GraphicBuilder.ts Line 153 Last Updated: 11 June, 2024