visualization of graphml

3,032 views
Skip to first unread message

jan.ptacek

unread,
Mar 17, 2010, 12:04:59 PM3/17/10
to Gremlin-users
Hi everybody,

've been just wondering, how do you produce all the nice
visualizations as seen on
http://wiki.github.com/tinkerpop/gremlin ?

say I have a graphml file I use to query with gremlin, I've tried to
visualize() from webling, but it screws me the utf8 encoding ;(

thanks for any tips
jan

Marko Rodriguez

unread,
Mar 17, 2010, 3:00:47 PM3/17/10
to gremli...@googlegroups.com
Hey Jan,

I did all the visualizations on the site using iGraph [ http://igraph.sourceforge.net/ ] through R:Statistics. Simply export your graph to a graphml file:

g:save('my-graph.xml')

then load it in R.

library(igraph)
read.graph(file='my-graph.xml',format='graphml')

see http://igraph.sourceforge.net/doc/R/read.graph.html

Then visualize it using plot.graph:

http://igraph.sourceforge.net/doc/R/plot.common.html

Hope that helps...

See ya,
Marko.

http://markorodriguez.com
http://blueprints.tinkerpop.com

Peter Neubauer

unread,
Mar 18, 2010, 3:50:02 AM3/18/10
to gremli...@googlegroups.com
Tested this out,
very cool really!

Cheers,

/peter neubauer

COO and Sales, Neo Technology

GTalk: neubauer.peter
Skype peter.neubauer
Phone +46 704 106975
LinkedIn http://www.linkedin.com/in/neubauer
Twitter http://twitter.com/peterneubauer

http://www.neo4j.org - Your high performance graph database.
http://www.tinkerpop.com - Processing for Internet-scale graphs.
http://www.thoughtmade.com - Scandinavias coolest Bring-a-Thing party.

Ashwin Jayaprakash

unread,
Mar 7, 2011, 7:06:56 PM3/7/11
to gremli...@googlegroups.com
What parameters did you use to show the attributes? I can only get an ugly graph to display without attributes. Your graphs look totally different (clean). I'd appreciate it if you could show us your plot(g) parameters.

I've tried http://cytoscapeweb.cytoscape.org/demo for simpler graphs without attributes. Works so-so. yEd from http://www.yworks.com/en/index.html supports nested graphs but not attributes..sigh.

Ashwin.
Reply all
Reply to author
Forward
0 new messages