Reading and Importing maps
The app can read files in its native format (files with the suffix '.prsm'), or in GRAPHML (.graphml), GML (.gml), GraphVix (.gv or .dot), Comma Separated Values (.csv) or Microsoft Excel (.xlsx) formats. Not all features of the GraphML, GML and GraphViz formats are supported.
To read in files any of these format, use the Open button in the top bar. PRSM will work out from the file contents which type of file it is reading.
An Excel workbook should contain two spreadsheets, one named ‘Factors’ and the other named ‘Links’. Both should have a Header (i.e. first row) of column names, with the remaining rows containing data about each Factor or Link (in any order).
The Factors sheet must have a column headed ‘Label’. This column should contain text that will become the labels of the factors. It may, optionally, have:
- a column headed ‘Description’. The contents of this column will become notes for the Factors (i.e. the text shown in the Notes box when you select a Factor).
- a column headed ‘Style’, with the contents being numbers between 1 and 9, representing the style to be applied to the Factor (the styles are numbered according to the Factor Styles tab, from top left to bottom right).
- columns headed 'x' and 'y', holding the numeric coordinates of the Factors in the map.
All other columns are considered to be values of Attributes assigned to Factors and visible in the Data View of the map.
The Links sheet must have a column headed ‘From’ and another headed ‘To’. The contents of these columns should be text identical to one of the Labels in the Factors sheet. It may also, optionally, have:
- a column headed ‘Label’, with text of a label to be applied to the link
- a column headed ‘Description’. The contents of this column will become notes for the Links (i.e. the text shown in the Notes box when you select a Link).
- a column headed ‘Style’, with the contents being numbers between 1 and 9, representing the link style to be applied to the Link (the styles are numbered according to the Link Styles tab, from top left to bottom right).
All other columns are considered to be values of Attributes assigned to Links and visible in the Data View of the map.
A CSV file must contain at least two columns of values. Each row represents a link. In the first column is the label of the factor from which the link points, and in the second column is the label of the factor the link is pointing to. This very simple format is designed to allow straightforward imports from other software. Optionally, the third and fourth columns may contain an integer between 1 and 9 - if they do, the factor is styled with that style (styles are numbered from top left to bottom right as shown on the Factors tab). The fifth column may contain the style number for the link.
The CSV format is now depreciated, becuase the Excel format is easier to use and Excel can read and write CSV files. The CSV format may be removed in a future version.
Saving and Exporting maps
PRSM can create output files in the app's own native format or as GML and GraphViz files, or as an Excel workbook. It can also output the map as a high resolution image.
To save an output file, click on the small downward pointing triangle beside the Save button in the top bar and choose which format you want.
You can save a high resolution (600 dpi) image of the map as a Portable Network Graphics (.png) file. The image shows the same view of the map as you see on the screen (so, for example, it will not show factors that have been moved out of the app window).