docs: def mapVisualProperty(self, visualProperty=None,mappingType=None, mappingColumn=None,
                          lower=None,center=None,upper=None,\
                          discrete=None,\
                          network="current",table="node",\
                          namespace="default",verbose=False):
          """"
          Generates a dictionary for a given visual property
  
          :param visualProperty: visualProperty
          :param mappingType: mappingType
          :param mappingColumn: mappingColumn
          :param lower: for "continuous" mappings a list of the form [value,rgb_string]
          :param center: for "continuous" mappings a list of the form [value,rgb_string]
          :param upper: for "continuous" mappings a list of the form [value,rgb_string]
          :param discrete: for discrete mappings, a list of lists of the form [ list_of_keys, list_of_values ]
  		:param network (string, optional): Specifies a network by name, or by
              SUID if the prefix SUID: is used. The keyword CURRENT, or a blank
              value can also be used to specify the current network.
          :param namespace (string, optional): Node, Edge, and Network objects support
              the default, local, and hidden namespaces. Root networks also support the
              shared namespace. Custom namespaces may be specified by Apps.
          :returns: a dictionary for the respective visual property
          """
          u=self.__url
          host=u.split("//")[1].split(":")[0]
          port=u.split(":")[2].split("/")[0]
          version=u.split(":")[2].split("/")[1]
  
          if type(network) != int:
              network=check_network(self,network,verbose=verbose)
              PARAMS=set_param(["columnList","namespace","network"],["SUID",namespace,network])
              networkID=api(namespace="network", command="get attribute",PARAMS=PARAMS, host=host,port=str(port),version=version)
              PARAMS=set_param(["columnList","namespace","network"],["name",namespace,network])
              networkname=api(namespace="network", command="get attribute",PARAMS=PARAMS, host=host,port=str(port),version=version)
              network=networkID[0]["SUID"]
              networkname=networkname[0]["name"]
  
          URL="http://"+str(host)+":"+str(port)+"/v1/networks/"+str(network)+"/tables/"+namespace+table+"/columns/"
          if verbose:
              print(URL)
              sys.stdout.flush()
          response = requests.get(URL).json()
  
          mappingColumnType=None
          for r in response:
              if r["name"]==mappingColumn:
                  mappingColumnType=r["type"]
                  break
          if not mappingColumnType:
              print("For mappingType: "+mappingType+" it was not possible to find a  mappingColumnType.")
              sys.stdout.flush()
  
          PARAMS={"mappingType" : mappingType,\
                  "mappingColumn" : mappingColumn,
                  "mappingColumnType" : mappingColumnType,
                  "visualProperty" : visualProperty}
          if mappingType == "continuous":
              PARAMS["points"]=[{"value" : lower[0],\
                              "lesser" : lower[1],\
                              "equal" : lower[1],\
                              "greater" : lower[1]},\
                              {"value" : center[0],
                              "lesser" : center[1],
                              "equal" : center[1],
                              "greater" : center[1] },\
                              {"value" : upper[0],\
                              "lesser" : upper[1],\
                              "equal" : upper[1],\
                              "greater" : upper[1]}]
  
          if discrete:
              PARAMS["map"]=[]
              for k,v in zip(discrete[0],discrete[1]):
                  PARAMS["map"].append({ "key":k,"value":v})
  
          if not mappingColumnType:
              res=None
          else:
              res=PARAMS
  
          return res