You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.html
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -88,6 +88,8 @@
88
88
varwordpadding=4;//x padding between the rects containing words
89
89
//var topMargin = 0;
90
90
varedgepadding=10;//padding between left side of svg canvas and where first word can be placed, and padding between right side of svg canvas and where last word on a row can fit (before popping over to next row)
91
+
varrowpadding=30;
92
+
91
93
varhideLinkLinesPercentage=3.0;//percentage at which links and arrows are hidden
92
94
varhideLinkTextPercentage=7.0;//percentage at which words are link words are hidden
93
95
@@ -128,8 +130,8 @@
128
130
varattachmentMargin=0.1;//percentage value
129
131
130
132
varword2word_strategy=strategies.FARTHEST;
131
-
varword2link_strategy=strategies.CLOSEST;
132
-
varlink2link_strategy=strategies.CLOSEST;//CLOSEST sometimes causes overlaps - need to be a bit more rigorous when assigning slots - don't assign any slots that have the potential to overlap (when dragged manually)? - or let the buyer beware that this could happen - they can always move out of the way - right now it won't automatically overlap, but won't prevent a user from doing it.
133
+
varword2link_strategy=strategies.FARTHEST;
134
+
varlink2link_strategy=strategies.FARTHEST;//CLOSEST sometimes causes overlaps - need to be a bit more rigorous when assigning slots - don't assign any slots that have the potential to overlap (when dragged manually)? - or let the buyer beware that this could happen - they can always move out of the way - right now it won't automatically overlap, but won't prevent a user from doing it.
133
135
134
136
varrows=[];//list of Row object, each of those has a list of Word objects
0 commit comments