<< NARVAL_G_SaveGraph NARVAL NARVAL_G_ShowEdgesIndex >>

NARVAL >> NARVAL > NARVAL_G_ShowEdges

NARVAL_G_ShowEdges

Highlight a set of edges in a graph.

Calling Sequence

[go,f] = NARVAL_G_ShowEdges(g,e,c,w,i)

Parameters

g :

network graph.

e :

vector of edges.

c :

edge colour.

w :

edge width.

i :

window index.

go :

output network graph.

f :

handle of the graph window.

Description

NARVAL_G_ShowEdges highlights the set of edges e of the graph g. These edges are displayed with the colour c and width w in the window of index i defined by its handle f. The output graph is go.

Examples

[path]=NARVAL_F_NARVALPath();//path to NARVAL module
path=path+'/demos/';//folder path
name='topo_20.topo';//file name
Lxmin=100;
Lxmax=900;
Lymin=100;
Lymax=900;
[g]=NARVAL_T_UploadTopology(path,name,Lxmin,Lxmax,Lymin,Lymax);//graph loading
ind=1;//window index
f=NARVAL_G_ShowNodesEdges(g,ind);//graph visualization
c=5;//visualization parameters: color and width 
w=5;
i2=2;//window index
edges=[1 5 13];//list of edges
[gm,f2]=NARVAL_G_ShowEdges(g,edges,c,w,i2);//application of NARVAL_G_ShowEdges

Dependency

NARVAL_G_OriginalGraph, 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_SaveGraph NARVAL NARVAL_G_ShowEdgesIndex >>