Thread: Re: [Doxygen-develop] feature suggestion
Brought to you by:
dimitri
From: <at...@ko...> - 2004-12-11 11:42:30
|
I was thinking about the arrows=2E "Of the latter I'm not so sure=2E" ? Message Original: ----------------- A partir de: Dimitri van Heesch dimitri@stack=2Enl Date: Sat, 11 Dec 2004 10:46:11 +0100 A: atandin@komodosoft=2Ecom, doxygen-develop@lists=2Esourceforge=2Enet Sujet: Re: [Doxygen-develop] feature suggestion On Fri, Dec 10, 2004 at 12:19:06PM -0500, atandin@komodosoft=2Ecom wrote: > What do you think about creating hyperlink on class attributes in the > class' collaboration graphs ? You mean the attributes that appear when UML_LOOK is enabled or the ones along the arrows? =20 It makes sence indeed to link them to the documentation, provided=20 there is documentation of course and the dot tool supports such links=2E Of the latter I'm not so sure=2E Regards, Dimitri -------------------------------------------------------------------- mail2web - V=E9rifiez votre courrier =E9lectronique depuis le web sur http://mail2web=2Ecom/ =2E |
From: <at...@ko...> - 2004-12-12 12:36:05
|
Yes, it does=2E I've used linkable edge labels in the group collaboration graph=2E Even wi= th multiple labels on edges=2E Did you take a look on the patches I've send you ? Would you like me to code the same stuff for the class collaboration graph= s ? Message Original: ----------------- A partir de: Dimitri van Heesch dimitri@stack=2Enl Date: Sat, 11 Dec 2004 21:12:19 +0100 A: atandin@komodosoft=2Ecom, doxygen-develop@lists=2Esourceforge=2Enet Sujet: Re: [Doxygen-develop] feature suggestion On Sat, Dec 11, 2004 at 06:42:24AM -0500, atandin@komodosoft=2Ecom wrote: > I was thinking about the arrows=2E >=20 > "Of the latter I'm not so sure=2E" ? After rereading http://www=2Egraphviz=2Eorg/cvs/doc/info/attrs=2Ehtml#d:UR= L I think dot *does* support clickable edge labels (I was under the impression=20 it didn't, hence my remark)=2E This makes it a good idea to use this featu= re=2E Regards, Dimitri >=20 > Message Original: > ----------------- > A partir de: Dimitri van Heesch dimitri@stack=2Enl > Date: Sat, 11 Dec 2004 10:46:11 +0100 > A: atandin@komodosoft=2Ecom, doxygen-develop@lists=2Esourceforge=2Enet > Sujet: Re: [Doxygen-develop] feature suggestion >=20 >=20 > On Fri, Dec 10, 2004 at 12:19:06PM -0500, atandin@komodosoft=2Ecom wrote= : > > What do you think about creating hyperlink on class attributes in the > > class' collaboration graphs ? >=20 > You mean the attributes that appear when UML_LOOK is enabled or the > ones along the arrows? > =20 > It makes sence indeed to link them to the documentation, provided=20 > there is documentation of course and the dot tool supports such links=2E= > Of the latter I'm not so sure=2E >=20 > Regards, > Dimitri >=20 >=20 >=20 > -------------------------------------------------------------------- > mail2web - V?rifiez votre courrier ?lectronique depuis le web sur > http://mail2web=2Ecom/ =2E >=20 >=20 >=20 >=20 > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users=2E= > Discover which products truly live up to the hype=2E Start reading now=2E= > http://productguide=2Eitmanagersjournal=2Ecom/ > _______________________________________________ > Doxygen-develop mailing list > Doxygen-develop@lists=2Esourceforge=2Enet > https://lists=2Esourceforge=2Enet/lists/listinfo/doxygen-develop ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users=2E= Discover which products truly live up to the hype=2E Start reading now=2E=20= http://productguide=2Eitmanagersjournal=2Ecom/ _______________________________________________ Doxygen-develop mailing list Doxygen-develop@lists=2Esourceforge=2Enet https://lists=2Esourceforge=2Enet/lists/listinfo/doxygen-develop -------------------------------------------------------------------- mail2web - V=E9rifiez votre courrier =E9lectronique depuis le web sur http://mail2web=2Ecom/ =2E |
From: Dimitri v. H. <do...@gm...> - 2004-12-12 13:20:57
|
On Sun, 12 Dec 2004 07:35:56 -0500, at...@ko... <at...@ko...> wrote: > Yes, it does. > I've used linkable edge labels in the group collaboration graph. Even with > multiple labels on edges. > Did you take a look on the patches I've send you ? I'm integrating them now. I've noticed you only looked at the HTML output, not the LaTeX and RTF output, so I have to check if your approach works there as well (not that links are required for these formats, but at least a graph must still be generated and look ok). Regards, Dimitri |
From: <at...@ko...> - 2004-12-12 15:46:45
|
I thought dot graph where not produced for those format=2E=2E=2E oupss=2E Do you want me to change the code to desible links (and so use \n for labels) for those format ? Message Original: ----------------- A partir de: Dimitri van Heesch doxygen@gmail=2Ecom Date: Sun, 12 Dec 2004 14:20:53 +0100 A: atandin@komodosoft=2Ecom, doxygen-develop@lists=2Esourceforge=2Enet Sujet: Re: [Doxygen-develop] feature suggestion On Sun, 12 Dec 2004 07:35:56 -0500, atandin@komodosoft=2Ecom <atandin@komodosoft=2Ecom> wrote: > Yes, it does=2E > I've used linkable edge labels in the group collaboration graph=2E Even = with > multiple labels on edges=2E > Did you take a look on the patches I've send you ? I'm integrating them now=2E I've noticed you only looked at the HTML output, not the LaTeX and RTF output, so I have to check if your approach works there as well (not that links are required for these formats, but at least a graph must still be generated and look ok)=2E Regards, Dimitri -------------------------------------------------------------------- mail2web - V=E9rifiez votre courrier =E9lectronique depuis le web sur http://mail2web=2Ecom/ =2E |
From: <at...@ko...> - 2004-12-12 16:28:42
|
But, in an other hand=2E=2E=2E if no links are avable for those format, th= en only the picture will be used I guess=2E Link are in the =2Emap file so I think= It should not disturb Latex or rtf outputs=2E Message Original: ----------------- A partir de: atandin@komodosoft=2Ecom atandin@komodosoft=2Ecom Date: Sun, 12 Dec 2004 10:46:35 -0500 A: doxygen-develop@lists=2Esourceforge=2Enet Sujet: Re: [Doxygen-develop] feature suggestion I thought dot graph where not produced for those format=2E=2E=2E oupss=2E Do you want me to change the code to desible links (and so use \n for labels) for those format ? Message Original: ----------------- A partir de: Dimitri van Heesch doxygen@gmail=2Ecom Date: Sun, 12 Dec 2004 14:20:53 +0100 A: atandin@komodosoft=2Ecom, doxygen-develop@lists=2Esourceforge=2Enet Sujet: Re: [Doxygen-develop] feature suggestion On Sun, 12 Dec 2004 07:35:56 -0500, atandin@komodosoft=2Ecom <atandin@komodosoft=2Ecom> wrote: > Yes, it does=2E > I've used linkable edge labels in the group collaboration graph=2E Even = with > multiple labels on edges=2E > Did you take a look on the patches I've send you ? I'm integrating them now=2E I've noticed you only looked at the HTML output, not the LaTeX and RTF output, so I have to check if your approach works there as well (not that links are required for these formats, but at least a graph must still be generated and look ok)=2E Regards, Dimitri -------------------------------------------------------------------- mail2web - V=E9rifiez votre courrier =E9lectronique depuis le web sur http://mail2web=2Ecom/ =2E ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users=2E= Discover which products truly live up to the hype=2E Start reading now=2E=20= http://productguide=2Eitmanagersjournal=2Ecom/ _______________________________________________ Doxygen-develop mailing list Doxygen-develop@lists=2Esourceforge=2Enet https://lists=2Esourceforge=2Enet/lists/listinfo/doxygen-develop -------------------------------------------------------------------- mail2web - V=E9rifiez votre courrier =E9lectronique depuis le web sur http://mail2web=2Ecom/ =2E |
From: <at...@ko...> - 2004-12-12 17:17:43
Attachments:
patch.rar
|
Added rtf and latex support=2E Tested on RTF only=2E Message Original: ----------------- A partir de: Dimitri van Heesch doxygen@gmail=2Ecom Date: Sun, 12 Dec 2004 14:20:53 +0100 A: atandin@komodosoft=2Ecom, doxygen-develop@lists=2Esourceforge=2Enet Sujet: Re: [Doxygen-develop] feature suggestion On Sun, 12 Dec 2004 07:35:56 -0500, atandin@komodosoft=2Ecom <atandin@komodosoft=2Ecom> wrote: > Yes, it does=2E > I've used linkable edge labels in the group collaboration graph=2E Even = with > multiple labels on edges=2E > Did you take a look on the patches I've send you ? I'm integrating them now=2E I've noticed you only looked at the HTML output, not the LaTeX and RTF output, so I have to check if your approach works there as well (not that links are required for these formats, but at least a graph must still be generated and look ok)=2E Regards, Dimitri ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users=2E= Discover which products truly live up to the hype=2E Start reading now=2E=20= http://productguide=2Eitmanagersjournal=2Ecom/ _______________________________________________ Doxygen-develop mailing list Doxygen-develop@lists=2Esourceforge=2Enet https://lists=2Esourceforge=2Enet/lists/listinfo/doxygen-develop -------------------------------------------------------------------- mail2web - V=E9rifiez votre courrier =E9lectronique depuis le web sur http://mail2web=2Ecom/ =2E |
From: Dimitri v. H. <di...@st...> - 2004-12-12 19:33:34
|
On Sun, Dec 12, 2004 at 12:17:35PM -0500, at...@ko... wrote: > Added rtf and latex support. > Tested on RTF only. Thanks, I'm afraid I have to change the HTML-like labels for now into the simpler escaped-string labels because the HTML labels made dot crash (on Mac OS X, with GraphViz-2.0), on Linux with version 1.17 there was no problem. Older versions do not support HTML-like labels at all, so using them in doxygen at this stage is asking for problems. Regards, Dimitri |
From: <at...@ko...> - 2004-12-12 20:01:49
|
Maybe you can add an option GROUP_COLLABORATION_GRAPH_MERGE_ARROWS wich us= e HTML-like labels=2E Then function becomes : void DotGroupCollaboration::Link::WriteLink( QTextStream &t, int& curNodeI= d ) { const char* linkTypeColor[] =3D { "darkorchid3" ,"orange" ,"blueviolet" ,"darkgreen" =20 ,"firebrick4" =20 ,"grey75" ,"midnightblue" }; const QCString defaultArrowStyle =3D "dir=3D\"none\", style=3D\"dashed= \""; QCString tmpString; if(!Config_getBool("GROUP_COLLABORATION_GRAPH_MERGE_ARROWS")) // separate arrows { for( uint j =3D 0; j < labels=2Ecount(); ++j ) { t << " Node" << pNStart->number(); t << " -> "; t << " Node" << pNEnd->number(); t << " [label=3D\"" << *labels=2Eat(j) << "\""; if( !urls=2Eat(j)->isEmpty() ) t << ", URL=3D\"" << *urls=2Eat(j) << "\""; tmpString =3D defaultArrowStyle; switch( eType ) { case thierarchy : tmpString =3D "dir=3D\"back\", style=3D\"solid\""; default : t << ", color=3D\"" << linkTypeColor[(int)eType] << "\= ""; break; } if( !tmpString=2EisEmpty() ) t << ", " << tmpString; t << "];" <<endl; } // for( uint j =3D 0; j < labels=2Ecount(); ++j ) } //=20 else { // grouped links=2E t << " Node" << pNStart->number(); t << " -> "; t << " Node" << pNEnd->number(); t << " [shape=3Dplaintext, label=3D<<TABLE BORDER=3D\"0\" CELLBORDER=3D\"0\">"; for( uint j =3D 0; j < labels=2Ecount(); ++j ) { t << "<TR><TD "; if( !urls=2Eat(j)->isEmpty() ) t << "HREF=3D\"" << *urls=2Eat(j) << "\""; t << ">" <<*labels=2Eat(j) << "</TD></TR>"; } t << "</TABLE>>"; tmpString =3D defaultArrowStyle; switch( eType ) { case thierarchy : tmpString =3D "dir=3D\"back\", style=3D\"solid\""; default : t << ", color=3D\"" << linkTypeColor[(int)eType] << "\""; break; } if( !tmpString=2EisEmpty() ) t << ", " << tmpString; t << "];" <<endl; } } Message Original: ----------------- A partir de: Dimitri van Heesch dimitri@stack=2Enl Date: Sun, 12 Dec 2004 20:33:29 +0100 A: atandin@komodosoft=2Ecom, doxygen-develop@lists=2Esourceforge=2Enet Sujet: Re: [Doxygen-develop] feature suggestion On Sun, Dec 12, 2004 at 12:17:35PM -0500, atandin@komodosoft=2Ecom wrote: > Added rtf and latex support=2E > Tested on RTF only=2E Thanks, I'm afraid I have to change the HTML-like labels for now into the simpler=20= escaped-string labels because the HTML labels made dot crash (on Mac OS X,= =20 with GraphViz-2=2E0), on Linux with version 1=2E17 there was no problem=2E= Older versions do not support HTML-like labels at all, so using them in doxygen at this stage is asking for problems=2E Regards, Dimitri -------------------------------------------------------------------- mail2web - V=E9rifiez votre courrier =E9lectronique depuis le web sur http://mail2web=2Ecom/ =2E |
From: Dimitri v. H. <di...@st...> - 2004-12-11 20:12:22
|
On Sat, Dec 11, 2004 at 06:42:24AM -0500, at...@ko... wrote: > I was thinking about the arrows. > > "Of the latter I'm not so sure." ? After rereading http://www.graphviz.org/cvs/doc/info/attrs.html#d:URL I think dot *does* support clickable edge labels (I was under the impression it didn't, hence my remark). This makes it a good idea to use this feature. Regards, Dimitri > > Message Original: > ----------------- > A partir de: Dimitri van Heesch di...@st... > Date: Sat, 11 Dec 2004 10:46:11 +0100 > A: at...@ko..., dox...@li... > Sujet: Re: [Doxygen-develop] feature suggestion > > > On Fri, Dec 10, 2004 at 12:19:06PM -0500, at...@ko... wrote: > > What do you think about creating hyperlink on class attributes in the > > class' collaboration graphs ? > > You mean the attributes that appear when UML_LOOK is enabled or the > ones along the arrows? > > It makes sence indeed to link them to the documentation, provided > there is documentation of course and the dot tool supports such links. > Of the latter I'm not so sure. > > Regards, > Dimitri > > > > -------------------------------------------------------------------- > mail2web - V?rifiez votre courrier ?lectronique depuis le web sur > http://mail2web.com/ . > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Doxygen-develop mailing list > Dox...@li... > https://lists.sourceforge.net/lists/listinfo/doxygen-develop |