import { EdgeId } from "./edge"; import { LayoutGraph } from "./layoutGraph"; import { NodeId } from "./node"; import { Properties } from "./properties"; import { RelationshipId } from "./relationship"; import { EdgeStyle, EdgeStyles } from "./styles"; export declare class ApiEdge { readonly sourceId: NodeId; readonly targetId: NodeId; uid: string; relationship: RelationshipId; properties: Properties; graph?: LayoutGraph; _neo4jID?: string; constructor(sourceId: NodeId, targetId: NodeId, relationship: RelationshipId, properties: Properties, uid?: string, _neo4jID?: string, graph?: LayoutGraph); /** * Styles */ getStyles(): Partial; setStyles(styles: Partial): void; getStyle(key: K): EdgeStyles[K]; setStyle(key: K, value: EdgeStyles[K]): void; get visible(): boolean; /** * Identity */ clone(): ApiEdge; equals(other: ApiEdge): boolean; generateUid(): string; get id(): EdgeId; }