some changes
some enum changes
added CENTER to AreaType
changed isConnected and isEdged