Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Directed Graphs / Edge Direction? #26

Closed
bentwonk opened this issue Jun 7, 2012 · 17 comments
Closed

Directed Graphs / Edge Direction? #26

bentwonk opened this issue Jun 7, 2012 · 17 comments

Comments

@bentwonk
Copy link

bentwonk commented Jun 7, 2012

Is it possible to visible display the direction of an edge (eg with an arrow, or a colour gradient)?

I see edge direction as being pretty important in a lot of graphs.

D3.js utilizes the svg path and marker to do this, I read the sigma plotter code but could only see support for lines and curves, nothing directional, did I miss something?

I think directed edges would be a very useful addition to a great (and impressively fast) lib, in my use case it would make it perfect :-)

@lawrencegs
Copy link

Would love to have this as well :)

@andreineculau
Copy link

+1
What I ended up doing temporarily is: on node hover, draw the in/out edges with different colors

@bentwonk
Copy link
Author

Andreinecalau, ha ha, I did exactly the same, but it's not as intuitive as an arrow :-)

@bentwonk bentwonk reopened this Jul 11, 2012
@qualutions
Copy link

Thanks for the idea but I too would love a directional arrow

@bentwonk
Copy link
Author

any news on this? I was asked again today 'if we could use arrows instead'

@jmorenoamor
Copy link

I'm also very interested in this feature to be added

@kirkstrobeck
Copy link

+1

@yaph
Copy link
Contributor

yaph commented Sep 5, 2012

@andreineculau and @bentwonk what colors did you use to indicate directions?

@straux
Copy link

straux commented Nov 8, 2012

Actually sigma already handles directed edges: if you display edges as curves, a clockwise curve is an outgoing edge and a counterclockwise curve is an ingoing edge.
Indeed, an alternative display with arrows could be more explicit.

@bentwonk
Copy link
Author

bentwonk commented Nov 8, 2012

I do display the edges as curves, no user has spotted the clockwise/counter clockwise indicating direction (despite the help text mentioning it), they would instantly recognise an arrow.

@kirkstrobeck
Copy link

Here is a great example of the desired effect

@klebba
Copy link

klebba commented Jan 24, 2013

+1 -- can this be achieved with a plugin? No new commits for 11 months, is anyone maintaining this project?

@Azinp
Copy link

Azinp commented Mar 11, 2013

No news about edge direction ?

@JohnMulligan
Copy link

I think I've managed to make this work; in my repository.

@jacomyal
Copy link
Owner

I just merged this pull request #101 (from @hansifer), that makes possible to draw edges as arrows.

@mrocklin
Copy link

Is there a minimal example of this somewhere? See related stack overflow question

@mangeshkaslikar
Copy link

Is there somewhere a small example on how to do these...? I exported my graph from gephi using the sigma JS template , while gephi in its preview section shows the arrows, when i see the output of the exported Sigma JS , no arrows show up. What property needs to be changed in order to see the arrows .. and in which file ?

qinfchen pushed a commit to qinfchen/sigma.js that referenced this issue Feb 12, 2015
new build files for sigmajs core
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests