WOQLView
- class terminusdb_client.WOQLView
Bases:
object
- __init__()
- edges(*args)
Configure edges for the WOQLView
- Parameters
args (List of edges) – Edges to be configured in woqlGraphConfig
- Returns
View object
- Return type
WOQLView object
- height(height_input)
Configure height for the WOQLView
- Parameters
height_input (Number) – Height of the view
- Returns
View object
- Return type
WOQLView object
- width(width_input)
Configure width for the WOQLView
- Parameters
width_input (Number) – Width of the view
- Returns
View object
- Return type
WOQLView object
- edge(start, end)
Add Edges in the given range
- Parameters
start (str) –
end (str) –
- Returns
View object
- Return type
WOQLView object
- node(*args)
Configure the list of nodes to graph
- Parameters
args (*str) –
- Returns
View object
- Return type
WOQLView object
- text(input_text)
Configure text for WOQLView
- Parameters
input_text (str) – Text of the view
- Returns
View object
- Return type
WOQLView object
- distance(input_distance)
Configure distance for the WOQLView
- Parameters
input_distance (Number) – distance of the view
- Returns
View object
- Return type
WOQLView object
- weight(input_weight)
Configure weight for the WOQLView
- Parameters
input_weight (Number) – Weight of the view
- Returns
View object
- Return type
WOQLView object
- color(input_color)
Configure colors for the WOQLView
- Parameters
input_color (list) – Color list of the view
- Returns
View object
- Return type
WOQLView object
- icon(input_dict)
Configure icon for the WOQLView
- Parameters
input_dict (dict) – Icons mapped as key value
- Returns
View object
- Return type
WOQLView object
- size(input_size)
Configure size for the WOQLView
- Parameters
input_size (Number) – Weight of the view
- Returns
View object
- Return type
WOQLView object
- collision_radius(input_radius)
Configure radius for the WOQLView
- Parameters
input_radius (Number) – Radius of the view
- Returns
View object
- Return type
WOQLView object
Configure hidden choice for the WOQLView
- Parameters
input_choice (bool) – Hidden Choice of the view
- Returns
View object
- Return type
WOQLView object
- charge(input_charge)
Configure charge for the WOQLView
- Parameters
input_charge (Number) – Charge of the view
- Returns
View object
- Return type
WOQLView object
- of(input_obj)
Configure IN object for the WOQLView
- Parameters
input_obj (str) – Object of the view
- Returns
View object
- Return type
WOQLView object
- show(result)
Show the graph inline in the Jupyter notebook
- Parameters
result (the result that is returning from a query in dict format.) –
- export(filename, result)
Export the graph into an html file
- Parameters
filename (the file name of the export file (without extention).) –
result (the result that is returning from a query in dict format.) –
- print_js_config()
Print out the JavaScript config
- Parameters
result (the result that is returning from a query in dict format.) –