Add files via upload

This commit is contained in:
Gregory Bednov 2025-01-16 18:08:10 +03:00 committed by GitHub
commit a3243dd1ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 871 additions and 0 deletions

11
StyleModule.ts Normal file
View file

@ -0,0 +1,11 @@
export default {
__init__: ['customRenderer'],
customRenderer: [
'type',
function (defaultRenderer: any) {
defaultRenderer.CONNECTION_STYLE = { fill: 'none', strokeWidth: 5, stroke: 'CanvasText' };
defaultRenderer.SHAPE_STYLE = { fill: 'Canvas', stroke: 'CanvasText', strokeWidth: 2 };
defaultRenderer.FRAME_STYLE = { fill: 'none', stroke: 'CanvasText', strokeDasharray: 4, strokeWidth: 2 };
}
]
};