245 questions
0
votes
0
answers
24
views
How to display a .gexv file on a website using sigma.js
so maybe this is the most easy question ever, but I'm reading the documentation for days now and I still don't have a clue.
I want to display a .gexf file stored on my server on the website that's on ...
0
votes
0
answers
67
views
How to set a dashed edge type on Sigma.js
So i've been trying to create dashed edges on sigma.js and I saw another post here which said you just need to add the property type:'' and then choose the type of edge you want, but for some reason ...
0
votes
0
answers
53
views
How can I render badges just below each node in sigma.js that stay aligned during zoom and pan?
I’m working with sigma.js (v2) using the @react-sigma/core wrapper, and I want to render a small badge (like a red circle with a number) below each node.
The requirements are:
The badge should appear ...
1
vote
1
answer
89
views
Fix the position of an infobox relative to a sigma.js node
I was experimenting with sigma.js with the help of AI,and I had a need to click a node and make it show me a info box of information. I added the info box and two nodes so I could test, but I can't ...
2
votes
1
answer
373
views
How do I make forceatlas2 plugin on CDN based HTML?
I cannot seem to get forceAtlas2 to work with SigmaJS:
Uncaught TypeError: sigmaInstance.startForceAtlas2 is not a function
Everything I see for CDN libraries and force atlas layout is for Sigma v1 ...
1
vote
1
answer
80
views
How can I set a font for a graph on Sigma.js?
Documentation for Sigma.js only specifies a Setting for a graph labelFont that receives a string. But I can't make it work because there no options for this string. Is it a source path for a .woff? Is ...
0
votes
0
answers
678
views
jupyterlab ipysigma Error displaying widget: model not found
I am just trying to use ipysigma with networkx in jupyterlab as shown in this talk.
I have spent all morning trying different fixes: changing versions, using notebook instead of lab, etc. The error ...
0
votes
1
answer
208
views
How to render customimagenode using @react-sigma/core
I am using @react/sigma-core to render svgs as images. The problem is, my svg is getting cropped. i am not able to load full image. i tried using settings but nothing seems to work. any suggestions? i ...
0
votes
1
answer
446
views
How to create square shaped nodes?
I'm new in sigma.js development, and I've been trying to create a custom shape node which is square, as per the docs, this is possible by using the "renderer".
Based on the docs, I need to ...
0
votes
1
answer
132
views
How to parse a multigraph from a GEXF file/string using graphology and sigmaJS?
I am trying to render a network map using a GEXF file in my application.
I am using ReactJS, with SigmaJS and graphology to handle the graphs. While simple graphs render fine, I am not able to parse ...
0
votes
1
answer
980
views
react-sigma / sigmaJS example using a force layout?
I'm trying to find a simple example of how to use sigmaJS in react with a force layout.
Most of the examples seem broken across multiple files.
The docs hint at layouts but are incomplete.
I was ...
1
vote
0
answers
138
views
How to render self-loops with sigma.js?
I think the sigma.js library is really amazing and I have been using it a lot lately for a scientific project. My problem is that I could not get self-loops (self-interactions) to render. I have ...
2
votes
0
answers
164
views
React Sigma Layout - No context Provided: useSigmaContext() can only be used ... inside <SigmaContainer> when it is
I'm trying to use the layout hooks with ReactSigma, and following the guide here https://sim51.github.io/react-sigma/docs/example/layouts, trying both circular and forceatlas2, I'm getting an error of ...
0
votes
0
answers
338
views
Sigma.JS custom rendering
I'm trying to visualize the data coming through the API with Sigma.JS, but I can't always get results. When I tried to visualize the dynamic incoming data without mock data by writing a simple API ...
0
votes
1
answer
86
views
Fix horizontal node positions while scaling vertical
I have a force layout applied to a Sigma graph. The horizontal elements are in fixed column positions, while the vertical varies.
I would like to preserve the horizontal positions when the graph gets ...