Create an application flow
The SketchFlow Map panel is a graph editor in which you can define the structure, flow, navigation, and composition of an application.
You can use the SketchFlow Map panel to focus on the structure of an application, and the artboard to focus on the content of individual screens.
Navigation screens
Every screen in your prototype is represented by a node in the SketchFlow Map panel. You can connect one screen to another by using a navigation connection to imply the navigation between screens. When you run the prototype in the SketchFlow Player, the connections between navigation nodes simulate the navigation between screens in the Navigate panel.
Component screens are also displayed in the SketchFlow Map panel. For more information, see "Component screens," later in this topic.
There are several ways to define navigation between screens in SketchFlow. You can create new connected screens from existing screens in the SketchFlow Map panel. You can connect two unconnected screens in the SketchFlow Map panel. Or you can right-click an object on a screen and define the navigation by using the Navigate to command on the shortcut menu.
To add a new connected navigation screen to the application flow
When you create a new SketchFlow project, a new file named Screen 1.xaml is created. It appears in the SketchFlow Map panel as a node, and in the Project panel as a UserControl.
Note
To open a new SketchFlow project, see Create a prototype project.
Move the pointer over the first node (Screen 1) in the upper-left corner of the SketchFlow Map panel.
Note
If you can't see the SketchFlow Map panel, on the Window menu, click SketchFlow Map, or press SHIFT+F12.
The node becomes highlighted, and its associated XAML file name appears in a tooltip. A visual menu also appears at the bottom of the node:
Move the pointer over the left icon in the visual menu. Start dragging the icon. A new "ghosted" node appears, following the pointer.
Finish dragging the navigation screen icon to where you want the new screen to be. The new node appears and is called "Screen 2" by default.
Note
You can change the name by right-clicking the node and then clicking Rename, or by clicking the node, pressing SHIFT+F2, and then typing the new name directly in the node.
To draw something on the new screen, double-click the node in the SketchFlow Map panel to select the associated document tab.
The connection between nodes implies navigation between those nodes. You can also create navigation nodes that do not have a navigation connection defined.
To add a new unconnected navigation screen to the application flow
Right-click in the SketchFlow Map panel, and then click Add navigation screen.
Note
If you can't see the SketchFlow Map panel, on the Window menu, click SketchFlow Map, or press SHIFT+F12.
Note
You can change the name by right-clicking the node and then clicking Rename, or by clicking the node, pressing SHIFT+F2, and then typing the new name directly in the node.
To draw something on the new screen, double-click the node in the SketchFlow Map panel to select the associated document tab.
Tip
Alternatively, in the SketchFlow Map toolbar, click Create a screen.
To connect two unconnected navigation screens
In the SketchFlow Map panel, move the pointer over the node from which you want to connect.
Note
If you can't see the SketchFlow Map panel, on the Window menu, click SketchFlow Map, or press SHIFT+F12.
The node becomes highlighted, and its associated XAML file name appears in a tooltip. A visual menu also appears at the bottom of the node.
Move the pointer over the Connect an existing screen icon in the visual menu that is second from the left. Start dragging the icon to create a new navigation connection. An arrow appears, following the mouse pointer.
Finish dragging the arrow to the screen to which you want to connect. To remove the connection, right-click on the arrow and click Remove.
Tip
Alternatively, click and drag the node over the node to which you want to connect.
Component screens
Component nodes, like navigation nodes, appear in the SketchFlow Map panel. One important difference between component nodes and navigation nodes is that component nodes, unlike navigation nodes, do not have incoming connections. Component nodes have only outgoing connections. Connections, the arrows that imply links between nodes in the application flow, indicate the screens in which a component screen appears.
A component node contains content that can be reused on multiple screens. For example, you can create a component node that contains a background and another component node that contains a menu, and then use those components on multiple screens throughout the prototype.
There are different ways to create a new component node. You can add a new component node directly in the SketchFlow Map panel, or you can select content on the screen and make it into a screen that appears as a component node in the SketchFlow map.
To add a new unconnected component screen and add it to the application flow
- Right-click anywhere in the SketchFlow Map panel, and then click Add Component Screen.
To add a new connected component screen and add it to the application flow
In the SketchFlow Map panel, move the pointer over the node from which you want to add a connected component screen.
Note
If you can't see the SketchFlow Map panel, on the Window menu, click SketchFlow Map, or press SHIFT+F12.
The node becomes highlighted, and its associated XAML file name appears in a tooltip. A visual menu also appears at the bottom of the node.
Move the pointer over the Create and insert a component screen icon in the visual menu that is second from the right. Start dragging the icon to create a new component connection. An arrow appears, following the mouse pointer.
Drag the arrow to the screen to which you want to connect, and release the mouse.
To make a UserControl into a component screen
Select the object or group of objects that you want to convert into a component screen.
Note
To select a group of objects, drag a bounding outline around the group of objects that you want to include.
Right-click the selection, and then click Make Into Component Screen.
In the Make Into Component Screen dialog box, in the Name box, type a name for the UserControl.
Optional: To add the component screen to the application flow, select Add to SketchFlow Map.
Click OK.
Note
The project may have to be rebuilt (F5) before the component screen appears in the navigation screen.
Visual tagging
Visual tagging can help you differentiate between types of screens and types of connections by applying different colors to different types of screens and connections in the SketchFlow map.
To add visual tagging to a node
Move the pointer over the node you want to tag in the SketchFlow Map panel.
Note
If you can't see the SketchFlow Map panel, on the Window menu, click SketchFlow Map, or press SHIFT+F12.
The node becomes highlighted, and its associated XAML file name appears in a tooltip. A visual menu also appears at the bottom of the node.
Move the pointer over the icon on the right. Click the icon, and then click the color that you want to use for the node.
To add visual tagging to a connection
Move the pointer over the connection that you want to tag in the SketchFlow Map panel.
Note
If you can't see the SketchFlow Map panel, on the Window menu, click SketchFlow Map, or press SHIFT+F12.
The connection becomes highlighted.
Click Visual Tag, and then click the color that you want to use for the connection.
You can also change the visual tagging for an entire project by modifying the SketchFlow project settings.
For more information, see Modify the SketchFlow project settings.