12345678910111213 |
- import { SGraphCommand } from "./SGraphCommand";
- import { SGraphItem } from "../SGraphItem";
- import { SUndoCommand } from "@persagy-web/base/lib";
- import { SGraphScene } from "../SGraphScene";
- export declare class SGraphAddCommand extends SGraphCommand {
- readonly command: string;
- item: SGraphItem;
- parent: SGraphItem | null;
- constructor(scene: SGraphScene, item: SGraphItem);
- mergeWith(command: SUndoCommand): boolean;
- redo(): void;
- undo(): void;
- }
|