In this blog post I’d like to introduce version 0.2 of the PathBuilder plugin. Version 0.1 was getting connections(two nodes connected by a line) plotted on an empty pathway. Version 0.2 was enabling an extra option to add individual nodes, this functionality was taken from the already existing MAPPbuilder plugin.
The plug-in has a menu-item in the “plugins” menu, called PathBuilder, and after clicking the option “Build Pathway” the input window shown below appears.
The input can be given either from a tab delimited text file, or by manually typing in the information in the text box at the bottom of the window. There are two input types possible, connections and nodes. The correct syntax for this is:
SystemCode[:]Id [tab] LineType [tab] SystemCode[:]Id
Label [tab] Id [tab] DataSource
For connections, the syntax has to be exactly right, it has to contain all elements. Individual nodes however can be created based on even just a label, or just an identifier. if just an identifier is given, this identifier will be the label as well. A data source can be given by both it’s full name, or by system code.
So the following list of individual data nodes can all be drawn using PathBuilder, the result of which can be seen on the right:
A list of connections, like the following will be drawn with all lines, but without any duplicate nodes. As of now, the only line type available is a normal line, with an a straight line on the left side and an arrow on the right. This list results in the pathway on the right side of the list. The connections are drawn in the centre of the window, a maximum of 12 connections are drawn in one column.
That’s it for now, in the next blog post I will show how after drawing the connections a layout algorithm can be used to organize the nodes and lines. For extra information on this version, there’s a tutorial video available as well(click here).
Until next time!