pyknp_eventgraph.visualizer

pyknp_eventgraph.visualizer.make_image(evg, output, with_detail=True, with_original_text=True)[source]

Visualize an EventGraph.

Parameters
  • evg (EventGraph) – An EventGraph.

  • output (str) – Path to an output file. The file extension must be ‘.svg’.

  • with_detail (bool) – If true, detail information will be included.

  • with_original_text (bool) – If true, original sentences will be included.