空间图-对象可以有多个父对象吗,如何移动它们,还有哪些包含选项? [英] space graph - can objects have multiple parents, how to move them, and what include options are there?

查看:63
本文介绍了空间图-对象可以有多个父对象吗,如何移动它们,还有哪些包含选项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

spacePaths = string []属性表明空间对象可以有多个父对象.到一个对象可以有多条路线.但是空间只有一个父对象...是哪一个?

Hi there, the spacePaths=string[] attribute suggest that space objects can have multiple parents. That there can be multiple routes to an object. But then there's only one parent object to a space... which one is it?

是在移动"?通过简单地对具有不同父ID的空间对象运行Patch来实现图中的对象?

Is "moving" an object in the graph achieved by simply running a Patch on a space object with a different parent id?

是否有关于可用包含"的文档?对于不同的API?例如,如果您添加"fullpath",则包括空间对象的spacePaths属性.查询...有没有一种方法来获取完整的对象模型- 包含的默认值通常为无.

Is there documentation about the available "includes" for the different api's? for instance the spacePaths attribute for space objects is included if you add "fullpath" to the query... is there a way to obtain the full object model - the default on includes is typically none.

问候,格雷戈尔

推荐答案

格雷戈尔!在这里回答并交叉发布堆栈溢出:)

Hi Gregor! Answering here and cross-posting to Stack Overflow as well :)

回答是图还是树":

目前,这是一棵通过父空间" ID生成的树.我们正在内部讨论如何最好地支持多对多关系,同时保持我们的拓扑结构的简单性.同时,我们确实看到这棵树使许多 开发人员的核心场景,在某些情况下,我们已经看到人们通过使用可扩展属性标记其他相关空间来围绕单亲关系建立关系.

Currently it’s a tree through Parent Space ID.  We’re discussing internally how best to support many-to-many relationships while keeping the simplicity of our topologies.  In the meantime, we do see the tree enabling many core scenarios for developers, and in some cases we’ve seen people build around the single-parent relationship by using extensible properties to tag additional related spaces.

一般来说,要创建spaceObject类型以扩展拓扑:

In answer to creating spaceObject types in general to extend the Topology:

目前,扩展类型/本体存在局限性.我们正在寻找改善本体的方法,这也是我们考虑的问题;我们拿这个 反馈作为我们计划的一部分.

Currently that’s a limitation with extended types/ontologies.  We’re looking at ways to improve ontologies and this is something we’ve thought about as well; we'll take this feedback as part of our planning.


这篇关于空间图-对象可以有多个父对象吗,如何移动它们,还有哪些包含选项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆