A GraphNode that reports availability as the logical AND of all of its child nodes. That is, this node is available/visible only if all all of its child nodes are available/visible.
This is useful for all-or-nothing relationships, such as a beverage only being available when all ingredients required by the beverage are available.
The default type of this node is "AND", but a custom type can be used to allow for improved searchability.
public AndNode(String id)
Creates an AND node with the specified ID and a type of "AND".
id String : the ID of the node
public AndNode(String type, String id)
Creates an AND node with the specified ID and type.
Although the node has the specified type name, it still functions as an AND node. This is useful for creating a layer of AND nodes in a graph that can be easily searched by type.
type String : the type of the node
id String : the ID of the node