def attach_area(self, name):
        """Attach an area targetting a node."""
        area = { 'target': name, 'portals': [ ] }
        if not name in self.asset['nodes']:
            LOG.warning("portal:%s:referencing missing node:%s", name, name)
        self.asset['areas'].append(area)
dataset/ETHPy150Open turbulenz/turbulenz_tools/turbulenz_tools/tools/asset2json.py/JsonAsset.attach_area/original