DAG view: Difference between revisions

From FreeCAD Documentation
(→‎Introduction: Caption: model that includes various bodies and features; its representation in the standard tree view (left), in the DAG view (right), and in the dependency graph (below).)
(Marked this version for translation)
Line 2: Line 2:
<translate>
<translate>


== Introduction ==
== Introduction == <!--T:1-->


<!--T:2-->
The [[DAG view|DAG view]] is a [https://en.wikipedia.org/wiki/Directed_acyclic_graph directed acyclic graph] (DAG) that shows the relationships between different objects in the document. It is meant primarily to show how certain objects depend on others in a complex model with many features and references, such as those that can be created with the [[PartDesign Workbench|PartDesign Workbench]].
The [[DAG view|DAG view]] is a [https://en.wikipedia.org/wiki/Directed_acyclic_graph directed acyclic graph] (DAG) that shows the relationships between different objects in the document. It is meant primarily to show how certain objects depend on others in a complex model with many features and references, such as those that can be created with the [[PartDesign Workbench|PartDesign Workbench]].


<!--T:3-->
The DAG view resembles the graph that can be produced from a Git repository and its branches. Together with the standard [[tree view|tree view]] and the [[Std_DependencyGraph|dependency graph]], the DAG view is a tool to inspect the parametric history of objects in a document.
The DAG view resembles the graph that can be produced from a Git repository and its branches. Together with the standard [[tree view|tree view]] and the [[Std_DependencyGraph|dependency graph]], the DAG view is a tool to inspect the parametric history of objects in a document.


<!--T:4-->
[[File:FreeCAD_Combo_view_Tree_View.png]] [[File:FreeCAD_DAG_view.png]]
[[File:FreeCAD_Combo_view_Tree_View.png]] [[File:FreeCAD_DAG_view.png]]


<!--T:5-->
[[File:FreeCAD_DAG_view_Std_DependencyGraph.png|800px]]
[[File:FreeCAD_DAG_view_Std_DependencyGraph.png|800px]]


<!--T:6-->
{{Caption|Model that includes various bodies and features; its representation in the standard [[tree view|tree view]] (left), in the DAG view (right), and in the [[Std_DependencyGraph|dependency graph]] (below).}}
{{Caption|Model that includes various bodies and features; its representation in the standard [[tree view|tree view]] (left), in the DAG view (right), and in the [[Std_DependencyGraph|dependency graph]] (below).}}


== Activating the DAG view ==
== Activating the DAG view == <!--T:7-->


<!--T:8-->
The DAG view was introduced in 0.17 as an experimental feature for power users and developers, so they could troubleshoot complex models; therefore, the DAG view is not available by default.
The DAG view was introduced in 0.17 as an experimental feature for power users and developers, so they could troubleshoot complex models; therefore, the DAG view is not available by default.


<!--T:9-->
To use this view use the [[parameter editor|parameter editor]]. Create the following subgroup if it doesn't exist
To use this view use the [[parameter editor|parameter editor]]. Create the following subgroup if it doesn't exist
* {{incode|BaseApp/Preferences/DockWindows/DAGView}}
* {{incode|BaseApp/Preferences/DockWindows/DAGView}}


<!--T:10-->
then add the parameter {{incode|Enabled}} of type {{incode|Boolean}}, and set it to {{TRUE}}.
then add the parameter {{incode|Enabled}} of type {{incode|Boolean}}, and set it to {{TRUE}}.


<!--T:11-->
Then activate it, {{MenuCommand|View → Panels → DAG view}}.
Then activate it, {{MenuCommand|View → Panels → DAG view}}.


<!--T:12-->
In the [[parameter editor|parameter editor]] you can also change some properties in the following subgroup
In the [[parameter editor|parameter editor]] you can also change some properties in the following subgroup
* {{incode|BaseApp/Preferences/DAGView}}
* {{incode|BaseApp/Preferences/DAGView}}


<!--T:13-->
See also:
See also:
* [https://forum.freecadweb.org/viewtopic.php?f=20&t=11276 DAGView]
* [https://forum.freecadweb.org/viewtopic.php?f=20&t=11276 DAGView]
* [https://forum.freecadweb.org/viewtopic.php?f=20&t=11276 easter egg of PartDesign Next: DAG View]
* [https://forum.freecadweb.org/viewtopic.php?f=20&t=11276 easter egg of PartDesign Next: DAG View]


<!--T:14-->
{{Interface}}
{{Interface}}
{{Userdocnavi}}
{{Userdocnavi}}

Revision as of 12:39, 28 September 2019

Introduction

The DAG view is a directed acyclic graph (DAG) that shows the relationships between different objects in the document. It is meant primarily to show how certain objects depend on others in a complex model with many features and references, such as those that can be created with the PartDesign Workbench.

The DAG view resembles the graph that can be produced from a Git repository and its branches. Together with the standard tree view and the dependency graph, the DAG view is a tool to inspect the parametric history of objects in a document.

File:FreeCAD Combo view Tree View.png

Model that includes various bodies and features; its representation in the standard tree view (left), in the DAG view (right), and in the dependency graph (below).

Activating the DAG view

The DAG view was introduced in 0.17 as an experimental feature for power users and developers, so they could troubleshoot complex models; therefore, the DAG view is not available by default.

To use this view use the parameter editor. Create the following subgroup if it doesn't exist

  • BaseApp/Preferences/DockWindows/DAGView

then add the parameter Enabled of type Boolean, and set it to true.

Then activate it, View → Panels → DAG view.

In the parameter editor you can also change some properties in the following subgroup

  • BaseApp/Preferences/DAGView

See also:

Template:Interface