Skip to content

Latest commit

 

History

History
68 lines (41 loc) · 1.6 KB

README.md

File metadata and controls

68 lines (41 loc) · 1.6 KB

alternet

Package to convert network diagrams between different formats.


Supported formats

  • Kumu
  • Decision Explorer
  • Stella

Supported characteristics

  • Node name
  • Node position
  • Node type
  • Edge polarity
  • Styles for node types

Getting Started

Once cloned, open up the project, and load the package with:

devtools::load_all()

Documentation is available for the package functions, e.g.

?import_from_kumu_json

Example

devtools::load_all()

network = import_from_kumu_json("inst/extdata/example_network.json")

network %>% export_to_decision_explorer()

Getting data from original software

The import functions work directly on save files produced by Stella (".stmx") and Decision Explorer (".demx"). You can also use the files produced using the Decision Explorer export facility ("mdx").

For Stella, you can either import from a causal loop diagram, in which case the variables will be interpreted as nodes, or from a stock and flow model, in which case the modules will be interpreted as nodes. See the documentation for import_from_stella_xml.

For Kumu, see the documentation on exporting data as json, click the download icon in the lower right corner of the map and choose "Export to JSON".


Using exported data in the new software

For Stella, simply open the new stmx file in Stella.

For Kumu, see import instructions on the Kumu website.

For Decision Explorer, create a new, blank model, go to "File -> Import" and choose the file you want to import.