我们可以向 GOJS 节点添加像 iframe 这样的自定义 html 控件吗?

Can we add Custom html control like iframe to GOJS Node?

我需要将 iframe 添加到 GoJS 矩形节点。任何了解 GoJs 的人请帮助我解决这个问题。

答案是否定的,您不能将 HTML 添加到 GoJS 部件,例如节点。这将是非常低效的,并且会阻止渲染到各种表面。并且它会阻止尊重零件的预期 z-ordering。