feat: adding new security level sandbox, sequence diagram update

This commit is contained in:
Knut Sveidqvist
2022-01-21 18:15:18 +01:00
parent 06834eb383
commit cbe2ce41c1
6 changed files with 31 additions and 7 deletions

View File

@@ -30,6 +30,8 @@ export const drawRect = function (elem, rectData) {
const addPopupInteraction = (id, actorCnt) => {
addFunction(() => {
const arr = document.querySelectorAll(id);
// This will be the case when running in sandboxed mode
if (arr.length === 0) return;
arr[0].addEventListener('mouseover', function () {
popupMenuUpFunc('actor' + actorCnt + '_popup');
});