Assigns user-defined identifier to this item. If the id object is serializable, it will be automatically saved when serializing the diagram into binary format. When serializing to XML, you can save the tag by handling the DiagramListener.serializeTag event.
Namespace: com.mindfusion.diagramming.builders
Package: com.mindfusion.diagramming.builders
Java
![]() |
---|
public TreeViewNodeBuilder id ( |
An Object containing custom data.
This DiagramItemBuilder instance.