| 281 | } |
| 282 | |
| 283 | std::string |
| 284 | VisualNode::getBranchLabel(NodeAllocator& na, |
| 285 | VisualNode* p, const Choice* c, |
| 286 | BestNode* curBest, int c_d, int a_d, int alt) { |
| 287 | std::ostringstream oss; |
| 288 | p->acquireSpace(na,curBest,c_d,a_d); |
| 289 | p->getWorkingSpace()->print(*c,alt,oss); |
| 290 | return oss.str(); |
| 291 | } |
| 292 | |
| 293 | |
| 294 | /// \brief Helper functions for the layout algorithm |
no test coverage detected