Simple Network Diagram or 2D Mesh (mesh)
Calculate network diagram with mesh nodes and edges, displaying title and edge labels.
Simple Network Diagram or 2D Mesh
Purpose
The Simple Network Diagram or 2D Mesh function in the web app allows users to create a visual representation of a network diagram or mesh in a two-dimensional space. This can be useful for planning and organizing various elements in a network.
Use Cases
- Creating a network diagram for a project
- Visualizing connections between different points or nodes
- Planning the layout of a mesh network
How to Use
- Enter the coordinates of the points or nodes in the input form.
- Define the edges or connections between the points.
- Optionally, provide a title for the diagram and choose to display edge labels.
- Click on the "Generate Diagram" button to see the visual representation.
Input Values
- Nodes: Coordinates of points in the network (default unit is inch)
- Description: List of points with X and Y coordinates
- Edges: Connections between points
- Description: List of edges with start and end nodes
- Title: Title for the network diagram
- Description: Optional title for the diagram
- Edge Label: Display labels on the edges (true/false)
- Description: Choose whether to show labels on the edges
Output Values
- Chart: Visual representation of the network diagram
- Description: Graphical display of the network with nodes and edges
Any other Instruction
- Make sure to provide valid coordinates for the nodes to ensure accurate representation.
- Use the edge labels to add additional information to the diagram.
Code Analysis
- The function takes input parameters such as nodes, edges, title, and edge_label.
- It creates a chart object and generates a mesh diagram using the provided nodes and edges.
- The function returns the chart object containing the network diagram.
Technical Parameters
nodes, edges, title, edge_label
Return Values
chart
Example Expressions
You can use the following expressions to directly evaluate in a non-interactive manner using eva():
mesh(nodes={"Point": ["A", "B", "C"], "X": [0, 1, 1], "Y": [0, 0, 1]},
edges={"Edge": ["1", "2", "3"], "N1": ["A", "B", "C"], "N2": ["B", "C", "A"]},
title='Sample Network Diagram',
edge_label=True)
mesh(nodes={"Point": ["X", "Y", "Z"], "X": [0, 1, 1], "Y": [0, 1, 0]},
edges={"Edge": ["1", "2", "3"], "N1": ["X", "Y", "Z"], "N2": ["Y", "Z", "X"]},
title='Mesh Layout',
edge_label=False)
Click on Help icon to open the help page on a separate window.