Interface: AdjacencyMatrixOptions
Experimental
Options of adjacencyMatrix.
Extends
Omit<GraphDataOptions, keyofDiscreteColorOptions>.ContinuousColorOptions
Properties
| Property | Modifier | Type | Description | Inherited from |
|---|---|---|---|---|
categoryOrders? | readonly | Readonly<Record<string, readonly unknown[]>> | Experimental Value orders per column: { day: ['Thu', 'Fri', 'Sat', 'Sun'] }. They order the traces and legend (for grouping columns), facets, frames and category axes. Values not listed follow in order of first appearance; listed values without rows still take a color and a facet (as px). | CommonOptions.categoryOrders |
color? | readonly | ColumnRef | Experimental Node column of groups or communities, which order reads. It colors nothing. | - |
colorContinuousMidpoint? | readonly | number | cmid: the value at the middle of a diverging colorscale. | ContinuousColorOptions.colorContinuousMidpoint |
colorContinuousScale? | readonly | ContinuousScale | Colorscale of a numeric color. Default: the template's sequential colorscale. | ContinuousColorOptions.colorContinuousScale |
customData? | readonly | readonly ColumnRef[] | Experimental Columns put in customdata (first, before hoverData's), e.g. for click handlers. | HoverOptions.customData |
directed? | readonly | boolean | Experimental Whether links have a direction. graph: arrowheads at the target end (default false). chord: the trace's directed (its default is true). adjacencyMatrix: rows are sources and columns targets; otherwise (the default) a link fills both cells. | GraphDataOptions.directed |
height? | readonly | number | Experimental Figure height in px (layout.height). | CommonOptions.height |
hoverData? | readonly | | readonly ColumnRef[] | Readonly<Record<string, string | boolean>> | Experimental More columns for the hover label, through customdata: a list of columns, or an object that adds columns (true), removes lines (false, e.g. { x: false }) or formats them (':.2f', `' | %Y'`). |
hoverName? | readonly | ColumnRef | Experimental Column shown in bold at the top of the hover label (hovertext). | HoverOptions.hoverName |
id? | readonly | ColumnRef | Experimental Node column of the ids that source and target refer to. Default 'id'. | GraphDataOptions.id |
label? | readonly | ColumnRef | Experimental Node column of labels (node.label). Default: the ids. | GraphDataOptions.label |
labels? | readonly | Readonly<Record<string, string>> | Experimental Display names of columns: { gdpPercap: 'GDP per capita' }. Used for axis titles, hover lines, the legend title, facet labels, the colorbar title and the animation slider. | CommonOptions.labels |
linkColor? | readonly | ColumnRef | Experimental Edge column to color the links by: one color per value, from linkColorMap and then the color sequence. Links have no legend; the value is a line of the hover label. | GraphDataOptions.linkColor |
linkColorMap? | readonly | Readonly<Record<string, string>> | "identity" | Experimental Fixed link colors per value of linkColor; 'identity': the values are colors. | GraphDataOptions.linkColorMap |
linkHoverData? | readonly | | readonly ColumnRef[] | Readonly<Record<string, string | boolean>> | Experimental More edge columns for the link hover label, like hoverData. | GraphDataOptions.linkHoverData |
linkLabel? | readonly | ColumnRef | Experimental Edge column of link labels, for the hover label (link.label). | GraphDataOptions.linkLabel |
nodes? | readonly | DataInput | Experimental The node table: one row per node. It gives the nodes labels, colors and hover text, sets their order (nodes that only the edges name follow, in order of first appearance) and adds nodes without links. color, hoverName, hoverData, customData and the other node options name its columns. Without it, they can only be arrays with one value per node, in order of first appearance in the edges. | GraphDataOptions.nodes |
order? | readonly | readonly number[] | "group" | "input" | "degree" | "community" | Experimental The order of rows and columns. 'input': the nodes' own. 'degree': the most connected first (by weight). 'group': the nodes of a color value together, groups in order of first appearance (or categoryOrders), by degree within. 'community': the same with the largest group first, for color: louvain(graph): Express does not detect communities itself. Or a list of node indices, such as the order of the graph package's adjacencyMatrix. Default: 'group' with color, else 'input'. | - |
rangeColor? | readonly | readonly [number, number] | [cmin, cmax] of the colorscale. | ContinuousColorOptions.rangeColor |
source? | readonly | ColumnRef | Experimental Edge column of the id of the node a link starts at. Default 'source'. | GraphDataOptions.source |
target? | readonly | ColumnRef | Experimental Edge column of the id of the node a link ends at. Default 'target'. | GraphDataOptions.target |
template? | readonly | string | Template | Experimental layout.template: a registered name ('plotly-classic') or a template object. Default: unset, so the chart's default template applies (Holochart's holochart look); its colorway, symbol and dash cycles and sequential colorscale are what the figure's colors are taken from. | CommonOptions.template |
title? | readonly | string | Experimental Figure title (layout.title.text). | CommonOptions.title |
weight? | readonly | ColumnRef | Experimental Edge column of link weights (link.value). | GraphDataOptions.weight |
width? | readonly | number | Experimental Figure width in px (layout.width). | CommonOptions.width |