<< NARVAL_G_ShowNodes NARVAL NARVAL_G_ShowNodesIndex >>

NARVAL >> NARVAL > NARVAL_G_ShowNodesEdges

NARVAL_G_ShowNodesEdges

Display the index of each node and edge inside a graph.

Calling Sequence

[f] = NARVAL_G_ShowNodesEdgesIndex(g,w)

Parameters

g :

graph.

w :

window index.

f :

handle of the graph window.

Description

NARVAL_G_ShowNodesEdges displays the index of each node and each edge inside the graph g within the window w defined by its handle f.

Examples

n=100;//network size
l=1000;//network squared area side
d=100;//Locality radius
[g]=NARVAL_T_LocalityConnex(n,l,d);//generation of a topology
w=1;//window index
f=NARVAL_G_ShowGraph(g,w);//graph visualization
w2=2;//window index
[fn]=NARVAL_G_ShowNodesEdges(g,w2);application of NARVAL_G_ShowNodesEdges

Dependency

NARVAL_G_ShowGraph

Authors

Foued Melakessou

Contact

Dr. Foued Melakessou

Research Associate

Interdisciplinary Centre for Security, Reliability and Trust

Room F106

University of Luxembourg

6, rue Coudenhove Kalergi

L-1359 Luxembourg-Kirchberg

E-mail: foued.melakessou@uni.lu

Tel: (+352) 46 66 44 5346

Home Page


<< NARVAL_G_ShowNodes NARVAL NARVAL_G_ShowNodesIndex >>