Пример #1
0
void LineGraphEdge::_print(ostream& os, const GraphGC &gc) const
{
    if (from() == to())
    {
	printSelf(os, gc);
	return;
    }

    GraphEdge::_print(os, gc);

    // Print annotation
    if (annotation() != 0)
    {
	BoxPoint anno_pos = annotationPosition(gc);
	if (anno_pos.isValid())
	{
	    annotation()->_print(os, anno_pos, gc);
	}
    }
}
Пример #2
0
void ViewRepCollection::print(std::ostream& os)
{
	Indent ind;
	printSelf(os, ind);
}