Needs graph view¶
VS Code Stable
ubCode includes a graph view feature that visualizes the relationships between needs in your project. This view helps you understand how different needs are connected and can assist in navigating complex projects. The graph is interactive, allowing for zooming, panning, and clicking on nodes to reveal more information about each need.
To open the Needs graph view, either:
use the command palette in your editor (
Ctrl+Shift+P) and select “ubCode: Open needs graph view”, then enter your desired need ID to center the graph on.click the eye icon, for a need in the ubCode needs index tree view.
Right click on the
idoption of a need in an RST file and select “Show ubcode need ID in the graph view”.
Change requests¶
A change request links to every need its impact analysis reached, so it would appear next to each of them and bury the trace. The graph therefore leaves change requests out by default. The CR button in the toolbar, next to the back and forward arrows, turns them on; while they are hidden, its tooltip names the ones this graph left out. The choice is remembered for the workspace, like the depth.
While change requests are hidden, opening one shows the need it is anchored on instead, and a note under the graph names both; turning CR on then shows the change request itself. A change request with no anchor, or anchored only on other change requests or on needs that no longer exist, gives an empty graph that says why.
Needs Graph View¶