/******************************************************************************** * Copyright (c) 2026 EclipseSource and others. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v. 2.0 which is available at * http://www.eclipse.org/legal/epl-2.0. * * This Source Code may also be made available under the following Secondary * Licenses when the conditions for such availability set forth in the Eclipse * Public License v. 2.0 are satisfied: GNU General Public License, version 2 * with the GNU Classpath Exception which is available at * https://www.gnu.org/software/classpath/license.html. * * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 ********************************************************************************/ /** @jsx svg */ import { IViewArgs, Point, PolylineEdgeViewWithGapsOnIntersections, RenderingContext } from '@eclipse-glsp/sprotty'; import { Classes, VNode } from 'snabbdom'; import { GEdge } from '../model'; /** * Gap-rendering counterpart to {@link GEdgeView}: extends * {@link PolylineEdgeViewWithGapsOnIntersections} and re-adds the GLSP-only * bits from `GEdgeView` — router dispatch, dangling-edge rendering, * `additionalClasses` hook, and the edge-padding mouse-handle overlay. * * Subclasses override {@link createPathForSegments} to inject per-point path * fragments. Intersections are spliced into the rendered line * (`addIntersectionPoints = true`) and skipped for the mouse-handle overlay * so the hit area stays contiguous. */ export declare class GEdgeViewWithGapsOnIntersections extends PolylineEdgeViewWithGapsOnIntersections { render(edge: Readonly, context: RenderingContext, args?: IViewArgs): VNode; protected additionalClasses(_edge: Readonly, _context: RenderingContext): Classes; protected renderLine(edge: GEdge, segments: Point[], _context: RenderingContext, args?: IViewArgs): VNode; protected renderAdditionals(edge: GEdge, segments: Point[], _context: RenderingContext): VNode[]; protected renderMouseHandle(edge: GEdge, segments: Point[], padding: number): VNode; protected createPathForSegments(segments: Point[], edge: GEdge, addIntersectionPoints: boolean, args?: IViewArgs): string; } //# sourceMappingURL=gedge-view-with-gaps-on-intersections.d.ts.map