Optionalcdr: ChangeDetectorRefOptionalActiveOptional active / selected record ID. When provided, the node is highlighted and all ancestors are expanded so it is visible in full tree context.
Emitted after a node has collapsed its children.
Emitted after a node has expanded its children.
Emitted after a node has been reparented.
Flattened list of all loaded hierarchy nodes for search and lookup.
Controls whether action buttons (Open Record, Focus, Add Child) appear on node cards.
Emitted before a node collapses its children. Cancelable.
Emitted before a node expands its children. Cancelable.
Emitted before a node is reparented. Cancelable.
Declarative configuration defining the target entity and visual layout properties.
OptionalDataOptional pre-loaded data array. If provided, the component skips the automated
RunView query and constructs the tree directly from these items.
OptionalFocusPrimary key ID to focus as the subtree root.
Emitted when the user requests navigation to a full entity record.
Emitted when an action button (e.g. Open, Add Child, Focus) is invoked on a node.
Emitted when a node is clicked.
Emitted when a node is double-clicked.
Emitted when a node is selected / set as active.
If specified, this provider will be used for communication and for all metadata purposes. By default, if not provided, the Metadata and RunView classes are used for this and the default GraphQLDataProvider is used which is connected to the same back-end MJAPI instance as the Metadata and RunView classes. If you want to have this component connect to a different MJAPI back-end, create an instance of a ProviderBase sub-class like GraphQLDataProvider/etc, and configure it as appropriate to connect to the MJAPI back-end you want to use, and then pass it in here.
The root nodes of the active view.
Emitted when the user zooms in or out on the hierarchy canvas.
OptionalZoomOptional persisted zoom scale factor to restore.
StaticɵdirStaticɵfacReturns either the default Metadata provider or the one specified in the Provider property, if it was specified
Returns either the default RunQuery provider or the one specified in the Provider property, if it was specified
Returns either the default RunView provider or the one specified in the Provider property, if it was specified
Constructs the in-memory tree nodes, computes composite keys, descendant counts, and depths.
Loads records from the server via RunView using entity metadata.
Optionalevent: MouseEventA callback method that is invoked immediately after Angular has completed initialization of a component's view. It is invoked only once when the view is instantiated.
A callback method that is invoked immediately after the default change detector has checked data-bound properties if at least one has changed, and before the view and content children are checked.
The changed properties.
A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed.
A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.
Computes the D3 hierarchy tree layout and updates the SVG rendering.
OptionalrecordId: stringToggles the expand/collapse state of a node, firing cancelable Before and After events.
Optionalevent: MouseEvent
Modern, interactive, canvas-based visual hierarchy and organizational chart component.
Automatically generates a dynamic, zoomable tree visualization for any MemberJunction entity with a self-referencing parent foreign key (such as Corporate Subsidiaries, Product Categories, Committee Governance structures, Tag Taxonomies, and Management Lines).
Features:
[+]/[-]badges with direct and total descendant counts.--mj-*surface, border, typography, and accent tokens.Example