There is no API for such things.
But NetAnim can be directly edited to draw lines. You would need knowledge of Qt.
Adding the following snippet in dispatchEvents in animatormode.cpp after the line m_qLcdNumber->display (m_currentTime);
static QGraphicsLineItem * line = 0;
if (!line && m_currentTime > 0)
{
AnimNode * a = AnimNodeMgr::getInstance()->getNode(0);
AnimNode * b = AnimNodeMgr::getInstance()->getNode(1);
line = AnimatorScene::getInstance()->addLine(a->x(), a->y(),b->x(),b->y());
QPen p;
p.setColor(QColor(Qt::red));
line->setPen(p);
}
if (line && m_currentTime > 6)
{
line->setVisible(false);
}
draws a red-line between node 0 and node 1 if the current time is > 0 and hides it if the current time > 6