import { SGraphItem } from "@saga-web/graph/lib"; /** * 图例节点Item(非图例类型) * * * @author 张宇(taohuzy@163.com) */ export class SNoneLegendItem extends SGraphItem { /** * 构造函数 * * @param parent 指向父对象 * @param data 图例节点对象数据 */ constructor(parent, data) { super(parent); this.data = data; this.id = data.ID; } toData() { return this.data; } } // Class SNoneLegendItem