hicsail / constellation-js

Library for combinatorially specifying, constraining, and exploring genetic design spaces.
http://constellationcad.org
MIT License
10 stars 8 forks source link

`createEpsilonNode` doesn't seem to match schemas #106

Open isaacguerreir opened 3 months ago

isaacguerreir commented 3 months ago

It seems method createEpsilonNode from Graph class is creating a Node that does not fit the schema defined on the graph.schema.json. I would like to ask if Nodes are suppose to have a component field also.

https://github.com/hicsail/constellation-js/blob/1d6479f25013c9efd4133b3d349ddf96f623d957/lib/stateGraph.js#L87

https://github.com/hicsail/constellation-js/blob/1d6479f25013c9efd4133b3d349ddf96f623d957/schemas/graph.schema.json#L59-L84