{% load i18n %}
{% if graph.isresource %}

{% trans "The Graph Designer allows you to create, modify, and view the graph for a Resource Model or Branch. You are currently editing a Resource Model, so note that the Graph Manager functions differently when editing a Branch." %}

{% else %}

{% trans "The Graph Designer allows you to create, modify, and view the graph for a Resource Model or Branch. You are currently editing a Branch, so note that the Graph Manager functions differently when editing a Resource Model." %}

{% endif %}

{% trans "Graph Designer Overview" %}

{% trans "open in new tab" %}  

{% if graph.isresource %}

{% blocktrans %} Node List - This panel lists all of the nodes present in this Resource Model's graph. You can select a node in the Node List to open the Node Manager.
Graph This panel displays all nodes and their connections (called "properties"), showing the full branching structure. Every Graph will have a "top node" in the center, to which all other nodes will be connected. You can select a node in the Graph to open the Node Manager.
Node Manager This is where the action takes place. Within this panel you will be able to build the graph by adding new Branches, or refine it by modifying nodes that already exists. Once you have selected a node, the Node Manager settings tab will look something like this: {% endblocktrans %}

{% else %}

{% blocktrans %} Node List - This panel lists all of the nodes present in this Branch's graph. You can select a node in the Node List to open the Node Manager.
Graph This panel displays all nodes and their connections (called "properties"), showing the full branching structure. Every Graph will have a "top node" in the center, to which all other nodes will be connected. You can select a node in the Graph to open the Node Manager.
Node Manager This is where the action takes place. Within this panel you will be able to build the graph by adding new nodes, or refine it by modifying nodes that already exists. Once you have selected a node, the Node Manager settings tab will look something like this: {% endblocktrans %}

{% endif %}

{% blocktrans %} Node Name - Used to identify this node within the graph interface. In other parts of app, custom labels can be used in place of this name. Node names need not be unique across a graph, but it will make everything easier if they are.
{% endblocktrans %} {% if graph.isresource %} {% blocktrans %} CRM Class - (only present if this Resource Model uses an ontology) This setting defines what ontological class of data will be collected by this node. To learn more, read Ontologies in Arches.
Relationship from ... - (only present if this Resource Model uses an ontology) Define what relationship this node has with its parent node (the one directly above it in the graph branch). A verbalization of your choice is shown below this setting.
{% endblocktrans %} {% else %} {% blocktrans %} CRM Class - (only present if this Branch uses an ontology) This setting defines what ontological class of data will be collected by this node. To learn more, read Ontologies in Arches.
Relationship from ... - (only present if this Branch uses an ontology) Define what relationship this node has with its parent node (the one directly above it in the graph branch). A verbalization of your choice is shown below this setting.
{% endblocktrans %} {% endif %} {% blocktrans %} Expose to Advanced Search - If true users will be able to add this node to an Advanced Search query.
Required - If true a value must be entered for this node in order to save its tile. Important: Once data is collected for this node, this setting cannot be changed
Data type - Choose what type of data will be collected in this node. See below for more information.
Make Card/Place node(s) in a separate card - Depending on the location of the node within the Graph, you may be given the option to "make a card" from the node and its descendants, or "place it into a separate card". Doing the latter will turn the upstream Card into a Card Container, and will make this nodegroup display as a tab within that Card Container. {% endblocktrans %}

{% trans "Editing a Branch's Graph" %}

{% trans "To build the graph of a Branch, your main course of action will be adding nodes, naming them, and defining their data type. If your Branch uses an ontology, you'll also need to define the CRM class and property of each new node. When choosing classes and properties, the interface will automatically enforce preloaded ontological rules." %}

{% trans "add a node to the graph - click to view" %} {% trans "open in new tab" %}  

{% trans "Editing a Resouce Model's Graph" %}

{% trans "When editing a Resource Model's graph, you will be adding entire Branch's to the top node of the graph (the one in the middle). By adding Branches (instead of individual nodes) This encourages consistency between Resource Models by allowing you to reuse a single Branch many times." %}

{% blocktrans %}As shown below, you must select the top node and then use to add a Branch. Once you have added a Branch, you may fine-tune the settings of its descendant nodes if desired. Note that any changes you make here will not be applied back to the original Branch. {% endblocktrans %}

{% trans "Once data is saved to a nodegroup, nodes belonging to that nodegroup cannot be deleted" %}

{% trans "add a branch to the graph - click to view" %} {% trans "open in new tab" %}  

{% trans "About Data Types" %}

{% trans "Choosing a node's Data Type is the first step toward defining how that information will be collected. A few data types are intuitive (string, number, date), but here's an explanation of the less familiar types." %}

{% trans "geojson-feature-collection Stores geographic coordinates, and is used to show a resource on the map." %}

{% trans "concept Constrains the node to store one of a series of choices provided by the Reference Data Manager. This data functionally operates like a dropdown list or pick list. You'll further be prompted to choose a Concept Collection, where you'll choose which series of concepts to use." %}

{% trans "concept-list Same as above, but the user will be able to select multiple concepts." %}

{% trans "domain-value Like 'concept', choose this to present the user with a dropdown menu. Unlike 'concept' this dropdown menu will not come from your system-wide controlled vocubulary, but from a list of values that you define here." %}

{% trans "domain-value-list Same as above, but the user will be able to select multiple domain-values." %}

{% trans "boolean Use this to record a simple 'yes or no' or 'true or false' value." %}

{% trans "file-list Allows this node to store one or mores files. Use this to upload images, documents, etc." %}

{% trans "semantic A 'semantic' node does not store data. Semantic nodes are used where necessary to make symbolic connections between nodes, generally in order to follow ontoligical rules. Note that the top node of every graph is a semantic node." %}

{% trans "Once a user saves data belonging to a node, the datatype and the datatype configs cannot be modified" %}