/**
  * Method supportsChild.
  *
  * @param NodeInterface $child - Child.
  *
  * @return bool
  */
 public function supportsChild(NodeInterface $child) : bool
 {
     parent::supportsChild($child);
     return $child instanceof State || $child instanceof Flow;
 }
 /**
  * Method supportsChild.
  *
  * @param NodeInterface $child - Child.
  *
  * @return bool
  */
 public function supportsChild(NodeInterface $child) : bool
 {
     parent::supportsChild($child);
     return $child instanceof Transition;
 }