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

Feature/flowgeneration #77

Merged
merged 16 commits into from
Mar 4, 2021
Merged

Feature/flowgeneration #77

merged 16 commits into from
Mar 4, 2021

Conversation

chiefruds
Copy link
Contributor

@chiefruds chiefruds commented Mar 3, 2021

All Submissions:

  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

New Feature Submissions:

  1. Does your submission pass tests?
  2. Have you lint your code locally prior to submission?

Changes to Core Features:

The basic flow generation, it can still only generate once without errors.

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your core changes, as applicable?
  • Have you successfully ran tests with your changes locally?

@@ -15,24 +15,42 @@ export class NodeService {
jsPlumbInstance!: jsPlumbInstance;

constructor(private factoryResolver: ComponentFactoryResolver) {
this.jsPlumbInstance = jsPlumb.getInstance();
// Only one jsplumb instance can exist at all times.
this.jsPlumbInstance = jsPlumb.getInstance({ Container: 'canvas' });
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be in the ngOnInit function?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If its an injectable, its in the right place. But idk.

@chiefruds chiefruds requested a review from philipsens March 3, 2021 17:32
@philipsens philipsens merged commit 10cf4b9 into master Mar 4, 2021
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.

3 participants