Skip to content

Conversation

@mrsherlock88
Copy link

@mrsherlock88 mrsherlock88 commented Aug 17, 2020

Hi @jerosoler ,

I just update the calculator of position output and input point. Please take a look at this, one problem is I don't check is multiple output/input points case but I think it will be alright.

I also add my custom CSS to change the point's position to top/bottom/left/right. These CSS can use outside of your CSS but I thinks it should be defined in a formal way, via code or included in json.

/* Make inputs to the top */
.drawflow .parent-node .custom-node-1 .inputs {
  position: absolute;
  top: -10px;
  padding-left: 50%;
}
/* Make outputs to the bottom */
.drawflow .parent-node .custom-node-2 .outputs {
  position: absolute;
  bottom: -10px;
  padding-left: 50%;
}
/* Make inputs to the right */
.drawflow .parent-node .custom-node-3 .inputs {
  position: absolute;
  right: 0px;
}
/* Make outputs to the left */
.drawflow .parent-node .custom-node-4 .outputs {
  position: absolute;
  left: 0px;
}

Add reference to the issue we've discussed: #20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant