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?

\n

alt text

asked 05 Apr '12, 13:03

Shuo's gravatar image

Shuo
217
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?

\n

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:

\n
graphOutline = new mxGraphOutline(graphComponent);\n
\n

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

link

answered 05 Apr '12, 14:12

David's gravatar image

David
4.9k21831
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

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:

×228
×10

Asked: 05 Apr '12, 13:03

Seen: 1,602 times

Last updated: 09 Apr '12, 05:21