UNPKG

@specs-feup/lara

Version:

A js port of the popular framework for building source-to-source compilers

15 lines (13 loc) 305 B
/** * Base class for data of graph edges. */ export default class EdgeData { id: string | undefined; source: string | undefined; target: string | undefined; constructor(id?: string, source?: string, target?: string) { this.id = id; this.source = source; this.target = target; } }