主权项 |
1. One or more computer readable non-transitory media storing computer-executable instructions that, when executed on a processor, display a graphical model in three dimensions, the computer-executable instructions including instructions for:
receiving data for developing an executable graphical model representing a real-world physical system, where:
the graphical model includes a plurality of levels arranged in a hierarchy that includes a top level and a second level lower in hierarchy than the top level,the top level of the hierarchy comprising a first plurality of components that includes a first component of the executable graphical model,the first component representing a real-world physical component,the first component including one or more sub-components provided at the second level of the hierarchy that is lower in hierarchy than the top level, andthe second level of the hierarchy comprising a second plurality of components that includes a first sub-component of the one or more sub-components; displaying a three-dimensional (3D) view of the graphical model, the instructions for displaying the 3D view including:
providing a first view of the top level of the graphical model at a first common visual depth, wherein the first view displays the top level on a first plane at the first common visual depth;providing a second view at a second common visual depth, the second view including the first sub-component, wherein the second view displays the second level on a second plane displayed at the second common visual depth;generating a first graphical indicator in the first view, the first graphical indicator associated with the first component; andgenerating a second graphical indicator in the second view, where the second graphical indicator:
matches the first graphical indicator,is associated with the first sub-component, andrepresents a hierarchical link between an execution of the first component and an execution of the first sub-component during the execution of the executable graphical model; and providing a control that alters a viewing perspective that includes the first component, the first sub-component, or another component or sub-component, the another component or sub-component included in the graphical model, wherein altering the viewing perspective causes the first sub-component to become more discernible by at least one of appearing closer to a viewer or rotating the first sub-component on an axis such that the first sub-component faces the viewer, wherein the real world physical system includes an electrical circuit; and the first component is an electrical circuit component; wherein the first component is related to the first sub-component by a hierarchical relationship that includes at least one of a functional relationship or a function call relationship, and altering the viewing perspective brings the hierarchical relationship into focus. |