gg-editor
Version:
A visual graph editor based on G6 and React
11 lines (10 loc) • 433 B
TypeScript
import { Graph, TreeGraph, NodeModel, EdgeModel } from '../../../common/interfaces';
import { BaseCommand } from './base';
export interface UpdateCommandParams {
id: string;
originModel: Partial<NodeModel> | EdgeModel;
updateModel: Partial<NodeModel> | EdgeModel;
forceRefreshLayout: boolean;
}
declare const updateCommand: BaseCommand<UpdateCommandParams, Graph & TreeGraph>;
export default updateCommand;