Text: String to be used as the label. It can be either text or HTML.
Container_ID: The id of the DIV or other element to hold this object.
x,y: The pixel position of the object.
Creating an object:
obA = createNewObjects("Text",Container_ID,x,y);
Connecting one object to another:
objA.connect(objB);
Connecting an object to a point:
obj.connectPoint(x,y);
There is a bug with drawing straight lines. I believe this to be a problem with the GD(graphics library) installed on
this server since the script has performed better on other servers.