poplar-annotation
Version:
web-based annotation tool for natural language processing (NLP) needs, inspired by brat rapid annotation tool.
14 lines (13 loc) • 471 B
TypeScript
import { Annotator } from "../../Annotator";
import { LabelView } from "../Entities/LabelView/LabelView";
import { Option } from "../../Infrastructure/Option";
export interface Config {
readonly unconnectedLineStyle: "none" | "straight" | "curve";
}
export declare class TwoLabelsClickedHandler {
root: Annotator;
private config;
lastSelection: Option<LabelView.Entity>;
svgElement: SVGPathElement;
constructor(root: Annotator, config: Config);
}