Graph Tree Drag & Drop

Anything that you think should be in Cacti.

Moderators: Developers, Moderators

Post Reply
ChrisHem
Posts: 6
Joined: Wed Mar 24, 2010 8:24 am

Graph Tree Drag & Drop

Post by ChrisHem »

Would anyone else besides me be interested in having the graph trees be sortable by Drag & Drop instead of the seemingly-archaic Up&Down arrows? Having to click 20 times to relocate a single line item in the graph tree is starting to feel Really Old to me.

I've snagged some of the generated HTML code of the graph tree, and began to implement a JQuery example I found into it, and have a slightly-working version of a drag-and-drop graph tree... but could use some help with it.

If anyone knows JQuery, and the internals of Cacti, I'd appreciate the assistance!

I can also provide a link to my example code, if anyone is interested.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Graph Tree Drag & Drop

Post by gandalf »

This will be available with one of the next versions. Currently it is NOT part of 089 ...
R.
ChrisHem
Posts: 6
Joined: Wed Mar 24, 2010 8:24 am

Re: Graph Tree Drag & Drop

Post by ChrisHem »

Great, I'm very glad to hear that!
I checked the road map before posting, and the forum (searches for drag and drop, etc), but didn't see mention of this.
Now that I look at the Road Map (http://cacti.net/roadmap.php), I see that it hasn't been updated for over a year (last change 2011-09-11)!
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Graph Tree Drag & Drop

Post by gandalf »

Yeah - that's the draback between coding and talking about possible features. But as we now manage d&d, it may help us in various places
R.
shoko
Posts: 17
Joined: Sun Jul 01, 2012 1:22 am

Re: Graph Tree Drag & Drop

Post by shoko »

Hey ,

any updates for this feature ?
ChrisHem
Posts: 6
Joined: Wed Mar 24, 2010 8:24 am

Re: Graph Tree Drag & Drop

Post by ChrisHem »

shoko wrote:Hey ,
any updates for this feature ?
Well, the code is currently on version 0.88b.
Gandalf indicated that the Drag & Drop "feature" will NOT be included in v0.89.
So, it seems like it's still quite a ways out, both in revisions, and also in time (as unfortunate as that is).

I offered to help integrate D&D as a patch, but didn't get much in the way of volunteers for supporting me in that mission.
cjfournier
Posts: 15
Joined: Thu Mar 01, 2012 9:56 am

Re: Graph Tree Drag & Drop

Post by cjfournier »

Is there any way to easily preview the DnD functionality in 0.8.9? I checked out the last stream and the Default Tree on 'Graph Tree' link just produces a blank page.

I've created a graph tree drag and drop feature as a plugin, which I expect to release imminently (pending arrival of the built-in version.) I've made certain assumptions about operation, and I'd like to compare notes. :wink:
cjfournier
Posts: 15
Joined: Thu Mar 01, 2012 9:56 am

Re: Graph Tree Drag & Drop

Post by cjfournier »

boring
Posts: 1
Joined: Mon May 11, 2015 1:15 am

Re: Graph Tree Drag & Drop

Post by boring »

I checked the road map before posting, and the forum (searches for drag and drop, etc), but didn't see mention of this.
Now that I look at the Road Map (http://cacti.net/roadmap.php), I see that it hasn't been updated for over a year (last change 2011-09-11)!
GuL
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests