aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-10-07 09:46:37 -0400
committerGitHub <noreply@github.com>2021-10-07 09:46:37 -0400
commit34f99c8a4d4ff14eb9814ebc865cf5ed29d2226a (patch)
treea2f9722abc1132a7af8428c8a7992794c9417719 /src/client/documents/Documents.ts
parent37528f87e89e2072080fac7eefe022d8989faabc (diff)
parent8f1a6266cf0a728ab2b7df11d45a023de266fae4 (diff)
Merge pull request #46 from brown-dash/linking-anh
Revert "Revert "Merge pull request #34 from brown-dash/linking-anh""
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index e3623c069..da5c8efa9 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -191,6 +191,7 @@ export class DocumentOptions {
opacity?: number;
defaultBackgroundColor?: string;
_isLinkButton?: boolean; // marks a document as a button that will follow its primary link when clicked
+ _linkAutoMove?: boolean; // whether link endpoint should move around the edges of a document to make shortest path to other link endpoint
isFolder?: boolean;
lastFrame?: number; // the last frame of a frame-based collection (e.g., progressive slide)
activeFrame?: number; // the active frame of a document in a frame base collection
@@ -302,6 +303,7 @@ export class DocumentOptions {
border?: string; //for searchbox
hoverBackgroundColor?: string; // background color of a label when hovered
linkRelationshipList?: List<string>; // for storing different link relationships (when set by user in the link editor)
+ linkRelationshipSizes?: List<number>; //stores number of links contained in each relationship
linkColorList?: List<string>; // colors of links corresponding to specific link relationships
}
export namespace Docs {
@@ -1105,6 +1107,7 @@ export namespace DocUtils {
"_acl-Public": SharingPermissions.Augment,
linkDisplay: true,
_hidden: true,
+ _linkAutoMove: true,
linkRelationship,
_showCaption: "description",
_showTitle: "linkRelationship",