divelab / DIG

A library for graph deep learning research
https://diveintographs.readthedocs.io/
GNU General Public License v3.0
1.82k stars 281 forks source link

Generate graphs for non-chemical domains #180

Closed AresEkb closed 1 year ago

AresEkb commented 1 year ago

Hi

Is it possible to generate generic graphs (for example, process models) using DIG? All examples seems to be chemistry-related.

lyzustc commented 1 year ago

Hi,

Thanks for your interest in our package! The graph generation codes are designed for molecular graph generation problems since currently most research literatures in graph generation are about molecular graphs. Generating other graphs cannot be done by directly using the codes in DIG. To train a generative model for these graphs, you may need to implement your graph data interface and loader and remove chemical related codes (such as bond valency check) in graph generation method implementations.

AresEkb commented 1 year ago

Thanks for the answer! I didn't found yet any ready to use generic graph generators. Maybe I'll try to adapt the library code or wait for developments in this area...