Closed ERnsTL closed 6 years ago
This seems to be related to issue #18 - I am starting to address them now. May also be related to #15... Will label this release 2.14.2.
I also note that the Maven version is back-level. I hope to have release 2.14.2 available in a couple of days, both in Github, and on Maven... Apologies!
PS You don't seem to have shared any information about FlowD on the Google Group - https://groups.google.com/forum/#!forum/flow-based-programming - are you considering it? TIA
Greetings Paul, no problem and thanks for addressing this - then the .drw format can be used for defining subnets with their network in/out/IO ports as well.
An announcement on the FBP Google group is planned for the near future - I wrote you an email about that to your @rogers and @gmail.com addresses (not knowing which is current).
With the v2.14.2 corrections, the types for External Ports are 'C', 'D' and 'E'.
PS Both email addresses are good - the rogers one forwards to gmail.
Best regards,
Regarding feedback on external ports legend: The new one is:
"ExtPorts: In", "... Out", "... Out/In"
That's totally fine!
Regarding this block type:
static public class Types {
[...]
static String UP = "Z";
}
What is it being used for? Or is this an obsolete type?
In the bottom of the DrawFBP interface, where one can choose the block type, in the very bottom right, there is a button labeled "up", but it is greyed out resp. deactivated.
Well spotted! This is obsolete - I guess I forgot to remove it!
Sounds like your jar file is back level... If you download the latest jar file in https://github.com/jpaulm/drawfbp/releases (v2.14.2), you should see a rectangle showing 'Go to Directory' - I think it works...!
OK, upgraded ;-) Attaching the .jar to the Github release is the most direct way for getting the release file anyway.
The "Go To Directory" button in the bottom right works like the "open file"-functionality for me.
Just updated an example FBP network with external in and out ports. The symbols look nice! The new block types are also as expected now (C, D, E) and it is easy to discern them now when parsing the .drw file programatically.
I think this issue can be closed then!
Closed with v2.14.2
Greetings, in the .drw files generated by DrawFBP, there is a type information for each block. There are multiple types:
As given by the comments, the block type "B" gets reused for multiple block types. How are network-level input and output ports declared in the diagram using the .drw XML format?
Meaning, what is the equivalent of the .fbp form, where network-wide ports are declared using
INPORT=...
andOUTPORT=...
?This declares a network-wide input port
NETIN
leading into filter.IN, further into the copy component, and from copy.OUT1 into the network-wide output portNETOUT
.If they are not already differentiatable / discernable using some other means than the block type, please make these network-wide input, output and input-output ports discernable / differentiatable, for example using block types
NI
,NO
,NIO
for network in, network out, network in-out respectively.