Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to increase size of edges arrow in sigma js?

How to increase size of edges arrow in sigmajs? I have this snippet of code.

s = new sigma({
graph: g,
container: 'network-graph',
renderer: {
    container: document.getElementById('network-graph'),
    type: 'canvas'
},
settings: {
    maxNodeSize: 16,
    minNodeSize: 45,
    minEdgeSize: 5,
    maxEdgeSize: 5,
    minArrowSize: 25
}
});
like image 745
melvil james Avatar asked Mar 14 '23 08:03

melvil james


1 Answers

On every sigma edge, there is a property size. If you put an higger number, this will increase the edge.

like image 63
logisima Avatar answered Jun 24 '23 16:06

logisima