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

  1. Enter the coordinates of the points or nodes in the input form.
  2. Define the edges or connections between the points.
  3. Optionally, provide a title for the diagram and choose to display edge labels.
  4. Click on the "Generate Diagram" button to see the visual representation.

Input Values

  1. Nodes: Coordinates of points in the network (default unit is inch)
  2. Description: List of points with X and Y coordinates
  3. Edges: Connections between points
  4. Description: List of edges with start and end nodes
  5. Title: Title for the network diagram
  6. Description: Optional title for the diagram
  7. Edge Label: Display labels on the edges (true/false)
  8. Description: Choose whether to show labels on the edges

Output Values

  1. Chart: Visual representation of the network diagram
  2. 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

  1. The function takes input parameters such as nodes, edges, title, and edge_label.
  2. It creates a chart object and generates a mesh diagram using the provided nodes and edges.
  3. 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.


Point X Y
A 0.0 0.0
B 1.0 0.0
C 1.0 1.0
D -0.5 0.8
Edge N1 N2
1 A B
2 B C
3 C D
4 D A
5 A C




Calculator: mesh, Created by: super, V#0: , Variant owner: , Link