-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Visual route diagram #27
Comments
searching for this feature was how I found out about your plugin, this would be awesome! |
Yeah I would love to be able to use that java diagram library. But there is no free open source version to be used. And I am not sure if Jetbrains allows 3rd party developers to use it either. However we could try ask the company of that library if they can help us? Maybe they have a special program for free open source projects? |
What do you think about use of other library than yfiles? Some time ago i have created an concept of camel plugin by use mxGraph. It is open source library that can be used in both version of IDEA without care about license. Project is available here camel-intellij-plugin but is is not useabe at this moment. |
I personally have no knowledge about the mxGraph, but it seems solid. Feel free to create a prototype for the camel-idea-plugin. It could be a nice feature to add to the plugin. If you need any help let us know |
Yeah would be nice with a little tool window you could expand/collapse that live updates based on where the cursor is in the source code editor and highlight in the diagram where you are. That was my original idea. To aid you navigating your Camel routes if you have many and some of them are bigger. And also that right click -> draw route diagram would be nice as well. Even so people could save as png or something to keep with their source code as documentation. Having a nice java library for drawing the digram is hard to find. @kamkozlowski seems like you have found something useful. You are very welcome to try to hack on something. Its awesome you have already experience with writing IDEA plugin code, which is different than writing regular Camel applications. |
For visibility: I had looked into visualisation of camel in a project of mine a few years ago here: If I remember correctly: I had chosen to use JUNG as the graphing library for the implementation in the end, as the implementation offered by IntelliJ was closed source and not available within the community edition. Additionally the graphing library was obfuscated and I had to import gibberish java classes that were auto-generated on each version of IntelliJ, so the built jar didn't work on newer/old versions of IntelliJ. It was possible to work around those issues with reflection, but it was easier to just use JUNG in the end 👍 I believe I had some issues with mxgraph when things became more complicated with the router component, but the implementation might be better these days |
Thanks @AlanFoster for sharing this. The diagram looks awesome and beautiful. |
Found this diagram plugin in my countless hours searching the IDEA plugin forum for a solution to another problem. |
Nice one you found there |
Hello there. I'm currently improving the intellij-reference-diagram mentioned above. In that plugin I use the diagram library shipped with IntelliJ Ultimate com.intellij.diagram / com.intellij.openapi.graph wrapping yFiles). This library is quite easy to use but has restrictions, mainly because yFiles is wrapped not exposed. So I'm looking for an alternative graph library and found this discussion. It seems that some of you also looking for a library. Do you found something? Or do you have a candidate that you tested a bit? I'm even happy for any bit of example code :-) |
Not to my knowledge. So far we just have been searching for possible candidates |
Update: Maybe we can integrate karavan in a similar way than VS code. The project is rather cool: |
Wonder if we can reuse yfrog from IDEA to show route diagram / diagram popup as IDEA can do for class hierarchy.
This plugin is in IDEA ultimate, and maybe its some kind of addon you can install on community as well.
The text was updated successfully, but these errors were encountered: