--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/062b9edc-1439-4d75-b0d3-305a7b7c8cd7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
"import matplotlibimport matplotlib.pyplot as pltimport networkx as nx
G = nx.parse_graphml(mygraph)
label = nx.get_node_attributes(G, "code")
plt.figure(figsize=(11,11))
nx.draw(G, node_color="#ffaa00",node_size=1200,labels=label,arrows=False)
Answered on SO:
On Fri, Jan 5, 2018 at 12:33 AM, Marlon <marl...@gmail.com> wrote:
For example, given this graph:gremlin> graph = TinkerFactory.createModern() (1) ==>tinkergraph[vertices:6 edges:6] gremlin> g = graph.traversal(standard()) (2) ==>graphtraversalsource[tinkergraph[vertices:6 edges:6], standard] gremlin> g.V().has('name','marko').out('knows').values('name') (3)How to print and save the graph into a file for visualization? I want a PNG or JPG file.I am new to this and thanks for help.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
Answered on SO:
On Fri, Jan 5, 2018 at 12:33 AM, Marlon <marl...@gmail.com> wrote:
For example, given this graph:gremlin> graph = TinkerFactory.createModern() (1) ==>tinkergraph[vertices:6 edges:6] gremlin> g = graph.traversal(standard()) (2) ==>graphtraversalsource[tinkergraph[vertices:6 edges:6], standard] gremlin> g.V().has('name','marko').out('knows').values('name') (3)How to print and save the graph into a file for visualization? I want a PNG or JPG file.I am new to this and thanks for help.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/8071f0f7-a68a-4c22-8450-17159180d965%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Gremlin-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gremlin-users/g1UiOzrFE-M/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CAA-H43_2psFX5CWvozXfgTgHw5RTyvLriefV1XqzG_QWBYU2ag%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CA%2Bi%2BWxENzqFz%3DqjEPcpMna9NvcHgPSUsH1%3DmXLQr08i1a6NgjA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/8071f0f7-a68a-4c22-8450-17159180d965%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Gremlin-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gremlin-users/g1UiOzrFE-M/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CAA-H43_2psFX5CWvozXfgTgHw5RTyvLriefV1XqzG_QWBYU2ag%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/8fe89d27-cb77-4e93-bd6e-64acb6e3f88d%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CAA-H43_6_JWPg8KhKCPUCR%2B2q9Fs2iahHH0_qKg5LXKugT%3DCuQ%40mail.gmail.com.
To unsubscribe from this group and all its topics, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CAA-H43_6_JWPg8KhKCPUCR%2B2q9Fs2iahHH0_qKg5LXKugT%3DCuQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/783F2362-3CD1-4CFE-A2D6-0D001CD2B7C5%40gmail.com.