add abstract method

bool add(
  1. dynamic val
)

Add a Node to Graph

Return false when there is such a node

Implementation

bool add(val);