Skip to content
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

Update Start of line and End of line #32

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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