I agree that this would be great, I mean the node/edge properties and also a query language. I would definitely love that! It is probably "too much" for igraph, though, so if we ever implement these, it would not be igraph any more. :)
Actually the way attributes are implemented in igraph, it would not be too hard to add "attribute handlers" (in R and/or Python), that have local attributes instead of global ones. But this will probably not happen soon, or maybe ever. Gabor On Wed, Oct 29, 2014 at 4:29 AM, Massimo Franceschet <[email protected]> wrote: > Is it possible to use igraph as a graph database, like neo4j for instance? > In particular, I would like to encode in igraph a property graph, which is a > graph in which nodes and edges have their own properties. An example: > http://inserpio.wordpress.com/information-technology/neo4art-van-goghs-journey/ > I tried but immediately noticed that attributes in igraph are 'global', that > is, you can set them for all nodes or edges, not for a subset of them, like > nodes or edges of a given type. Since igraph have great analysis capabilities > (which in general graph databases like neo4j do not have), it would be very > useful to encode property graphs in igraph as well, and possibly have a > simple query language for them. > > > > > _______________________________________________ > igraph-help mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/igraph-help _______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
