I have created a directed graph using jgraphx through java. Is there a way to find which vertexes have no out going edges?

asked 22 Mar '12, 04:50

LukeT's gravatar image

LukeT
112
accept rate: 0%


See mxGraph.findTreeRoots for similar code.

link

answered 22 Mar '12, 05:53

Gaudenz's gravatar image

Gaudenz
80.1k1310
accept rate: 39%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×194
×100
×79
×8
×1

Asked: 22 Mar '12, 04:50

Seen: 2,277 times

Last updated: 22 Mar '12, 05:53