aplbrain / dotmotif

A performant, powerful query framework to search for network motifs
https://bossdb.org/tools/dotmotif
Apache License 2.0
81 stars 9 forks source link

Propagate constraints on formally-notated node symmetries #118

Closed j6k4m8 closed 2 years ago

j6k4m8 commented 2 years ago

If I formally declare that two nodes are automorphic to one another, constraints from one should propagate to the other.

A -> B
B -> A

A === B

A.size = "big"

That is, B.size should also have the constraint of B.size = "big".

This should happen BEFORE constraint validation steps, since there may be collisions:

A -> B
B -> A

A === B

A.size = "big"
B.size = "small" # collision!