Re: [Doxygen-develop] feature suggestion
Brought to you by:
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 |