Edit in GitHubLog an issue

Scenegraph

The XD document is represented as a hierarchical tree of nodes called the scenegraph. Some scenenodes may contain children (e.g. a Group or Artboard), while others are leaf nodes (e.g. a Rectangle or Text node).

example of scenegraph tree

Typically, you access scenegraph nodes via the selection argument that is passed to your plugin command.

You can modify properties on any scenenodes within the current edit context (see below), and you can add leaf nodes to the edit context, but you cannot make structural changes directly to the scenegraph tree - e.g. reordering nodes or changing nesting. To do this, instead use commands.

  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.