2 Module : Gargantext.Viz.Phylo.Tools
3 Description : Phylomemy Tools to build/manage it
4 Copyright : (c) CNRS, 2017-Present
5 License : AGPL + CECILL v3
6 Maintainer : team@gargantext.org
7 Stability : experimental
12 {-# LANGUAGE NoImplicitPrelude #-}
15 module Gargantext.Viz.Phylo.API
19 import Gargantext.Database.Types.Node (PhyloId, ListId, CorpusId)
20 import Gargantext.Prelude
21 import Gargantext.Viz.Phylo
22 import Gargantext.Viz.Phylo.Example
24 getPhylo :: PhyloId -> Maybe PhyloQueryView -> PhyloView
25 getPhylo _phyloId _phyloQueryView = phyloView
27 postPhylo :: CorpusId -> Maybe ListId -> PhyloQueryBuild -> Phylo
30 putPhylo :: PhyloId -> Maybe ListId -> PhyloQueryBuild -> Phylo
33 deletePhylo :: PhyloId -> IO ()
34 deletePhylo = undefined