本文簡要介紹 python 語言中 arcgis.graph.KnowledgeGraph.named_object_type_adds
的用法。
用法:
named_object_type_adds(entity_types=[], relationship_types=[])
返回:
dict
顯示指定類型添加的結果。
將實體和關係類型添加到數據模型
Parameter
Description
entity_types
可選的字典列表。要添加到數據模型的實體類型列表,以字典格式表示。
relationship_types
可選的字典列表。要添加到數據模型的關係類型列表,以字典格式表示。
# example of a named type to be added to the data model { "name": "Person", "alias": "Person", "role": "esriGraphNamedObjectRegular", "strict": False, "properties": { "Name": { "name": "Name", "alias": "Name", "fieldType": "esriFieldTypeString", "editable": True, "visible": True, "required": False, "isSystemMaintained": False, "role": "esriGraphPropertyRegular" }, "Nickname": { "name": "Nickname", "alias": "Nickname", "fieldType": "esriFieldTypeString", "editable": True, "visible": True, "required": False, "isSystemMaintained": False, "role": "esriGraphPropertyRegular" } } }
相關用法
- Python ArcGIS KnowledgeGraph.named_object_type_delete用法及代碼示例
- Python ArcGIS KnowledgeGraph.named_object_type_update用法及代碼示例
- Python ArcGIS KnowledgeGraph.apply_edits用法及代碼示例
- Python ArcGIS KnowledgeGraph.graph_property_delete用法及代碼示例
- Python ArcGIS KnowledgeGraph.query用法及代碼示例
- Python ArcGIS KnowledgeGraph.graph_property_adds用法及代碼示例
- Python ArcGIS KnowledgeGraph.graph_property_update用法及代碼示例
- Python ArcGIS KnowledgeGraph.search用法及代碼示例
- Python ArcGIS KnowledgeGraph用法及代碼示例
- Python ArcGIS Kafka用法及代碼示例
- Python ArcGIS power用法及代碼示例
- Python ArcGIS APIKeyManager.get用法及代碼示例
- Python ArcGIS ContentManager.unshare_items用法及代碼示例
- Python ArcGIS ImageryLayer.thumbnail用法及代碼示例
- Python ArcGIS FormFieldElement用法及代碼示例
- Python ArcGIS Geometry.true_centroid用法及代碼示例
- Python ArcGIS Site.delete用法及代碼示例
- Python ArcGIS GeoAccessor.bbox用法及代碼示例
- Python arcgis.apps.hub.Initiative.update用法及代碼示例
- Python ArcGIS generate_service_areas用法及代碼示例
- Python ArcGIS build_overview用法及代碼示例
- Python ArcGIS RunInterval用法及代碼示例
- Python ArcGIS describe_dataset用法及代碼示例
- Python ArcGIS acos用法及代碼示例
- Python ArcGIS Item.publish用法及代碼示例
注:本文由純淨天空篩選整理自arcgis.com大神的英文原創作品 arcgis.graph.KnowledgeGraph.named_object_type_adds。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。