Hi,

First, I analyze the statistics of my real-world graph data set. For example, 
determine the degree distribution -- if you want to get fancy, the degree 
distribution for each edge type/label. Then I plot that on a log/log-scale. Get 
the slope of that plot which gives me the alpha exponent. From there, I use 
iGraph, NetworkX, etc. to generate an artificial graph (at whatever size I 
want) that respects that scaling exponent (that alpha).

Another method, that is easier is simply to do a rich-get-richer, preferential 
attachment algorithm which will give you a natural looking graph at any 
arbitrary size. The algorithm for that is fairly simple---max 50 lines of code.

HTH,
Marko.

http://markorodriguez.com

On Aug 8, 2011, at 9:53 AM, Michael Hunger wrote:

> Normally you just write a generator that creates nodes, relationships and 
> properties that would
> resemble YOUR domain model.
> 
> You can create a graph using that generator either with the normal java API 
> or if it is really large (100M+ nodes and rels) then use the 
> Batch-Inserter-API for that.
> 
> Then you implement your use-cases on top of your domain model and test and 
> verify them on a small graph and performance test them on the large, 
> generated graph.
> 
> Cheers
> 
> Michael
> 
> Am 08.08.2011 um 17:49 schrieb Reza Ameri:
> 
>> Hi,
>> How can I test my application that uses Neo4j?
>> I can not find a huge sample graph to test my app with it. Is there any one
>> that can help me???
>> Thank you all
>> _______________________________________________
>> Neo4j mailing list
>> [email protected]
>> https://lists.neo4j.org/mailman/listinfo/user
> 
> _______________________________________________
> Neo4j mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user

_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to