Source Destination Mesh (sd_mesh)
Calculate source to destination mesh connections with customizable labels. Visualize the network for analysis.
Source Destination Mesh
Purpose
The Source Destination Mesh function is used to create a visual representation of connections between different sources and destinations. It helps users to understand the relationships and connections between various elements.
Use Cases
- Visualizing connections between different departments in an organization
- Mapping out transportation routes between cities
- Showing relationships between different data points
How to Use
- Enter the list of sources separated by commas in the Sources field.
- Enter the list of destinations separated by commas in the Destinations field.
- Enter the links between sources and destinations in the Links field.
- Optionally, you can provide custom labels for the edges in the Custom Labels field.
- Check the Edge Label checkbox if you want to display labels on the edges.
- Choose whether to display the mesh in a circular layout by checking the Circular checkbox.
- Click on the Generate Mesh button to create the visualization.
Input Values
- Sources: List of sources (default unit is inch)
- Destinations: List of destinations (default unit is inch)
- Links: Links between sources and destinations
- Custom Labels: Custom labels for the edges
Output Values
- Chart: Visual representation of the source-destination mesh
- Nodes: Data frame containing information about nodes
- Edges: Data frame containing information about edges
Any other Instruction
- Make sure to provide valid input values to generate an accurate mesh visualization.
- Explore the generated mesh to understand the connections between different elements.
Code Analysis
The function calculates the positions of nodes and edges based on the input sources, destinations, and links. It then creates a mesh chart to visually represent the connections between sources and destinations.
Technical Parameters
sources, destinations, links, edge_label, circular, custom_labels
Return Values
chart, nodes, edges
Example Expressions
You can use the following expressions to directly evaluate in a non-interactive manner using eva():
sd_mesh('A,B,C', 'X,Y,Z', 'A-X,A-Y,B-Y,C-Z', edge_label=True, circular=False, custom_labels='1,2,3')
sd_mesh('1,2,3', 'X,Y,Z', '1-X,2-Y,3-Z', edge_label=False, circular=True)
Click on Help icon to open the help page on a separate window.