开发者

Graph File Format that supports list as attributes

I'd like to store a graph to a file. Usually I would do that in GraphML. But my nodes have non-scalar properties (e.g. the property "hobby" of node "Alice" has the values ["swimming", "reading"]). As defined in the GraphML specification, properties of nodes may only be scalars,开发者_StackOverflow社区 not lists. I looked around and did not find any graph file format that supports lists as properties. Does anybody know such a format?

Cheers,

Manuel


Since GraphML is a type of XML, you can use a custom XML schema to be able to add in your own custom properties to GraphML, which could include adding lists.

Extending GraphML and W3Schools Schema Tutorial

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜