From 5a216838c88398646540aee494c93d8627f7f439 Mon Sep 17 00:00:00 2001 From: Remi Gau Date: Tue, 18 Jun 2024 10:24:49 +0200 Subject: [PATCH] update visualize section --- docs/how-to/visualize.md | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/docs/how-to/visualize.md b/docs/how-to/visualize.md index f3d3ef165..71a804e58 100644 --- a/docs/how-to/visualize.md +++ b/docs/how-to/visualize.md @@ -1,14 +1,14 @@ # Visualize -If you want to visualize the protocol or the activity you have created, -you can use the [reproschema-ui](https://github.com/ReproNim/reproschema-ui) to preview it. - -If you want to see what the assessment that are already supported by the ReproSchema would look like using our ReproSchema user-interface, you can visualize them directly on [schema.repronim.org](https://schema.repronim.org/rl). +If you want to visualize the graph represented by the JSON-LD file, +we explain how to do this in [From JSON to JSON-LD](../FAQ.md#from-json-to-json-ld). -If you just want to view a protocol or activity you are developing using the `reproschema-ui`, -you can pass the URL of the schema to the `url` query parameter like this: +If you want to visualize the protocol or the activity you have created as a web form, +you can use the [reproschema-ui](https://github.com/ReproNim/reproschema-ui) to preview it. +To do so you can pass the URL to your protocol or activity as a query +to the [reproschema-ui app](https://www.repronim.org/reproschema-ui/) -```https://schema.repronim.org/ui/#/?url=url-to-your-schema``` +```https://www.repronim.org/reproschema-ui/#/?url=url-to-your-schema``` If you are hosting a schema on github, make sure that you are passing the URL of the **raw** content of the schema. For example, our demo protocol can be accessed at this URL: @@ -20,5 +20,7 @@ once you have opened that page on github that will open this URL: [https://raw.githubusercontent.com/ReproNim/reproschema-demo-protocol/7ed1ae49279f75acdd57380fff1f8aaff2c7b511/reproschema_demo_protocol/reproschema_demo_protocol_schema](https://raw.githubusercontent.com/ReproNim/reproschema-demo-protocol/7ed1ae49279f75acdd57380fff1f8aaff2c7b511/reproschema_demo_protocol/reproschema_demo_protocol_schema). -If you want to visualize the graph represented by the JSON-LD file, -we explain how to do this in [From JSON to JSON-LD](#from-json-to-json-ld). +So in the end the URL to preview this protocol as a web form would be: + +[https://www.repronim.org/reproschema-ui/#/?url=https://raw.githubusercontent.com/ReproNim/reproschema-demo-protocol/7ed1ae49279f75acdd57380fff1f8aaff2c7b511/reproschema_demo_protocol/reproschema_demo_protocol_schema]( +https://www.repronim.org/reproschema-ui/#/?url=https://raw.githubusercontent.com/ReproNim/reproschema-demo-protocol/7ed1ae49279f75acdd57380fff1f8aaff2c7b511/reproschema_demo_protocol/reproschema_demo_protocol_schema)