-
Notifications
You must be signed in to change notification settings - Fork 0
/
globals.js
42 lines (36 loc) · 919 Bytes
/
globals.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// Экспорт глобальных переменных
export let ellipses = [];
export let line = [];
export let includeLine = [];
export let extendLine = [];
export let lines = [];
export let actorX = 370;
export let actorY = 280;
export let actorWidth = 30;
export let actorHeight = 60;
export let ellipseWidth = 120;
export let ellipseHeigth = 80;
export let placeType = -1;
export let actorName = "";
export let svgTargetSizeW = 1700;
export function nullEllipses() {
ellipses = [];
}
export function nullLine() {
line = [];
}
export function nullIncludeLine() {
includeLine = [];
}
export function nullExtendLine() {
extendLine = [];
}
export function nullLines() {
lines = [];
}
export function setPlaceType(newPlaceType) {
placeType = newPlaceType;
}
export function setSvgTargetSizeW(newSvgWidth) {
svgTargetSizeW = newSvgWidth;
}