raesl.plot.matrix#

Matrix based views on an ESL specification.

Module Contents#

Functions#

mdm() → plotly.graph_objs.Figure)

Create a Multi-Domain Matrix plot using Plotly.

raesl.plot.matrix.mdm(graph: ragraph.graph.Graph, node_kinds: List[str] | None = None, edge_kinds: List[str] | None = None, edge_labels: List[str] | None = None, edge_weights: List[str] | None = None, lead_components: List[ragraph.node.Node] | None = None, depth: int | None = 2, style: raesl.plot.generic.Style = Style()) plotly.graph_objs.Figure#

Create a Multi-Domain Matrix plot using Plotly.

Parameters:
  • node_kinds – The node kinds to display.

  • edge_kinds – The edge kinds to display.

  • edge_labels – The edge labels to display.

  • edge_weights – The edge weights to display.

  • lead_components – The lead components to be used in node selection.

  • depth – The depth up to which components and related nodes must be included.

  • style – RaESL style options.

Returns:

Plotly go.Figure object of the Multi-Domain Matrix.