46 Figure(), bus_(bus), source_(source), target_(target) {
84 dc->DrawLine(sourceX, sourceY, sourceX, busY);
89 dc->DrawCircle(sourceX, busY, size/2);
96 dc->DrawLine(targetX, targetY, targetX, busY);
101 dc->DrawCircle(targetX, busY, size/2);
106 dc->DrawLine(sourceX, busY, targetX, busY);
111 dc->DrawLine(sourceX, busY, targetX, busY);