diff options
author | Geireann Lindfield Roberts <60007097+geireann@users.noreply.github.com> | 2021-09-23 15:09:41 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-23 15:09:41 -0400 |
commit | 70d80e30de9963c353636d9780ffb83f3285aac7 (patch) | |
tree | be9a5086596e33c269857c9ead0293719786035e /src/client/util/LinkManager.ts | |
parent | d5f9533d153e11e24d2ab7c03b4561170f0768fe (diff) | |
parent | 281ea90236adb8cb3ff8db7ddc76a466a8641bcd (diff) |
Merge pull request #34 from brown-dash/linking-anh
Added link line weights based on relative relationship importance (Anh)
Diffstat (limited to 'src/client/util/LinkManager.ts')
-rw-r--r-- | src/client/util/LinkManager.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/util/LinkManager.ts b/src/client/util/LinkManager.ts index 64da68f59..4c24fbafb 100644 --- a/src/client/util/LinkManager.ts +++ b/src/client/util/LinkManager.ts @@ -103,8 +103,10 @@ export class LinkManager { if (!Doc.UserDoc().linkRelationshipList && !Doc.UserDoc().linkColorList) { const linkRelationshipList = new List<string>(); const linkColorList = new List<string>(); + const linkRelationshipSizes = new List<number>(); Doc.UserDoc().linkRelationshipList = linkRelationshipList; Doc.UserDoc().linkColorList = linkColorList; + Doc.UserDoc().linkRelationshipSizes = linkRelationshipSizes; } } |