Re: Help: How can you programmatically delete a line and update a table connected to it?

Hello Bao Niu,

It is this way sometimes with open source.  It happens most often when there is a clear workaround.  

I don't understand your problem, in part because I am not involved with the programmatic use of Dia ever.  You may want to make a formal case in an attempt to persuade a developer to undertake this.  FIrst step is to enter it in in the Bugzilla system I think.  Then it get tracked and seen, whereas a message here is soon just an old message.

I think that there is a common method for analyzing whether to make changes.  If you work this out up front, you save the developer from working out the details completely.

Can you think of any reason why the "problem" may be an advantage in other situations?  
What are the advantages?  Do they extend to other uses?  (Shapes other than Database Table?)
WIll there be a significant benefit for others beside yourself?  Can you elaborate on this?  If it is not already in Bugzilla, then you may be the first to have found the need.
Provide a Dia that shows the issue, in order to save developer time and possibly error reproducing it.

Sorry I cannot help you myself,


On Tue, Oct 1, 2013 at 1:40 AM, Bao Niu <niubao56 gmail com> wrote:
This problem doesn't seem to get any attention:( 
It's real and I can't figure out what cause it could be, could someone please help take a look at it? Thanks.

On Fri, Sep 27, 2013 at 4:23 AM, Bao Niu <niubao56 gmail com> wrote:
Problem: I have a "Database -- Table" on screen, and then added a "Standard - BezierLine" connecting to one of the table's connection point. Now I want to delete that line and make the table's connection point pt.connected fresh.
I use python's API to disconnect this two objects programmatically. When using layer.remove(BezierLine), and then update_connections(table), the connection is still there. If you type connection_pt.connected, you can see that "Standard - BezierLine" object is still in the returned tuple. This is very weird.

The only way I can disconnect the two seems to be manually delete the BezierLine from the screen. There is no way to do this programmatically.

Could anybody give some advice? Many thanks.

dia-list mailing list
dia-list gnome org
FAQ at
Main page at

Put this question to yourself: should I use everyone else to attain happiness, or should I help others gain happiness?  
Dalai Lama 

To invent, you need a good imagination and a pile of junk.
Thomas A. Edison

A public-opinion poll is no substitute for thought.
Warren Buffet

Michael E. Ross
(919) 550-2430 Land
(919) 576-0824 Google Phone
(919) 631-1451 Cell
(919) 513-0418 Desk

michael e ross gmail com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]