Home Wiki Blog Forum GEXF.net

Gephi forums

Community support

Drawing curved edges in Gephi

Please use a mailing-list, see http://gephi.org/developers/

Drawing curved edges in Gephi

Postby maktas » 27 Apr 2013 22:15

Hi all,

I'm trying to implement a hiveplot layout in Gephi, but until now I couldn't find a way for drawing curved edges in Gephi. In preview mode, however, curved edges are seen as predefined. I would like to ask whether there is any way to draw curved edges or not in the graph screen.

Another question I would like to ask is how to generate dropdown menus, I mean in which API are they?

Thanks.
maktas
 
Posts: 4
Joined: 22 Apr 2013 14:17
Location: Istanbul, Turkey

Re: Drawing curved edges in Gephi

Postby admin » 27 Apr 2013 22:20

Hi,

That's cool that you implement this layout, I'm excited to try it!

whether there is any way to draw curved edges or not in the graph screen


it's not possible.
User avatar
admin
Gephi Community Manager
 
Posts: 960
Joined: 09 Dec 2009 15:41
Location: Paris, France

Re: Drawing curved edges in Gephi

Postby maktas » 28 Apr 2013 19:37

Hi again,

I'm just trying to implement the algorithm for sorting the nodes and the basic implementation right now. I think it would be cooler if the drawing curved edges would be available in Gephi.
By the way I've found out how to take parameters from a dropdown menu. Now, I wonder if it's possible to draw axes (straight lines to locate the nodes on) in a graph? I think it must be possible, but I don't know how to draw it.
maktas
 
Posts: 4
Joined: 22 Apr 2013 14:17
Location: Istanbul, Turkey

Re: Drawing curved edges in Gephi

Postby maktas » 30 Apr 2013 18:53

Hi,

In the attachment you can find a Picture from the first version of Hiveplot Layout that I have implemented. As I said it would be better if curved edges were available in Gephi. Moreover, I did not get an answer about whether drawing axes on the graph is possible or not. Together with these, still there are things to improve in the plugin, such as a dynamic input panel depending on the user's choice of number of axes. I would be glad to hear your comments and suggestions.

Thanks.
Attachments
Hiveplot.jpg
maktas
 
Posts: 4
Joined: 22 Apr 2013 14:17
Location: Istanbul, Turkey

Re: Drawing curved edges in Gephi

Postby eduramiba » 01 May 2013 21:43

Hi,
Great :)

Graph window drawing is not really extensible for now, since Visualization module is not modular enough.
Special elements can be rendered in Preview only, creating a Preview plugin http://wiki.gephi.org/index.php/HowTo_w ... w_renderer.

You can create custom input panel for your own classes with Custom PropertyEditors http://docs.oracle.com/javase/tutorial/ ... ation.html
Eduardo
Life... is like a grapefruit. It's orange and squishy, and has a few pips in it, and some folks have half a one for breakfast.
User avatar
eduramiba
Gephi Code Manager
 
Posts: 581
Joined: 22 Mar 2010 16:30
Location: Zaragoza, Spain

Re: Drawing curved edges in Gephi

Postby maktas » 20 May 2013 03:41

Hi Edu,

Thanks for your reply. Finally I have finished the dynamic input panel for my layout plugin using JPanel. It is not excellent but better than a static one. I also have uploaded my plugin to the marketplace, so I hope it gets accepted soon and everyone can give it a try. I am attaching a screenshot from the final appearance of the layout.

Regards.
Attachments
hiveplot_layout.jpg
maktas
 
Posts: 4
Joined: 22 Apr 2013 14:17
Location: Istanbul, Turkey


Return to Development

Who is online

Users browsing this forum: No registered users and 0 guests

sports medicine portsmouth nh where to buy metronidazole