OptionalcolorsCustom colors
Graph data
OptionalheightGraph height in pixels
OptionallabelsCustom labels
OptionalnodeCustom node colors by type
OptionalonCallback when a node is clicked. Fires regardless of drill-down behavior.
OptionalonAsync drill-down callback. When provided, clicking a node calls this with the node info; the returned graph replaces the view and a breadcrumb is shown so the user can navigate back. If omitted, drill-down is disabled.
OptionalresolveResolve a userId (typically an email or cleaned email) to a human display name. Used for person / currentUser node labels and tooltips so the graph shows "Alice" or a student nickname instead of "karlreti_s3@gmail_com". The defaultName is the node's existing label and should be returned if no better resolution is available.
OptionalshowWhether to show zoom controls
OptionalshowWhether to show the legend
OptionalsxMUI sx prop
Props for NetworkGraph component