Skip to content

Releases: twang2218/pmap

v0.6.0 Expend the event loop and add time duration label

07 Mar 20:44
f964306
Compare
Choose a tag to compare

Besides the count of the edge on the label, the duration stats are also calculated to be shown. Add distinct_repeated_events to be able to expand the repeated events to have a better internal understanding. Add ability to use external dot program to render the graph, it will be faster in some cases.

  • af20391 Fix 'UQ()' issue on dependencies.
  • 0953e15 Fix figures naming issue.
  • e1daa8c Add term schema relation graph
  • 6523f17 Rename activity_category to just category
  • 1929113 Change the term from event to activity.
  • 384de85 Rename term customer to case
  • 0c63555 Update the graph files and add more readme content to reflect latest update
  • 702c526 Add adjust_edge_label() function
  • a35ec17 Add huge process map warning for rendering
  • 1fba54b Add use_external_dot argument to render_pmap_file()
  • 089a958 Add more ignores to .gitignore and .Rbuildignore
  • 1c17eb4 Add dot file support for render_pmap_file()
  • 934d5d4 Add distinct_repeated_events argument to create_pmap()
  • 095444c Remove node's color gradient as there is a compatibility issue in Viz.js
  • de905fc Enhance color palette for event categories to 80 colours, and won't fail if ask more
  • 64a089e Rename event_type to event_category to avoid confusion
  • fa527d7 Add *_prune_percentage to render_pmap_shiny() for initial prune value settings.
  • 84e656c Add ability to render_pmap_file() to guess file format
  • 15ae4fa Handle the SPACE padding case
  • 1530337 Convert eventlog$timestamp to POSIXct automatically if it's not POSIXct yet.
  • c67f6c8 Add median_duration for edge label and more test cases.
  • 8702685 Fix the edge label too close to the edge problem by padding some spaces
  • dc79c7c Add duration support in edge label
  • d26c5a5 Add Github version and license badges

v0.5.0 Faster ⚡️ Faster

18 Jan 11:59
96e8cad
Compare
Choose a tag to compare

This update is mainly about performance improvements. With many of these tuning/refactoring, 0.5.0 is much faster than 0.4.0. It can be thousands times faster for large dataset, such as event log contains several millions records.

Although the create_pmap() is pretty fast, the rendering part is still on V8's Javascript engine, which can be pretty slow for a graph with many nodes and edges. prune_nodes() and prune_edges() can be used to reduce the final graph's complexity.

  • 94b1dd2 Improve slicing performance
  • a4c72a0 Improve sorting performance by 2x or more.
  • 073c2a4 Rewrite generate_edges() to improve performance
  • e899f7d Add Installation section in README.md and change the example back for better compatibility.
  • 8a4a096 Improve get_colors() performance by remove ggsci from dependencies
  • 395cc42 Improve create_pmap_graph() and generate_edges() performance
  • 3c98ac5 Remove data.table from required dependencies
  • e7f4f14 Avoid running slow example
  • a3788ec Refactor get_colors() function to make it more efficient.

v0.4.0 Add Shiny and File output support

16 Jan 22:16
9287304
Compare
Choose a tag to compare
  • 5e22bd8 Add render_pmap_file() function.
  • 64d4a08 Use match.arg() for prune_nodes() argument rank
  • c7537b6 Remove internal functions from the docs
  • c2e74bc Reorder the prune sequence in README.md example
  • b0d0880 Remove the dependency of eventdataR which is not necessary
  • 0f97cf8 Update the README.md to use sepsis dataset as the example
  • 63de70d Add clean_graph() to remove nodes without edge
  • 63d6760 Explicitly using package name in the external function call.
  • b26447d Remove the uncertainty by explicitly using round().
  • 6624434 Add ability to handle the event_type missing eventlog case.
  • 12f1319 Add render_pmap_shiny() function
  • 43fa193 Add weight attribute to the edge with projected amount value.
  • ed365e3 Add test case with prune for create_pmap()
  • dacdbdd Clean up apply_node_color.R, extract color-related code.
  • 8423941 Add adjust_node_style() function
  • a9cc7e6 Adjust edge style by simply project the edges$amount value to expected range.
  • 76094cd Adjust the node size based on the amount within size range from 10 to 20
  • d05d8fb Add randomness to the weight of each event names
  • d91c3e0 Add amount in the node label.
  • d70731a Remove the randomness of color selection, use predefined sequence.
  • 1ea5a05 Add apply_node_color() function to dynamic assign the node's color based on the type
  • 714dadd Add CODE_OF_CONDUCT.md and fix typos in DESCRIPTION.

v0.3.2 Available on CRAN now

09 Jan 23:43
a5ae14a
Compare
Choose a tag to compare
  • c805e22 Add bug report url and more test environments in cran-comments.md
  • 4664347 Added a NEWS.md file to track changes.

v0.3.1 Replace PNG format with SVG format in docs

09 Jan 23:43
0893898
Compare
Choose a tag to compare
  • f703458 Replace PNG format with SVG format
  • 429272e Fix figures file name

v0.3.0 Rename functions to make them more intuitive.

09 Jan 23:45
0c79bf3
Compare
Choose a tag to compare
  • 2f9a1a6 Fix typos in README.md example
  • 40a47e0 Rename create_pmap_from_eventlog() to create_pmap()
  • 17af338 Rename create_pmap() to create_pmap_graph()
  • a050cb7 Rename generate_random_eventlog() to generate_eventlog() and remove the helper.R
  • 7a575a7 Add more examples to the documents and fix typos
  • 3d80907 Add release target to Makefile

v0.2.0 Add function to randomly generate event log for demo

09 Jan 23:46
82eaf21
Compare
Choose a tag to compare
  • 82eaf21 Add cran-comments.md
  • 2490a0b Fix typos
  • b6ad994 Add example code to README.md
  • 8a63fbe Add more docs for prune_edges() and others
  • f7db671 Add more docs for create_pmap_from_eventlog()
  • a4e376f Add random eventlog generator function generate_random_eventlog()
  • 37dc411 Add random eventlog generator function generate_random_eventlog()
  • 924ded7 Add create_pmap_from_eventlog() example with graph
  • 73292ac Fix a bug that the target event shouldn't be the start point
  • 88bc384 Add ability to handle the empty target_types, for that case, every paths count, rather than only the paths reaches the target

v0.1.0 First release

09 Jan 23:48
5df34b3
Compare
Choose a tag to compare
  • e60a718 Add build to Makefile
  • ff7556a Remove is_target and use type of node and target_types parameter for target nodes
  • 215c954 Add distinct_customer parameter to create_pmap_from_eventlog() function
  • c02f82b Unify the way of making R CMD Check happy
  • ea8cad8 Add distinct_customer parameter to generate_nodes() function
  • 0ecff0e Rename value attribute to amount
  • 9ed8654 Add prune_nodes() function
  • 43e107f Add distinct_customer parameter to generate_edges() function
  • 60215b6 Add prune_edges() function
  • d553cf1 Remove the render flag and separate function render_pmap() for it
  • 762a9a8 Add ability to handle the name with space
  • 8d677e6 Let generated sales happens only on targeted customers
  • 350ee83 Remove percentage and use inbound and outbound count as node size.
  • 5c78e8b Add create_pmap_from_eventlog() to generate the process map from eventlog directly
  • 2dcdef2 Remove Visualizer
  • 4217664 Refine the dependencies version
  • 55ccc1b Add missing dependency stringr
  • 537196e Add test cases for generate_edges()
  • abda4df Add test cases for generate_nodes()
  • 3da14fa Refactoring the code
  • dd605aa Add missing library()
  • d91b644 Add AppVeyor support
  • 607dece Rename package pmv to pmap, and use coveralls for coverage report
  • 921caba Add coverage support
  • e5cab79 Add build_win target for Windows build test
  • fbd8808 Add Travis CI support
  • ab07370 Add Makefile and use @importFrom for function level import
  • 7af1670 Use inherits() to check the given object type
  • 99ef74e Add get_attrs_desc() function with test cases.
  • fc135aa Fix a typo
  • e49f8a1 Add more dev documents and put \n inside backslash
  • 099b3a3 Add test cases and add Markdown support in roxygen
  • a11a4ee Reformat the functions comments to roxygen2 format
  • e3a0933 Create the package via devtools::create("pmv")
  • 49e96a8 Increase customers size and reduce the campaign and sales percentage.
  • 27c0962 Add more documents for the functions.
  • d5fda5b Adjust nodes size based on the given percentage
  • 7c99b22 Refactoring the generators
  • 9bb657f Rename links to edges
  • e5f5fb5 Split generate_graph_data() to generate_nodes() and generate_links()
  • ed6aa30 Remove event_id, use the event_name instead.
  • 19e6226 Adjust graph style and add better node's label
  • aff364a First commit with ability to generate process model map