Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

Util digraph source and sink detector #2

Closed
ChristianMurphy opened this issue Apr 9, 2018 · 1 comment
Closed

Util digraph source and sink detector #2

ChristianMurphy opened this issue Apr 9, 2018 · 1 comment

Comments

@ChristianMurphy
Copy link
Member

In the following graph "Welcome" is a source, because it only has outgoing nodes.
"Web" and "GraphViz!" are sinks because they have only incoming nodes.

digraph G {
  "Welcome" -> "To"
  "To" -> "Web"
  "To" -> "GraphViz!"
}

selection_009

This proposal would add a isSink and isSource attribute to the data property on edgeStatement nodes.

@ChristianMurphy
Copy link
Member Author

Thanks for starting the discussion @ChristianMurphy !
We're in the process unifying ideas in with discussions unifiedjs/collective#44
If you'd like to continue this thread, or start a new one https://github.com/redotjs/redot/discussions/categories/ideas will be the home for ideas going forward.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant