1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 14:54:16 +03:00

🔥 GraphRenderer.

This commit is contained in:
Rob Rix 2018-05-11 15:29:46 -04:00
parent e37bc83f14
commit 619e9f537f

View File

@ -2,7 +2,6 @@
module Rendering.Renderer module Rendering.Renderer
( DiffRenderer(..) ( DiffRenderer(..)
, TermRenderer(..) , TermRenderer(..)
, GraphRenderer(..)
, SomeRenderer(..) , SomeRenderer(..)
, renderSExpressionDiff , renderSExpressionDiff
, renderSExpressionTerm , renderSExpressionTerm
@ -67,13 +66,6 @@ data TermRenderer output where
deriving instance Eq (TermRenderer output) deriving instance Eq (TermRenderer output)
deriving instance Show (TermRenderer output) deriving instance Show (TermRenderer output)
-- | Specification of renderers for graph analysis, producing output in the parameter type.
data GraphRenderer output where
JSONGraphRenderer :: GraphRenderer Builder
DOTGraphRenderer :: GraphRenderer Builder
deriving instance Eq (GraphRenderer output)
deriving instance Show (GraphRenderer output)
-- | Abstraction of some renderer to some 'Monoid'al output which can be serialized to a 'ByteString'. -- | Abstraction of some renderer to some 'Monoid'al output which can be serialized to a 'ByteString'.
-- --