Difference between revisions of "Text nodes"

m
m
Line 16: Line 16:
 
== Title and Description ==
 
== Title and Description ==
  
( ''new to [[Analytica 5.0]]'' ) Text nodes can [[Title]] text, [[Description]] text, or both. Title text appears bold, whereas Description text appears in the selected font.  
+
( ''new to [[Analytica 5.0]]'' ) Text nodes can have a [[Title]], which appears in bold and/or a [[Description]], which uses the standard font.
  
 
::[[image:Text node with title.png]]
 
::[[image:Text node with title.png]]
  
It is generally assumed that the title be relatively short and (usually) fit on a single line, whereas descriptions may many lines long. The auto-sizing algorithms that adjust node size make use of this principle, so if you use very long titles, you may find it auto-sizing your text nodes to be very wide (since it's heuristic prefers to keep titles on a single line).  
+
When you create a text node by dragging from the toolbar, you start by editing the bold Title text. If you don't want a bold title click the small t pop-up control above the node -- or press the ''TAB'' key -- to move to the description. When editing a description, and want to edit the Title, click the large T pop-up control above the mode or press ''Shift+TAB''.
  
When you create a text node by dragging from the toolbar, you start by editing the bold Title text. If you don't want a bold title, press the TAB key first to move to the description.
+
A title should usually be brief and fit on a single line. A description may contain many lines. A long title may result in the new node being very wide, because the auto-sizing method tries to keep the title on one line.
 
 
When editing a title the TAB key moves to the description, and when editing a description, the Shift+TAB key moves to the title.
 
  
 
== Hover Icons ==
 
== Hover Icons ==

Revision as of 20:57, 28 October 2017

A text object is simply a way to place arbitrary text on your diagram. Text nodes are useful for adding instructions or other documentation into a diagram to supplement the other node types. Modelers often use text nodes to clarify a complex diagram or user interface by putting a white (or other colored) text node around a group of user inputs, outputs, or other nodes.

Creating a text node

The most obvious way to create a text node is from the Toolbar (in edit mode). Simply drag from the Text node on the Toolbar to where you want it on a diagram.

Toolbar Showing Text Node Button.png

Another simple way to make a text node is to:

  1. copy some text from any application (including the current Analytica model)
  2. in edit mode, click the background of the diagram where you want to place the text
  3. select paste from the Edit menu or press ctrl+v

By default, a new text node has no border or fill, so you'll just see the text, and a dashed border visible in Edit mode. If you want to change those defaults -- for example to have a border and white fill -- select the node, and select Set node style... from the Diagram menu or right-click menu.

Title and Description

( new to Analytica 5.0 ) Text nodes can have a Title, which appears in bold and/or a Description, which uses the standard font.

Text node with title.png

When you create a text node by dragging from the toolbar, you start by editing the bold Title text. If you don't want a bold title click the small t pop-up control above the node -- or press the TAB key -- to move to the description. When editing a description, and want to edit the Title, click the large T pop-up control above the mode or press Shift+TAB.

A title should usually be brief and fit on a single line. A description may contain many lines. A long title may result in the new node being very wide, because the auto-sizing method tries to keep the title on one line.

Hover Icons

New to Analytica 5.0

TextNodeHoverIcons.png

In edit mode, several hover icons appear over text nodes. The HoverDescriptionToTitle.png icon changes Description text into a bold Title, and appears when there is Description text but no Title. The HoverTitleToDescription.png changes bold Title text into normal Description text.

The HoverTitleText.png icon edits the bold Title, and the HoverDescription.png icon edits the Description text.

Text nodes for grouping

Text nodes are often used to create visual groupings, and seen In the Project Portfolio Planner example model with the four text nodes creating four visually separate user-interface panels.

ProjectPortfolioPlanner.png

A text node's fill and border is turned off initially when you first create it. To use it for visual groupings, select it and then go to the Node Style dialog and turn on Show Label, Show Border or both as desired. You may then wish to change the background or font color from the Color palette.

Text nodes are created at the bottom of the z-order, which means they appear behind other objects initially. Occasionally you may need to alter the z-order, which is possible using the Send to Back and Send to Front options on the right-mouse context menu.

See Also

Comments


You are not allowed to post comments.