DAG view/pl: Difference between revisions

From FreeCAD Documentation
(Created page with "==Odnośniki internetowe==")
(Created page with "Widok DAG jest [https://en.wikipedia.org/wiki/Directed_acyclic_graph skierowanym grafem acyklicznym] ''('''D'''irected '''A'''cyclic '''G'''raph)'', który pokazuje relacje między różnymi obiektami w dokumencie. Służy przede wszystkim do pokazania, w jaki sposób niektóre obiekty zależą od innych w złożonym modelu z wieloma funkcjami i odniesieniami, takimi jak te, które można utworzyć za pomocą środowiska pracy 24px Pa...")
Line 1: Line 1:
<languages/>
<languages/>


<span id="Introduction"></span>
==Wprowadzenie==
==Wprowadzenie==


{{TOCright}}
{{TOCright}}


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 [[Image:Workbench_PartDesign.svg|24px]] [[PartDesign Workbench|PartDesign Workbench]].
Widok DAG jest [https://en.wikipedia.org/wiki/Directed_acyclic_graph skierowanym grafem acyklicznym] ''('''D'''irected '''A'''cyclic '''G'''raph)'', który pokazuje relacje między różnymi obiektami w dokumencie. Służy przede wszystkim do pokazania, w jaki sposób niektóre obiekty zależą od innych w złożonym modelu z wieloma funkcjami i odniesieniami, takimi jak te, które można utworzyć za pomocą środowiska pracy [[Image:Workbench_PartDesign.svg|24px]] [[PartDesign_Workbench/pl|Projekt Części]].


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.


<span id="Example"></span>
==Przykład==
==Przykład==


Line 45: Line 47:
** -1 - parent on top, children under it
** -1 - parent on top, children under it


<span id="Links"></span>
==Odnośniki internetowe==
==Odnośniki internetowe==



Revision as of 05:04, 16 December 2023

Wprowadzenie

Widok DAG jest skierowanym grafem acyklicznym (Directed Acyclic Graph), który pokazuje relacje między różnymi obiektami w dokumencie. Służy przede wszystkim do pokazania, w jaki sposób niektóre obiekty zależą od innych w złożonym modelu z wieloma funkcjami i odniesieniami, takimi jak te, które można utworzyć za pomocą środowiska pracy Projekt Części.

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.

Przykład

A simple model will be seen with different views.

Model with 2D and 3D shapes.

Left: objects shown in the standard tree view. Right: objects shown in the DAG view.

Relationships between the objects shown in the dependency graph.

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.

Restart FreeCAD and activate DAG view: View → Panels → DAG view.

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

  • BaseApp/Preferences/DAGView
  • FontPointSize - Set size of text font and can help with readability with high DPI displays. Set to 0 for default font size.
  • SelectionMode
    • 0 - single click selects an item. Ctrl-click to add items to selection.
    • 1 - every click adds/removes item to selection.
  • Direction - the order in which items are displayed.
    • 1 - child on top, parent under it
    • -1 - parent on top, children under it

Odnośniki internetowe