Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Graphviz and Subgraphs
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
borobudur  
View profile  
 More options May 19 2012, 3:42 am
From: borobudur <borobu...@gmx.ch>
Date: Sat, 19 May 2012 00:42:53 -0700 (PDT)
Local: Sat, May 19 2012 3:42 am
Subject: Graphviz and Subgraphs
Hi, I was wondering if I can configure the
org.neo4j.visualization.graphviz.GraphvizWriter so that I can have
subgraphs or clusters in my graphviz output according to this:

<a href="http://www.graphviz.org/content/cluster">graphviz.org/content/
cluster</a>

Thanks!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Neubauer  
View profile  
 More options May 19 2012, 4:18 am
From: Peter Neubauer <neubauer.pe...@gmail.com>
Date: Sat, 19 May 2012 10:18:14 +0200
Local: Sat, May 19 2012 4:18 am
Subject: Re: [Neo4j] Graphviz and Subgraphs

Well,
Yes that is possible, you will have to provide your own graph walker (like
the one used in the example at blog.neo4j.org) and your own graph style. I
have no example here (on mobile) but look at the tests and work from there.

Let us know your progress!

Send from mobile.
On May 19, 2012 9:42 AM, "borobudur" <borobu...@gmx.ch> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Neubauer  
View profile  
 More options May 23 2012, 3:20 am
From: Peter Neubauer <peter.neuba...@neotechnology.com>
Date: Wed, 23 May 2012 09:20:43 +0200
Local: Wed, May 23 2012 3:20 am
Subject: Re: [Neo4j] Graphviz and Subgraphs
Stefan,
Alistair just added some stub code for subgraphs here:

https://github.com/neo4j/community/commit/c392afbf5902e6d5fd649c13ac9...

You might be interested in contributing more along these lines?

Cheers,

/peter neubauer

G:  neubauer.peter
S:  peter.neubauer
P:  +46 704 106975
L:   http://www.linkedin.com/in/neubauer
T:   @peterneubauer

If you can write, you can code - @coderdojomalmo
If you can sketch, you can use a graph database - @neo4j


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alistair Jones  
View profile  
 More options May 23 2012, 2:03 pm
From: Alistair Jones <alistair.jo...@neotechnology.com>
Date: Wed, 23 May 2012 20:03:55 +0200
Local: Wed, May 23 2012 2:03 pm
Subject: Re: [Neo4j] Graphviz and Subgraphs

Hi,

In case it helps, the dot code from that example looks like this:

digraph Neo {
  node [
    fontname = "Bitstream Vera Sans"
    shape = "Mrecord"
    fontsize = "8"
  ]
  edge [
    fontname = "Bitstream Vera Sans"
    fontsize = "8"
  ]
 subgraph cluster_USA {  N13 [
    label = "{Node\[13\]|'name' = 'Emil Eifrém' :
String\l'country_of_residence' = 'USA' : String\l}"
  ]
 label = "USA"
 }
 subgraph cluster_Sweden {  N14 [
    label = "{Node\[14\]|'name' = 'Tobias Ivarsson' :
String\l'country_of_residence' = 'Sweden' : String\l}"
  ]
  N15 [
    label = "{Node\[15\]|'name' = 'Johan Svensson' :
String\l'country_of_residence' = 'Sweden' : String\l}"
  ]
 label = "Sweden"
 }
  N13 -> N14 [
    label = "KNOWS\n"
  ]
  N15 -> N13 [
    label = "KNOWS\n"
  ]
  N14 -> N15 [
    label = "KNOWS\n"
  ]
  N14 -> N13 [
    label = "WORKS_FOR\n"
  ]

}

I've attached a rendered SVG as well.

cheers,

Alistair

On 23 May 2012 09:20, Peter Neubauer <peter.neuba...@neotechnology.com>wrote:

  subgraphs.dot.svg
8K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »