first tries on adding MORE shapes to represent true gost fsa
This commit is contained in:
parent
f2a72d5155
commit
392aebe0df
15 changed files with 577 additions and 79 deletions
|
|
@ -17,6 +17,9 @@ import BendpointMoveModule from 'diagram-js/lib/features/bendpoints';
|
|||
import StyleModule from './StyleModule.ts';
|
||||
import ManhattanConnectionModule from './ManhattanConnectionModule.ts';
|
||||
import CustomPaletteModule from './CustomPaletteModule.ts';
|
||||
import CustomGlobalConnectRulesModule from './CustomGlobalConnectRulesModule.ts';
|
||||
import CustomShapeRendererModule from './CustomShapeRendererModule.ts';
|
||||
import CustomOutlineModule from './CustomOutlineModule.ts';
|
||||
|
||||
interface EditorOptions {
|
||||
container: HTMLElement;
|
||||
|
|
@ -36,17 +39,22 @@ export default function Editor(options: EditorOptions): Diagram {
|
|||
, ModelingModule
|
||||
, MoveCanvasModule
|
||||
, MoveModule
|
||||
, OutlineModule
|
||||
//, OutlineModule
|
||||
, PaletteModule
|
||||
, ResizeModule
|
||||
//, ResizeModule
|
||||
, RulesModule
|
||||
, SelectionModule
|
||||
, ZoomScrollModule
|
||||
, StyleModule
|
||||
, ManhattanConnectionModule
|
||||
, CustomPaletteModule
|
||||
, CustomGlobalConnectRulesModule
|
||||
, CustomShapeRendererModule
|
||||
, CustomOutlineModule
|
||||
];
|
||||
|
||||
|
||||
console.log(container);
|
||||
return new Diagram({
|
||||
canvas: {
|
||||
container
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue