why tgraphx
Flat vectors are not the whole graph.
Most built-in GNN layers expect one feature vector per node. General libraries can store higher-rank node tensors, but you usually write the message functions yourself. TGraphX ships convolutional message-passing layers for [C, H, W] and [C, D, H, W] node features.
What you handle yourself with vector-oriented layers
- Reshaping or custom message functions to keep image or volume structure.
- Shape bookkeeping between encoder and graph layers.
What changes when nodes can be tensors
- You write the same shape your data has — no flattening.
- Graph construction checks node counts and edge indices up front.
- Vision, KG, RL, and graph generation share one substrate.
positioning
Where TGraphX is complementary
| Tool | Strength | TGraphX is |
|---|---|---|
| PyG / DGL | Industrial GNN ecosystems, broad operator coverage | complementary · use together |
| NetworkX | Classical graph algorithms, analysis | complementary · interop encouraged |
| PyKEEN | Specialized knowledge-graph embedding | partial overlap on basic KG embeddings; PyKEEN is far broader |
| Stable-Baselines3 / RLlib | RL infrastructure, distributed training | complementary · TGraphX provides graph envs |