Workflow Interface Documentation for the Physics Derivation Graph

navigation / documentation overview / workflow documentation

Main Page with Site Map

http://localhost:5000

Description: A central hub page to navigate all the different functions of the software

Create a new derivation

http://localhost:5000/new_derivation

Description: Creates a new derivation by requesting:

Review an existing derivation

http://localhost:5000/review_derivation/<derivation_id>

Description: View the details of an existing derivation (list of steps), and options to:

Select a Step (for editing or deleting)

http://localhost:5000/select_step/<derivation_id>

Description: Provides a list of the steps within a specific derivation. Used for editing a specific step.

Edit Derivation Metadata

http://localhost:5000/edit_derivation_metadata/<derivation_id>

Description: Modifies derivation metadata, such as the name and abstract.

New step: select the inference rule

http://localhost:5000/new_step_select_inference_rule/<derivation_id>

Description: Specifies which inference rule is used when inserting a new step in a derivation.

Edit Expression

http://localhost:5000/edit_expression/<expression_id>

Description: Modifies an expression, including assigning symbols to it or deleting it.

Edit Feed

http://localhost:5000/edit_feed/<feed_id>

Description: Modifies a feed, including assigning symbols to it or deleting it.

New Expression

http://localhost:5000/new_expression/

Description: Creates a new expression, allowing to specify the LHS, RHS, relation, and name.

New Feed

http://localhost:5000/new_feed/

Description: Creates a new feed.

Edit Node

http://localhost:5000/edit_node/<node_id>

Description: A gateway for editing a node, which redirects to the appropriate sub-page depending on the node type (e.g., a scalar, matrix, vector).

Edit Operation

http://localhost:5000/edit_operation/<operation_id>

Description: Edit an operation symbol.

Edit Relation

http://localhost:5000/edit_relation/<relation_id>

Description: Edit a relation symbol.

Edit Scalar

http://localhost:5000/edit_scalar/<scalar_id>

Description: Edit a scalar symbol.

Edit Vector

http://localhost:5000/edit_vector/<vector_id>

Description: Edit a vector symbol.

Edit Matrix

http://localhost:5000/edit_matrix/<matrix_id>

Description: Edit a matrix symbol.

New scalar value and unit

http://localhost:5000/new_symbol_scalar_constant_value_and_units/<scalar_id>/

Description: Specifies the units and value for constant scalar symbols.

New scalar symbol

http://localhost:5000/new_symbol_scalar/

Description: Creates a scalar symbol, optionally adding a value to it.

New Vector symbol

http://localhost:5000/new_symbol_vector/

Description: Creates a vector symbol.

New Matrix symbol

http://localhost:5000/new_symbol_matrix/

Description: Creates a matrix symbol.

New operation symbol

http://localhost:5000/new_operation/

Description: Creates a new operation symbol, for use in expressions.

New relation symbol

http://localhost:5000/new_relation/

Description: Creates a new relation symbol, for use in expressions.

New step: select expressions

http://localhost:5000/new_step_expressions/<derivation_id>/<inference_rule_id>

Description: Specifies which expressions and feeds are used when inserting a new step into a derivation.

Symbols and Operations in an Expression

http://localhost:5000/symbols_and_operations_for_expression/<expression_id>

Description: Specifies which symbols are used by an expression.

Sympy and Lean strings for an Expression

http://localhost:5000/sympy_and_latex_for_expression/<expression_id>/<symbol_id_dict>

Description: Provides a form to edit the SymPy and Lean representations of an expression.

Symbols and Operations in a feed

http://localhost:5000/symbols_and_operations_for_feed/<feed_id>

Description: Specifies which symbols are used by a feed.

Sympy and Lean strings for a feed

http://localhost:5000/sympy_and_latex_for_feed/<feed_id>/<symbol_id_dict>

Description: Provides a form to edit the SymPy and Lean representations of a feed.

List of Derivations

http://localhost:5000/list_derivations

Description: Shows a list of all derivations.

List of Inference Rules

http://localhost:5000/list_inference_rules

Description: Shows a list of all inference rules.

List of Expressions

http://localhost:5000/list_expressions

Description: Shows a list of all expressions.

List of Feeds

http://localhost:5000/list_feeds

Description: Shows a list of all feeds.

List of Operations

http://localhost:5000/list_operations

Description: Shows a list of all operations.

List of Relations

http://localhost:5000/list_relations

Description: Shows a list of all relation symbols.

List of Scalars

http://localhost:5000/list_scalars

Description: Shows a list of all scalar symbols.

List of Vectors

http://localhost:5000/list_vectors

Description: Shows a list of all vector symbols.

List of Matrices

http://localhost:5000/list_matrices

Description: Shows a list of all matrix symbols.

List of all constant values for a scalar

http://localhost:5000/new_symbol_scalar_constant_value_and_units/<scalar_id>/

Description: View and edit value associated with a particular scalar

View a Cypher file

http://localhost:5000/view_cypher/

Description: View the most recent database export in Cypher format.

Query Neo4j via Cypher

http://localhost:5000/query

Description: An interface for running Cypher queries, either from the user or pre-defined. Provides some help and links for creating a Cypher query.

API documenation

http://localhost:5000/api_documentation

Description: A list of all available API routes and the corresponding data formats.

Delete All Content

http://localhost:5000/delete_all

Description: A button for deletion of all database content, not just the derivations.

API via Javascript

http://localhost:5000/api_via_js

Description: Demonstrates how to use the APIs from Javascript