Change isValidStringNode to nodeIsValidFormat
Created basic Node and Edge object