rncbc / qpwgraph

qpwgraph - A PipeWire Graph Qt GUI Interface
https://gitlab.freedesktop.org/rncbc/qpwgraph
GNU General Public License v2.0
246 stars 15 forks source link

Auto arranging nodes #22

Open Vaisakhkm2625 opened 1 year ago

Vaisakhkm2625 commented 1 year ago

First off all, thanks for making this wonderful utility.. it was a life saver for troubleshooting audio issues

Is there any automatic way to arrange these nodes? it is hard to keep track of nodes and arrange every time opening it... maybe a grid system with snapping too might be nice

unorgaized

3

I am not using any advanced features, i don't know if this issue is already solved or i am using this wrong

rncbc commented 1 year ago

try View > Repel Overlapping Nodes

Vaisakhkm2625 commented 1 year ago

try View > Repel Overlapping Nodes

sorry for the late reply,

yes i tried it before raising issue... i should have mentioned it.. image situation is not much better, still hard to find where starting and ending is...

https://youtu.be/MD_mQ-sEw7s so i have to do this every time if it is not arranged when i opens it up.... (audio is from some random yt video playing in the background)

(today all nodes were actually arranged like last time i set it when i opened it up ,so i removed ~/.config/rncbc.org/qpwgraph.conf to recreated it )

This is just recommendation, if it is hard to implement or not required, you can close this issue 😅

Lazerbeak12345 commented 1 year ago

GraphVis has a layout algorithm that might work for this. Not sure how that works though

rncbc commented 1 year ago

GraphVis has a layout algorithm that might work for this. Not sure how that works though

View > Repel Overlapping Nodes is the current solution; and it's going to stay, unless someone gets a better idea (in MR terms:))

Lazerbeak12345 commented 1 year ago

I'm not sure I understand what you mean by MR terms, and I also understand if you don't want to spend valuable time adding a feature you don't really care about. Thanks for putting in the effort regardless to reply.

If it's an API issue, here's the reference for the libgraphviz c API, which even provides a way to have the library calculate locations and splines, and allow you to render them how you'd prefer. https://www.graphviz.org/pdf/libguide.pdf (see section 1.2) more info: https://stackoverflow.com/questions/15910527/which-graphviz-library-api-is-recommended-for-a-c-project-that-needs-to-genera

Either way, thanks for this awesome audio tool! It's helped me dozens of times since I found it a week ago.

rncbc commented 1 year ago

fwiw. MR = Merge Request

squeaktoy commented 1 month ago

This is very important to me. The fact that qpwgraph cannot reasonably arrange the nodes really slows me down and makes it hard for me to conceptualize the graph in my head. I really like the way that Patchage arranges nodes and I want to see it in this program as well.