Lines Matching refs:a

1004     _.each(actors, function(a) {  argument
1005 var bb = this.textBBox(a.name, font);
1006 a.textBB = bb;
1008 a.x = 0; a.y = 0;
1009 a.width = bb.width + (ACTOR_PADDING + ACTOR_MARGIN) * 2;
1010 a.height = bb.height + (ACTOR_PADDING + ACTOR_MARGIN) * 2;
1012 a.distances = [];
1013 a.paddingRight = 0;
1014 this.actorsHeight_ = Math.max(a.height, this.actorsHeight_);
1017 function actorEnsureDistance(a, b, d) { argument
1018 assert(a < b, 'a must be less than or equal to b');
1020 if (a < 0) {
1026 a = actors[a];
1027 a.paddingRight = Math.max(d, a.paddingRight);
1029 a = actors[a];
1030 a.distances[b] = Math.max(d, a.distances[b] ? a.distances[b] : 0);
1036 var a;
1055 a = s.actorA.index;
1056 b = a + 1;
1059 a = Math.min(s.actorA.index, s.actorB.index);
1072 a = b - 1;
1074 a = s.actor.index;
1075 b = a + 1;
1078 a = Math.min(s.actor[0].index, s.actor[1].index);
1086 a = s.actor.index;
1087 actorEnsureDistance(a - 1, a, s.width / 2);
1088 actorEnsureDistance(a, a + 1, s.width / 2);
1097 actorEnsureDistance(a, b, s.width + extraWidth);
1103 _.each(actors, function(a) { argument
1104 a.x = Math.max(actorsX, a.x);
1107 _.each(a.distances, function(distance, b) {
1115 distance = Math.max(distance, a.width / 2, b.width / 2);
1116 b.x = Math.max(b.x, a.x + a.width / 2 + distance - b.width / 2);
1119 actorsX = a.x + a.width + a.paddingRight;
1144 _.each(this.diagram.actors, function(a) { argument
1146 this.drawActor(a, y, this.actorsHeight_);
1149 this.drawActor(a, y + this.actorsHeight_ + this.signalsHeight_, this.actorsHeight_);
1152 var aX = getCenterX(a);
1324 var a = this.arrowTypes_ = {};
1325 a[ARROWTYPE.FILLED] = 'block';
1326 a[ARROWTYPE.OPEN] = 'open';