diprism / fggs

Factor Graph Grammars in Python
MIT License
13 stars 3 forks source link

Change NodeLabel into a synonym for str #159

Open davidweichiang opened 2 years ago

davidweichiang commented 2 years ago

In #140 I outlined why I thought EdgeLabel should be restructured. This PR does the easier flip side, which is to restructure NodeLabel. Unlike EdgeLabel, NodeLabel doesn't have any extra information other than a string, so this PR just makes NodeLabel into a str.