Source Transit Destination Mesh (std_mesh)
Calculate and visualize connections between sources, transits, and destinations in a mesh network. Customize labels and edge styles.
Source Transit Destination Mesh
Purpose
The "Source Transit Destination Mesh" function in the web app is used to visualize the connections between different sources, transits, and destinations in a mesh format. It helps users understand the relationships and flow between various entities.
Use Cases
- Planning transportation routes
- Analyzing supply chain networks
- Studying communication pathways
How to Use
- Enter the names of the sources, transits, destinations, and links in the respective input fields.
- Optionally, you can provide custom labels for the connections.
- Click on the "Generate Mesh" button to visualize the mesh diagram.
Input Values
- Sources: Names of the sources (default unit is inch)
- Transits: Names of the transits (default unit is inch)
- Destinations: Names of the destinations (default unit is inch)
- Links: Connections between sources, transits, and destinations
- Custom Labels: Optional custom labels for the connections
Output Values
- Chart: Visualization of the mesh diagram
- Nodes: List of nodes (sources, transits, destinations)
- Edges: List of connections between nodes
Any other Instruction
- You can click on the nodes or edges in the mesh diagram to view additional details.
- Use the zoom and pan features to explore the mesh diagram more effectively.
Code Analysis
The function calculates the positions of nodes and edges based on the input values provided by the user. It then generates a mesh diagram using the QChart library to represent the connections between different entities.
Technical Parameters
sources, transits, 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():
std_mesh(sources='A,B,C', transits='X,Y', destinations='1,2,3', links='A-X,A-Y,B-X,B-Y,C-X,C-Y,X-1,X-2,X-3,Y-1,Y-2,Y-3', edge_label=False)
std_mesh(sources='S1,S2', transits='T1,T2', destinations='D1,D2', links='S1-T1,S1-T2,S2-T1,S2-T2,T1-D1,T1-D2,T2-D1,T2-D2', edge_label=True, custom_labels='Link1,Link2,Link3,Link4,Link5,Link6,Link7,Link8')
Click on Help icon to open the help page on a separate window.