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

add csv node and edge from R data "Patients" #48

Merged
merged 22 commits into from
Jul 24, 2020
Merged

Conversation

oanesini
Copy link
Contributor

@oanesini oanesini commented May 20, 2020

Render with Patients Process now provided as test resources in the repository (for label position issue, see #53)

image

@CLAassistant
Copy link

CLAassistant commented Jun 4, 2020

CLA assistant check
All committers have signed the CLA.

@tbouffard tbouffard marked this pull request as ready for review July 16, 2020 13:56
@tbouffard tbouffard added the enhancement New feature or request label Jul 16, 2020
Copy link
Contributor

@baptistemesta baptistemesta left a comment

Choose a reason for hiding this comment

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

Nice!
Only few remarks:

  • The "hack" to copy string, I would remove that if it was not the source of the bug
  • In other PR we should see if some library should be split, e.g. the CSV->BPMN conversion
  • We should, as you said, have a better entry point for the app, i.e. option parsing an so on
  • IMO, we should start to have a better API to interact with the BPMN model.

import lombok.extern.log4j.Log4j2;

@Log4j2
public class App2 extends App {
Copy link
Contributor

Choose a reason for hiding this comment

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

ℹ️ we should review the App entry point

@@ -0,0 +1,113 @@
package io.process.analytics.tools.bpmn.generator.input;
Copy link
Contributor

Choose a reason for hiding this comment

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

ℹ️ import would be more consistent with export

}
public static Edge revertedEdge(Edge original) {
return original.toBuilder().from(original.getTo()).to(original.getFrom()).reverted(true).build();
}

private static String copy(String s) {
return s + ""; // hack to ensure the returned string is equal to the provided one but doesn't have the same reference
Copy link
Contributor

Choose a reason for hiding this comment

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

❓ Do we really need to do that?

@baptistemesta
Copy link
Contributor

merging that despite the few remarks
:shipit: 🎉

@baptistemesta baptistemesta merged commit 7af2352 into master Jul 24, 2020
@baptistemesta baptistemesta deleted the feat/import_csv branch July 24, 2020 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants