From: Andreas F. <And...@gm...> - 2005-06-09 08:40:26
|
Hi Brett, thanks a lot for your answer and pointing me towards the resources on the websites. It would be great if you could send me some of your code and the monograph, i am glad for every example i have. Another question: How did you import the TMNav Source Code into your IDE? I am using eclipse and am trying to import the whole TMNav project. As it relies on Packouke and TM4J im am also importing the source code for those two into the same project. But i get something like 9000 errors, because the imports aren´t working. Can you maybe give me a brief introduction how to import the sources? Is there a JAR File somewhere from TM4J, that i just can add to my project, which contains everything i need, maybe? Thanks for inspiration and your help Andreas > --- Ursprüngliche Nachricht --- > Von: Bret Cohen <bre...@ya...> > An: tm4...@li... > Betreff: [TM4J-users] Re: Touchgraph > Datum: Wed, 8 Jun 2005 12:55:20 -0700 (PDT) > > > Hi Andreas, > > I am doing somthing similar to what you want to do. > The key is to understand the structure of TMNav > (installation instructions for which are available at > <http://www.folge2.de/topicmaps/tmnav/userdoc/en/install.html>, > which allows you to use the Touchgraph renderer (or > the similar Hypergraph renderer, which I am using in > my application) to display an XTM file INDIRECTLY: To > quote the TMNav documentation: > > "A Renderer never works directly with topicmap data, > but always with an intermediate structure, called > AbstractModel, which is supplied by a distinct > Abstractor. To learn more about Abstraction and how it > influences what you are going to see, check the > panckoucke-documentation." > <http://www.folge2.de/topicmaps/tmnav/userdoc/en/renderers.html> > > TMNav is built on top of TM4J and the Pankoucke > library. The latter (documented at > <http://www.folge2.de/topicmaps/panckoucke/userdoc/en/aboutpanckoucke.html>) > supplies certain abstractors > <http://www.folge2.de/topicmaps/panckoucke/userdoc/en/abstractors.html>, > which can be used to add data from a topic map (loaded > into memory from an XTM file using TMNav) to the > AbstractModel (containing nodes and arcs). The > AbstractModel can then be fed to a renderer such as > Touchgraph to display these nodes and arcs in its own > way. > > If the AbstractModels supplied by the Panckoucke > library don't suite your purposes, you can write your > own (as I have). The Panckoucke documentation > describes how to do this > <http://www.folge2.de/topicmaps/panckoucke/userdoc/en/how-to-write-an-Abstractor.html> > > The TMNav application, in addition to supplying all of > the tools to do what you want, is a sample application > (which probably does a lot MORE than you or I need to > do). It lets you see XTM files displayed with many > types of renderers, and includes a complex > configuration structure to control all of this. > > My approach to this was to replace the windows and > controlling class used by TMNav with my own simpler > windows and controlling classs. If you would like, I > could send you a copy of the monograph I wrote > describing how I did this, or some of the code (It was > a bit difficult - especially for me, since I'm also a > beginner both at programming and at working with > open-source software.) > > Good luck, > > Bret Cohen > bre...@ya... > > --__--__-- > > > > Message: 1 > > Date: Tue, 7 Jun 2005 11:27:02 +0200 (MEST) > > From: "Andreas Fleck" <And...@gm...> > > To: tm4...@li... > > Subject: [TM4J-users] XTM visualization with > > Touchgraph (Help appreciated)??? > > > > Hi there, > > > > i am quite new to all of this. > > I want to display my XTM files with the Touchgraph > > library. > > > > But Touchgraph has it´s own DTD for it´s input data, > > as far as i´ve > > understood. So i´m not able to directly "feed" my > > XTM files to the > > Touchgraph API. Or can i do this? > > > > Can somebody please point me to a good tutorial, > > website, example how to do > > handle XTM files with Touchgraph and how to display > > XTM files in Touchgraph? > > Or maybe give me a rough idea, how this is handled > > (i´ve seen lot´s of > > applications where XTM files are displayed with the > > Touchgraph, so there > > should be a way, which most of the programmers are > > going). > > > > I really thank you in advance for your answers. > > And sorry if this question seems overly dumb. Any > > information is highly > > appreciated. > > > > Greetings > > Andreas > > > > -- > > Geschenkt: 3 Monate GMX ProMail gratis + 3 Ausgaben > > stern gratis > > ++ Jetzt anmelden & testen ++ > > http://www.gmx.net/de/go/promail ++ > > > > > > > > --__--__-- > > > > _______________________________________________ > > Tm4j-users mailing list > > Tm4...@li... > > > https://lists.sourceforge.net/lists/listinfo/tm4j-users > > > > > > End of Tm4j-users Digest > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you > shotput > a projector? How fast can you ride your desk chair down the office luge > track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 > _______________________________________________ > Tm4j-users mailing list > Tm4...@li... > https://lists.sourceforge.net/lists/listinfo/tm4j-users > -- Geschenkt: 3 Monate GMX ProMail gratis + 3 Ausgaben stern gratis ++ Jetzt anmelden & testen ++ http://www.gmx.net/de/go/promail ++ |