Maumagnaguagno / Classical_Plan_Viewer

:tophat: Graph visualization of classical plans

Home Page:https://maumagnaguagno.github.io/Classical_Plan_Viewer/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Classical Plan Viewer

Graph visualization of classical plans

Convert a JSON plan into a DOT graph to be client-rendered using d3-graphviz. The plan format is made of an array of action objects, each action with at least a name, arrays of parameters, preconditions and effects. Arrays can be empty, while all leaf elements are strings. The input format and visualization can be modified to support more elements. The current implementation expects valid plans and does not validate the input.

[
  {"action": "a1",
   "parameters": ["a", "b"],
   "precondition": ["pred1 a", "pred2", "not = a b"],
   "effect": ["not pred1 a", "pred1 b"]},
  ...
]

An URL query can be used to load an online JSON file, limited to GitHub.

https://maumagnaguagno.github.io/Classical_Plan_Viewer?from=https://maumagnaguagno.github.io/Classical_Plan_Viewer/plan.json

This project is the counterpart of HTN Plan Viewer.

About

:tophat: Graph visualization of classical plans

https://maumagnaguagno.github.io/Classical_Plan_Viewer/


Languages

Language:HTML 100.0%