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

Possible to connect a vertex to itself? #8

Open
plarem opened this issue Aug 22, 2014 · 2 comments
Open

Possible to connect a vertex to itself? #8

plarem opened this issue Aug 22, 2014 · 2 comments

Comments

@plarem
Copy link

plarem commented Aug 22, 2014

Is it possible to show a connection from a vertex to vertex itself? I want to display an ontology and I will use the d3-process-map. But now you cannot connect a vertex to itself.

@nylen
Copy link
Owner

nylen commented Aug 22, 2014

There's no functionality in the project to do that. It's certainly possible to add it, but I don't have time to work on it right now.

SVG paths only support cubic beziers, which is probably not enough degrees of freedom to make a
nice-looking curve from one edge of the rectangle to another. You'd want to splice together 2 or more bezier curves, and make sure the code to show dependencies works with self-references like this.

Here's an example implementation of higher-order curves: http://www.jasondavies.com/animated-bezier/

@nylen nylen closed this as completed Aug 22, 2014
@nylen
Copy link
Owner

nylen commented Aug 29, 2014

Reopening as this would be a nice enhancement.

@nylen nylen reopened this Aug 29, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants