"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "projects/CodeThorn/src/Visualizer.C" between
rose-0.11.49.0.tar.gz and rose-0.11.50.0.tar.gz

About: ROSE is a compiler infrastructure to build source-to-source program transformation and analysis tools for large-scale C, C++, UPC, Fortran, OpenMP, Java, Python and PHP applications.

Visualizer.C  (rose-0.11.49.0):Visualizer.C  (rose-0.11.50.0)
skipping to change at line 335 skipping to change at line 335
ss<<"node [shape=box style=filled color=lightgrey];"<<endl; ss<<"node [shape=box style=filled color=lightgrey];"<<endl;
ss<<"graph [ordering=out];"<<endl; ss<<"graph [ordering=out];"<<endl;
// generate all graph node ids with label strings // generate all graph node ids with label strings
int numInvisibleLayoutEdges=2; // only used for memory subgraphs int numInvisibleLayoutEdges=2; // only used for memory subgraphs
for(TransitionGraph::iterator j=transitionGraph->begin();j!=transitionGraph->e nd();++j) { for(TransitionGraph::iterator j=transitionGraph->begin();j!=transitionGraph->e nd();++j) {
// // FAILEDASSERTVIS: the next check allows to turn off edges of failing as sert to target node (text=red, background=black) // // FAILEDASSERTVIS: the next check allows to turn off edges of failing as sert to target node (text=red, background=black)
if((*j)->target->io.op==InputOutput::FAILED_ASSERT) continue; if((*j)->target->io.op==InputOutput::FAILED_ASSERT) continue;
ss <<dotEStateAddressString((*j)->source)<<"_"<<numInvisibleLayoutEdges<< "- if(getOptionMemorySubGraphs()) {
>"<<dotEStateAddressString((*j)->target); // inter-cluster edge ss <<dotEStateAddressString((*j)->source)<<"_"<<numInvisibleLayoutEdges<<
"->"<<dotEStateAddressString((*j)->target); // inter-cluster edge
} else {
ss <<dotEStateAddressString((*j)->source)<<"->"<<dotEStateAddressString((*
j)->target); // inter-cluster edge
}
ss <<" [label=\""<<SgNodeHelper::nodeToString(labeler->getNode((*j)->edge.so urce())); ss <<" [label=\""<<SgNodeHelper::nodeToString(labeler->getNode((*j)->edge.so urce()));
ss <<"["<<(*j)->edge.typesToString()<<"]"; ss <<"["<<(*j)->edge.typesToString()<<"]";
ss <<"\" "; ss <<"\" ";
ss <<" color="<<(*j)->edge.color()<<" "; // inter-cluster edge color ss <<" color="<<(*j)->edge.color()<<" "; // inter-cluster edge color
ss <<" stype="<<(*j)->edge.dotEdgeStyle()<<" "; ss <<" stype="<<(*j)->edge.dotEdgeStyle()<<" ";
if(getOptionMemorySubGraphs()) { if(getOptionMemorySubGraphs()) {
// change head and tail of arrows for clusters // change head and tail of arrows for clusters
ss<<" ltail="<<dotClusterName((*j)->source); ss<<" ltail="<<dotClusterName((*j)->source);
ss<<" lhead="<<dotClusterName((*j)->target); ss<<" lhead="<<dotClusterName((*j)->target);
} }
 End of changes. 1 change blocks. 
2 lines changed or deleted 7 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)