-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#2266 Custom port images #2267
#2266 Custom port images #2267
Conversation
Signed-off-by: CTomlyn <[email protected]>
Signed-off-by: CTomlyn <[email protected]>
Signed-off-by: CTomlyn <[email protected]>
Signed-off-by: CTomlyn <[email protected]>
Signed-off-by: CTomlyn <[email protected]>
ac2f716
to
3eaa533
Compare
Signed-off-by: CTomlyn <[email protected]>
b5f6920
to
aec9d37
Compare
Signed-off-by: CTomlyn <[email protected]>
586b2b4
to
7c5292d
Compare
Signed-off-by: CTomlyn <[email protected]>
e64768c
to
e28c7ba
Compare
Signed-off-by: CTomlyn <[email protected]>
@@ -211,18 +233,28 @@ const portsHorizontalDefaultLayout = { | |||
// this: { x_pos: 5, y_pos: 10, pos: "topRight" }. x_pos and y_pos are | |||
// offsets from the pos point on the node. | |||
// The order of the elements corresponds to the order of ports in the | |||
// outputs array for the node. | |||
// outputs array for the node. If there are more input ports than elements |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo, should be output
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch - fixed
// { type: "jsx", src: (<FaceCool />), width: 16, height: 16 } | ||
// | ||
// The order of the elements corresponds to the order of ports in the | ||
// inputs array for the node. If there are more input ports than elements |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo, should be output
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another good catch - fixed
@@ -637,18 +691,28 @@ const portsVerticalDefaultLayout = { | |||
// this: { x_pos: 5, y_pos: 10, pos: "topRight" }. x_pos and y_pos are | |||
// offsets from the pos point on the node. | |||
// The order of the elements corresponds to the order of ports in the | |||
// outputs array for the node. | |||
// outputs array for the node. If there are more input ports than elements |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo, should be output
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep good one - fixed
// { type: "jsx", src: (<FaceCool />), width: 16, height: 16 } | ||
// | ||
// The order of the elements corresponds to the order of ports in the | ||
// inputs array for the node. If there are more input ports than elements |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo, should be output
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
// { type: "jsx", src: (<FaceCool />), width: 16, height: 16 } | ||
// | ||
// The order of the elements corresponds to the order of ports in the | ||
// inputs array for the node. If there are more input ports than elements |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo, should be output
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I copied and pasted the whole text from the layout-dimensions.js file so this is fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I fixed the Network diagram problem -- thanks for trying that I had missed it. The code now sets default width and height for port images or guide images if they are missing from the application's node layout fields. |
Signed-off-by: CTomlyn <[email protected]>
50fb16a
to
e21d634
Compare
Signed-off-by: CTomlyn <[email protected]>
4f8c3d6
to
5f2c730
Compare
Signed-off-by: CTomlyn <[email protected]>
7e8968c
to
71aef69
Compare
Signed-off-by: CTomlyn <[email protected]>
423722a
to
b491f92
Compare
Fixes: #2266
Developer's Certificate of Origin 1.1