Module 3.1 - Multilayred
Module 3.1 - Multilayred
Department of Biotechnology
JIIT NOIDA
The nodes of the original networks are replicated over the different layers. The layers represent the different aspects
of relationships in the network. Edges are divided among the layers based on their colors
layered graph
• These are used for visualizing and understanding the relationships and
dependencies within the graph
• The layered graph layout approach consists of three steps:
1. Layer assignment: the nodes are assigned to horizontal layers such that
the edges point downwards.
2. Crossing reduction: the algorithm computes a sequence of the nodes
within each layer, minimizing the number of crossings between edges.
3. Coordinate assignment: the nodes are assigned to coordinates
maintaining the layers and sequence calculated in the previous steps
layered graph : Algorithm
• Layered graph layouts are commonly used in the following application
areas: workflow visualization, call graph visualization, entity-relationship
diagrams, activity diagrams, biochemical/metabolic pathways, genealogical
data, and network management
• A layered graph drawing algorithm e.g.
1. Sugiyama Framework: This is a foundational framework for layered graph drawing
that introduces the concept of node layers and hierarchical graph layout.
2. Hierarchical Drawing Algorithms: Algorithms like the top-down and bottom-up
approaches are commonly used for hierarchical graphs, where nodes are organized
into levels.
• The primary goal of layered graph drawing is to improve the readability and
understanding of complex relationships within a graph.
• Apart from that it is also helpful in conveying the inherent hierarchical or
layered structure of the data, making it easier for users to interpret and
analyze
Sugiyama Method
• The Sugiyama Method:
• Cycle Removal
– may temporarily Reverse some edges
– each cycle must have at least one edge against the flow
(NP Hard), requires heuristic (e.g. enhanced greedy
heuristic) or Randomized Algorithms.
• Layering. (assigning y)
– vertices may be introduced to split edges
• Node Ordering
– the Ordering is all that matters (not co-ordinates), NP
Hard.
– Many heuristics. e.g. Layer-by-layer sweep (two-layer
crossing problem), addressed by 1. Sorting, 2. Barrycentre,
or 3. Median, methods.
• Co-Ordinate Assignment.
Algorithm
• Layered graph drawing or hierarchical graph drawing is a type of graph
drawing in which the vertices of a directed graph are drawn in horizontal
rows or layers with the edges generally directed downwards
• The ideal form for a layered drawing would be an upward planar drawing,
in which all edges are oriented in a consistent direction and no pairs of
edges cross.
• However, graphs often contain cycles, minimizing the number of
inconsistently oriented edges is NP-hard, and minimizing the number of
crossings is also NP-hard;
• so, layered graph drawing systems typically apply a sequence
of heuristics that reduce these types of flaws in the drawing without
guaranteeing to find a drawing with the minimum number of flaws.
Implementations of the multilayer framework
1. Multiplex networks
• Multiplex Networks are edge-
colored graphs, where the
nodes connect with edges
belonging to M different
aspects .
• The edges are embedded based
on their type in different layers
all containing the complete set
of nodes X of length n
• . Multiplex networks explore
and incorporate the
interconnectivity of the same
system in multiple channels
represented by the layers
A Multiplex Graph. The nodes of the network are replicated over layers, and each layer
represents a particular aspect of connection between the nodes
Implementations of the multilayer framework
2. Multilevel networks
• Multilevel networks are
edge-colored graphs. They
are similar to multiplex net-
• works, with a difference
being that layers can
contain not only a subset of
edges but a
• subset of nodes as well.
The graph is a tuple defined
by the sets of nodes X,
• edges E, and layers S with
length p
Multilevel Graph. Each layer of the graph is a subset of the original network (nodes and
intra-edges). The inter-edges only connect the same nodes on different layers
Implementations of the multilayer framework
3. Multi-Hypernetworks or
hypergraphs are node-based graphs
formed by different intersecting
communities or sub-networks.
• A Multi-hypergraph is defined by a
pair (X, H), X being the set of
nodes, and H a multi-set of subsets
of X being the edges
• Multi-Hypernetworks are not
layer-disjoint, but node-aligned
since one node can be assigned to
multiple layers, based on the
intersection of the subsets.
Hypernetwork. Adapted from . a The network in a monoplex
view; b The network in a multilayer view. Nodes belonging to
the same ensemble are assigned the same layer. All the nodes
on one layer are intra-connected. The same nodes on different
layers are interconnected (dotted edges)
Multilayered Graph modeling
Visualization of multilayered graph
Ref: https://bdataanalytics.biomedcentral.com/articles/10.1186/s41044-020-00046-0
Multilayer Cancer Cells’ Network.
The Figure shows two graphs, normal and disease. The nodes in these graphs are the proteins, assigned to seven
layers reflecting seven cancer types
Example of Multilayer network in biology