P4VS provides two ways to view streams graphically: you can use the Streams tool window directly in P4VS, or you can call the Stream Graph, a P4V component, from within P4VS. This section discusses how to use the Stream Graph.
The Stream Graph provides a graphical view of stream relationships and provides tools and shortcuts for working with streams.
The graph uses location and color to depict stream types: mainline streams are gray and placed in the middle of the graph, release streams are orange and appear above the mainline, and development streams are blue and appear below. For example:
Status indicators between streams tell you which streams have changes to contribute and where the changes can be copied or merged:
![]() |
Merge indicator |
![]() |
Copy indicator |
The arrows are color-coded to indicate status:
For example, the following arrows next to a stream indicate that you must update it by merging down from its parent, after which you can copy up changes to the parent.
The workspace icon indicates the stream you are currently working in.
Go to File > Perforce > Views > Stream Graph or right-click in the Solution Explorer and select Views > Stream Graph.
The Stream Graph is a P4V component. When you are working in the Stream Graph, you are working in P4V.
Select display options in the Graph View Options dialog:
Double-click a stream to view a pop-up that contains status details:
To work in a stream or switch from one stream to another using the Stream Graph, do one of the following:
In order to switch streams in P4VS using the Stream Graph, you must set your P4V stream operations preference to Use the same workspace and switch it between streams.
If you have not set this preference, a warning dialog pops up when you try to switch streams and asks you to switch workspaces or create a new one. If you then click the Switch Workspaces button, the dialog closes, as does the Stream Graph, with the workspace unswitched. If you click the New Workspace button, the Workspace:New dialog opens. You can create a new workspace, but the dialog and Stream Graph close without switching workspaces in P4VS.
If you do not want to use the same workspace when switching streams in P4VS, you must open a new connection to the Perforce service to select a new workspace.
For more information about setting P4V preferences, see "Configuring P4V Preferences" in the P4V help (launch P4V from the context menu using Views > View in P4V, and click Help on the P4V toolbar).
When you right-click a stream in the Stream Graph, you see the following options:
To learn about these streams options, see the P4V help (launch P4V from the context menu using Views > View in P4V, and click Help on the P4V toolbar).