Archi Forum

Archi Plug-ins => jArchi => Topic started by: JoCriSem on February 26, 2024, 14:31:53 PM

Title: Creating relationships via csv or other import
Post by: JoCriSem on February 26, 2024, 14:31:53 PM
Is there a way to import relationships created outside Archi (e.g. via a macro in XLS), based on the ID, Source and Target?
Title: Re: Creating relationships via csv or other import
Post by: Phil Beauvoir on February 26, 2024, 15:03:20 PM
That should be possible via a CSV/Excel file assuming that the source and target IDs matched existing IDs in the model. You'd need a JS CSV/Excel parsing library. There's an example here - https://gist.github.com/smileham/1e57a5946235e780dee5a824f664aa3d