Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7943761
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T00:21:59+00:00 2026-06-04T00:21:59+00:00

Can you please recommend a Java library for creating trees? I am looking for

  • 0

Can you please recommend a Java library for creating trees? I am looking for a library that will compute various paths between leaf nodes, report the number of leaf nodes the tree has, and other utility methods.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T00:22:02+00:00Added an answer on June 4, 2026 at 12:22 am

    Try jgrapht. From the webpage:

    JGraphT is a free Java graph library that provides mathematical graph-theory objects and algorithms. JGraphT supports various types of graphs including:

    • directed and undirected graphs.
    • graphs with weighted / unweighted / labeled or any user-defined edges.
    • various edge multiplicity options, including: simple-graphs, multigraphs, pseudographs.
    • unmodifiable graphs – allow modules to provide "read-only" access to internal graphs.
    • listenable graphs – allow external listeners to track modification events.
    • subgraphs graphs that are auto-updating subgraph views on other graphs.
    • all compositions of above graphs.

    Although powerful, JGraphT is designed to be simple and type-safe (via Java generics). For example, graph vertices can be of any objects. You can create graphs based on: Strings, URLs, XML documents, etc; you can even create graphs of graphs!

    Other SO users report success with Jung. My careful 30 second review of their API suggests that you should start HERE.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can you please recommend a fast XML Builder in Java that doesn't use annotations?
Possible Duplicates: Open Source Java Profilers Please recommend a Java profiler I'm looking for
Please recommend an image sharing service that can be called programmatically to upload a
can someone please recommend a horizontal navigation bar with a horizontal second tier that
Can anyone please recommend the best and easiest way to include multiple Javascript files
I will try to be specific if I can - please be patient, first
Can someone please explain to me the difference between the AppSettings and ApplicationSettings sections
Can you please recommend any E-Book Reader which can execute a third-party software, so
Can anyone please recommend the best way to trigger a horizontal Jquery scroller using
Can anyone please recommend a company who styles Infragistics for ASP.NET controls? Is there

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.