When straight lines aren’t

Today’s been a pretty good day for Inkscape coding. Aside from once again having the bad choice of extending DrawContext confirmed, I managed to pass several little hurdles and get the connectors connecting to shapes. That is, get the connector context to create paths that hook up with Peter’s existing connector code. The funniest bug was that it turned out I was not creating a purely straight-line path, just a curved path that looked straight—when I dragged a shape and the connector rerouted, it went into a strange curve shape! I love bugs that express themselves graphically. Sure beats a segfault.

2 Responses to “When straight lines aren’t”

  1. Chris Maynard says:

    I’m actually hoping something like this is an option. I use Inkscape for network diagrams, and currently use alot of curves instead of 90 degree angles. I think it gives them an interesting look. Connectors will make this MUCH easier, but I hope to not loose this ability…

    I am happy to share one if you want to see what I’m currently doing. Reply at the above e-mail address if you’re interested.

    Rambling a bit, I can’t wait until the browsers are capable of decent SVG rendering speed, as my plan is to put the on the customers intranet sites. If I can hook the connectors up with AJAX to show bandwidth utilization with line width and availability with color, it will make all of the additional effort to do them in SVG pay off… :>

    Oh, and thanks! Inkscape is great! Can’t wait to try out some of the .42 features on my maps…

    Chris

  2. David Yip says:

    > I love bugs that express themselves graphically. Sure beats a segfault.

    I wish I had more of those. :) Most of my bugs have manifested themselves as either pointer errors in interfacing with Loudmouth, or in me messing up the usage of mental’s GC interfaces…those can be a pain to track down :)

    Glad to hear things are going well, though. I look forward to playing with connectors soon!

Leave a Reply