Hi guys,
Is there any way to offset the label on a Edge using Cytoscape ?
So far the label is on the edge itself which makes it difficult to read. I’ve been through the documentation without any luck.
Thx,
Quentin.
Hi guys,
Is there any way to offset the label on a Edge using Cytoscape ?
So far the label is on the edge itself which makes it difficult to read. I’ve been through the documentation without any luck.
Thx,
Quentin.
I may have found a temporary workaround to whoever is looking for a solution :
‘text-margin-y’ : ‘-10px’
stylesheet=[
{
'selector': 'edge',
'style': {
'curve-style': 'bezier',
'label': 'data(weight)',
'text-margin-y' : '-10px'
},
}
]
But it does not look great with edges that are not straight.