gg-editor
Version:
A visual graph editor based on G6 and React
19 lines (18 loc) • 491 B
TypeScript
import { MindData, NodeModel, EdgeModel } from '../../../common/interfaces';
import { BaseCommand } from './base';
export interface RemoveCommandParams {
flow: {
nodes: {
[id: string]: NodeModel;
};
edges: {
[id: string]: EdgeModel;
};
};
mind: {
model: MindData | null;
parent: string;
};
}
declare const removeCommand: BaseCommand<RemoveCommandParams>;
export default removeCommand;