Holarch
コースのチャプター

Training · Track 13. Whiteboards · Chapter 13.2 of 4

13.2 曲線と線のラベル 3:09

曲線を頂点で整え、端を図形に垂直にそろえ、ラベルを配置、回転、削除します。

Holarch 2.35 の画面です。

← 13.1 図形と線 · すべてのチャプター · 13.3 グラフ →

学習内容

  • 曲線を描き、黄色のひし形で頂点を配置して、中央にスナップさせる
  • 曲線を強く曲げる、または平らにし、線のパネルで曲率と頂点の位置を設定する
  • 線の端を図形の辺に垂直にそろえる
  • 線のラベルを追加、移動、回転、削除する

Bike-Share Dock のコンセプトボードで線を整えます。曲線の矢印を描き、黄色のひし形で曲線の頂点を線に沿って動かし(中央にスナップします)、曲げ具合を調整し、線のパネルで曲率と頂点の位置を設定し、端を接する辺に垂直にそろえて、曲線が各図形から直角に出るようにします。続いて線のラベルを追加し、線に沿って、また線から離して動かし、スナップを使って回転し、線に追従させて、削除します。

プロジェクトファイル

  • 開始時のプロジェクト (.holarch.json。プロジェクトを管理 → プロジェクトファイル ▾ → プロジェクトをインポート (.json)…)
  • 完成時のプロジェクト (.holarch.json。プロジェクトを管理 → プロジェクトファイル ▾ → プロジェクトをインポート (.json)…)

動画は holarch.app から再生されます。プライバシーポリシーをご覧ください。

演習

Bike-Share Dock を使って、Holarch で実際に操作します。

  1. チャプターの開始ファイルと Dock Concept ホワイトボードを開きます。
  2. A を押し、線のオプションバーで曲線を選択し、Rider から docking bay までドラッグします。
  3. 黄色のひし形を一方の端に向けてドラッグし、中央にスナップするまで戻します。Shift を押しながら、線から離す方向にドラッグします。
  4. インスペクターの線セクションで、始点と終点の端に垂直にチェックを入れ、Rider を動かします。
  5. 線をダブルクリックし、returns a bike と入力して Enter を押します。ラベルを線に沿って、線から離して、また線上に戻すようにドラッグします。丸いノブで回転します。
  6. 2 つ目のラベルを追加し、× で削除します。

曲線の矢印が両方の図形の辺に垂直に接し、線に追従するラベルが 1 つ付いていれば完了です。

確認問題

  1. 曲線上の黄色のひし形は何を示しますか。
  2. 中央へのスナップなしで、頂点を好きな位置に置くにはどうしますか。
  3. 線が動いても、ラベルが線に沿った向きのままになるのはなぜですか。
解答を表示
  1. 曲線上の黄色のひし形は何を示しますか。

    頂点です。両端を結ぶ直線から最も離れた曲線上の点です。線に沿ってドラッグすると頂点が移動し、線から離す方向にドラッグすると曲線がより強く曲がります。

  2. 中央へのスナップなしで、頂点を好きな位置に置くにはどうしますか。

    ひし形をドラッグしている間、Command(Mac)または Control を押します。

  3. 線が動いても、ラベルが線に沿った向きのままになるのはなぜですか。

    「線に沿わせる」です。線のパネルのラベルの行にあります。

関連資料

トランスクリプト

トランスクリプトを表示 (ナレーションと画面の内容)

Introduction

Chapter two: curves and line labels. A curved line is often the clearest way to show a flow that loops around other shapes, and a label says what the line means.

In this chapter you draw a curved arrow, shape it, and label it.

A curved line

The rider returns the bike at a docking bay. Press the A key, choose Curved in the Line options bar, and drag from the rider to the docking bay.

On screen: A → Curved → drag Rider → Docking Bay.

The new line is selected. The yellow diamond sits on the peak of the curve: the point farthest from a straight line between its ends.

On screen: The curve handle on the peak.

The peak

Drag the diamond along the line toward the docking bay. The peak moves toward that end, and the curve stays one smooth arc.

On screen: Drag the peak toward the docking bay.

Drag it back. Near the middle, it snaps to the center, and a guide shows it. Hold Command, or Control, while you drag to place it anywhere.

On screen: Drag the peak back; it snaps to the middle.

Drag the diamond away from the line to bend the curve more, or toward it to flatten it. With Shift held, only the bend changes.

On screen: Drag the peak outward.

The Line panel shows the same as numbers: Curve for the bend, and Peak position, from five to ninety-five percent along the line. Center puts the peak back in the middle.

On screen: Line panel: Curve, Peak position, Center.

Square ends

Under Ends, tick End in Square to the edge. The curve now meets the docking bay at a right angle to its edge, and eases into its arc. Tick Start too, for the rider.

On screen: Ends → Square to the edge: End, Start.

The setting stays while the shapes move. Drag the rider: both ends stay square.

On screen: Drag Rider.

Line labels

Now a label. Double-click the line, type returns a bike, and press Enter.

On screen: Double-click the curve → returns a bike → Enter.

Click the label to select it. Drag it along the line: it keeps its place along the line when the line moves.

On screen: Drag the label along the line.

Drag it away from the line, and a thin leader line connects it. Bring it back within a few pixels, and it snaps onto the line again.

On screen: Drag the label off the line, then back.

A selected label shows a round knob. Drag it to rotate the label. It snaps to horizontal, to the line's direction and to fifteen-degree steps.

On screen: Drag the rotate knob to the line's direction.

In the Line panel, each label has its position, offsets and rotation, and Follow the line, which keeps it turned along the line wherever the line goes.

On screen: Line panel → Labels.

A line can have several labels. Double-click near the rider for a second one, type paid by app, and press Enter.

On screen: Double-click the line → paid by app.

To delete a label, click its cross, press Delete while it is selected, or right-click it and choose Delete Label. Delete the second one.

On screen: The label's ×.

Recap

To recap: drag the yellow diamond to place the peak, which snaps to the middle; square the ends in the Line panel; and double-click a line to label it, then move, rotate or delete the label.

In the next chapter, you add charts to the board.