-
Notifications
You must be signed in to change notification settings - Fork 6
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
Conversation
...src/main/java/io/process/analytics/tools/bpmn/generator/internal/BPMNDiagramRichBuilder.java
Outdated
Show resolved
Hide resolved
add test for ShapeSorter
add test with more complex discovery files avoid duplication in App2Test
constant for no namespace
Numeric values are not allowed in the BPMN schemas
ef5728a
to
aa4ecf1
Compare
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.
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 { |
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.
ℹ️ we should review the App entry point
@@ -0,0 +1,113 @@ | |||
package io.process.analytics.tools.bpmn.generator.input; |
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.
ℹ️ 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 |
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.
❓ Do we really need to do that?
merging that despite the few remarks |
Render with
Patients Process
now provided as test resources in the repository (for label position issue, see #53)