Hi,\nI wonder if I could use JGraph to implement something like this. Could anyone tell me which part of JGraph I should look into for it?


alt text

asked 05 Apr '12, 13:03

Shuo's gravatar image

accept rate: 0%

Sorry, I don't understand. To clarify, JGraph is the Java Swing library, mxGraph is the JavaScript library, which are you using?


Are you asking how to implement the birds eye view, aka navigator, aka overview, aka outline?

(05 Apr '12, 13:08) David

yes, I was asking how to implement a birds eye view using JGraph. Sorry about the confusion I wasn't sure what it's called. Thanks for the quick reply!

(05 Apr '12, 14:00) Shuo

See com.mxgraph.examples.swing.editor.BasicGraphEditor constructor:

graphOutline = new mxGraphOutline(graphComponent);\n

Creates the outlines, it's a JComponent, you just insert into your layout where you want it.


answered 05 Apr '12, 14:12

David's gravatar image

accept rate: 47%

Thanks a lot!

(09 Apr '12, 05:21) Shuo
Your answer
toggle preview

Follow this question

By Email:

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



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



Asked: 05 Apr '12, 13:03

Seen: 1,602 times

Last updated: 09 Apr '12, 05:21