Experimental: this API is experimental and might be changed or removed in the future.

GraphView.GetElementByGuid

Switch to Manual
public Experimental.UIElements.GraphView.GraphElement GetElementByGuid (string guid);

Parameters

guidGUID。

Returns

GraphElement The first element with the given GUID, within all of GraphView, not just elements contained in layers. Null if none found.

Description

获取任何带有给定 GUID 的元素。