xgi icon indicating copy to clipboard operation
xgi copied to clipboard

YAML DiHypergraph

Open colltoaction opened this issue 2 years ago • 2 comments

Hi!

I'm working on a project to add programming capabilities to YAML. I would like to integrate xgi and I implemented this POC:

https://github.com/yaml-programming/graphs/commit/0cc71cabf853f0c15a0d522ccc47532b7b7a4f16

This interpretation is derived from the YAML spec:

https://yaml.org/spec/1.2.2/#321-representation-graph

I see you have several converters so I wanted to get your feedback before moving forward. Do you think this interpretation is valid? Would you find YAML easy to use? Do you think advanced features such as tags, recursion, can help defining more complex graphs using this ubiquitous language?

Thanks!

colltoaction avatar Oct 01 '23 15:10 colltoaction

Dear @colltoaction, thanks so much for raising this issue and so sorry for my delayed reply!! The XGI team is meeting tomorrow to discuss issues and pull requests and we will chat about your YAML suggestion. Thanks for your work on this!

nwlandry avatar Oct 09 '23 11:10 nwlandry

I created a project with an interesting approach of bypassing PyYAML nodes module:

  • https://github.com/yaml-programming/nx_yaml

FYI I'm still interested in contributing higher level abstractions to xgi.

colltoaction avatar Oct 23 '23 23:10 colltoaction