Graph to show Part of Model, editable etc. - by Graphviz ?

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
paullee
Veteran
Posts: 5118
Joined: Wed May 04, 2016 3:58 pm

Re: Graph to show Part of Model, editable etc. - by Graphviz ?

Post by paullee »

p.s.

BTW, agreed with @chrisb's comments, and 'shortest path' @lvk88 indicated at a glance.
paullee
Veteran
Posts: 5118
Joined: Wed May 04, 2016 3:58 pm

Re: Graph to show Part of Model, editable etc. - by Graphviz ?

Post by paullee »

A few quick random thoughts after reading the proposal :)
  1. Performance consideration - Currently TechDraw pages update when the model is revised but it slow down exponentially the model get complictaed. A switch to toggle Automatic Update (not checked exact name) was intriduced.
  2. Interaction - Currently some objects are just 'static representation' like TechDraw objects, Draft Shape2DView etc. What i mean is these objects can't be 'edited' so the changes reflected back in the model. It would be nice, if clicking these node in tne graph is at least equivalent to picking the object in Model Tree.
chrisb
Veteran
Posts: 54168
Joined: Tue Mar 17, 2015 9:14 am

Re: Graph to show Part of Model, editable etc. - by Graphviz ?

Post by chrisb »

Concering the implementation. The relationship between objects is available via PropertyLink: InList and OutList. Can the dependency graph be called from Python as well?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
Pauvres_honteux
Posts: 728
Joined: Sun Feb 16, 2014 12:05 am
Location: Far side of the moon

Re: Graph to show Part of Model, editable etc. - by Graphviz ?

Post by Pauvres_honteux »

paullee
Veteran
Posts: 5118
Joined: Wed May 04, 2016 3:58 pm

Re: Graph to show Part of Model, editable etc. - by Graphviz ?

Post by paullee »

chrisb wrote: Tue Apr 13, 2021 10:27 pm Can the dependency graph be called from Python as well?
Good to be available for python :)
paullee
Veteran
Posts: 5118
Joined: Wed May 04, 2016 3:58 pm

Re: Graph to show Part of Model, editable etc. - by Graphviz ?

Post by paullee »

Pauvres_honteux wrote: Wed Apr 14, 2021 7:44 am I get the feeling this is almost the same whish?
Children and/or parent to be highlighted when hoovering over something in the tree/3D viewport
Highly related but not exactly the same thing :)

BTW, it ,ay be good if pressing + /- then selection go up / down 1 level ... maybe need L / R to control which branch to climb :D
Post Reply