Visualization of Graphs and Networks-Part II

Visualization of Graphs and Networks-Part II

As we discussed the basics of graphs and networks in the previous tutorial, that is why graphs are important for relational data, and some examples of graphs. Along with that, we also discussed some considerations and problems that are to be kept in mind whilst drawing the graphs. In this tutorial, we’ll further dive into it, discussing different layouts, node-link diagrams and Attribute-driven layouts.

Possible Ways of Graph Visualization

Networks and Trees can be arranged in several different ways, and their choice depends on the relation, task and scale. Some arrangements are node-link diagrams, which are valid for both networks and trees, adjacency matrix, which is a derived table valid for both networks and trees, and enclosure which has containment marks and is valid for only trees.

Node-Link Diagrams

Node-link diagrams have either stable or unstable layouts.

A list of stable layouts to randomness is:

  • Grid Layouts: The nodes are generally placed in a grid form, typically in rows and columns. An easy-to-understand layout and is suitable for visualizing structures with clear organization.
  • Orthogonal Layouts: The nodes are placed in grid form and generally follow the 90-degree path (orthogonal). This layout is often used to represent hierarchical structures or to emphasize the flow of information.
  • Circular Layouts: The nodes are generally placed in circular paths, with edges radiating from the centre. A layout useful for emphasizing relationships between nodes is often applied in cyclic structures.
  • Arc Diagrams: The nodes are generally placed on a single axis and the arcs connect the related nodes. Useful in visualizing relationships in linear or sequential data.
  • Chord diagram: The nodes are generally placed in a circle, and chords connect related nodes. Commonly used to show relationships between entities, such as connections between different categories or groups.
  • Radial Graph Diagram: Nodes are generally placed in a circular pattern, just like a circular layout, but the edges do not necessarily follow straight lines. Radial layouts are often employed for emphasizing relationships and reducing visual clutter.
  • Sugiyama Layout (Special Directed Acyclic Graph): Specifically designed for directed acyclic graphs (DAGs), Sugiyama layout generally places nodes in layers, minimizing edge crossings. It is useful for visualizing processes or hierarchies with a clear direction.

Unstable Layouts include:

  • Random Layout: Nodes are generally placed in a random order. Despite it being quick and easy, it can result in confusing visualizations without any clear pattern or organization.
  • Force Directed Layout: Nodes are initially placed randomly and then repel each other or are attracted based on physical simulation principles. This dynamic layout adjusts over time to minimize energy in the system, providing flexibility for visualizing complex relationships but may result in less stable arrangements.

Below are some visual examples of the above-mentioned diagrams:

Attribute-Driven Layouts

Large node-link layouts at times get messy, which can hinder the process of good visualization. To cope with such type of situation we can use data attributes to perform layouts. Attributes may be associated with nodes or edges or maybe statistical properties of the graph.

A few examples of Attribute-Driven Layouts include Skitter Layout, which shows the Internet connectivity in the form of a radial scatterplot, in which the angle shows the latitude and the radius is the degree of the number of connections.

Another example is the Hive plot, in which the nodes or dots may be replicated. In this, nodes are sorted on radial axes by network statistics. Different axes may show different subsets of nodes.

Conclusion

Conclusively, we have discussed the node-link diagrams in some detail and got an overview of the attribute-driven layouts, and why they are used. We also discussed different layouts, which will be applied in different types of visualization. In the next tutorial, we’ll discuss the Sugiyama Layout, what it is the steps are drawing a Sugiyama Layout and what is its purpose. A step-wise explanation will be provided in the upcoming tutorial.

I hope you liked the tutorial, please provide your feedback in the comments section below, or email us at immadshahid@gmail.com.

Daud Khalid

Business Developer | Business Consultant | Brand Approval | Power BI, Excel, Helium 10 & Keepa Expert | Computer Engineer | Data Analyst

8mo

Hi.! I need Help regarding the Graph and network project. can you ?

Like
Reply

To view or add a comment, sign in

More articles by Immad S. Qureshi

  • Visualization of Graphs and Networks – Part I

    Visualization of Graphs and Networks – Part I

    Up till now, in Data Visualization and Analysis, we have discussed data in which data points were independent of one…

  • Data Visualization and Analysis Part I

    Data Visualization and Analysis Part I

    Data Visualization is an important factor in data science to effectively communicate insights. Visualizing is far…

  • Machine Learning- An Introduction

    Machine Learning- An Introduction

    Machine Learning is a branch of AI and Data Science that mainly focuses on using data and algorithms to simulate how…

  • Education: Priority for a Nation

    Education: Priority for a Nation

    Education is the most important pillar for any Nation for its uplift. If any Nation wants to grow stronger and compete…

    2 Comments
  • Russia-Ukraine Crisis and the World Affairs

    Russia-Ukraine Crisis and the World Affairs

    Since last month, the tensions between the Russian Federation and Ukraine were rising due to a border crisis. There…

  • Education: Priority for a Nation

    Education: Priority for a Nation

    Education is the most important pillar for any Nation for its uplift. If any Nation wants to grow stronger and compete…

  • Media in the old and new era: What’s different?

    Media in the old and new era: What’s different?

    For the last few hours, I have been going through an Instagram page, which had posts with clips from the 70s, 80s, 90s…

  • Who are we waiting for?

    Who are we waiting for?

    My Motherland, Pakistan came into existence on 14th August 1947, after many sacrifices. She was a result of the…

  • Why Sports are Neglected?

    Why Sports are Neglected?

    Sports is one of the most important activities for an individual. It physically keeps the body fit.

    1 Comment
  • Drug Abuse: Sickness not Pleasure

    Drug Abuse: Sickness not Pleasure

    Drug Abuse is becoming a major problem in our society. It is a sickness in society.

Insights from the community

Others also viewed

Explore topics