module Drasil.DblPend.Figures (figMotion, sysCtxFig1) where import Language.Drasil import Language.Drasil.Chunk.Concept.NamedCombinators import Data.Drasil.Concepts.Documentation (physicalSystem, sysCont) resourcePath :: String resourcePath :: String resourcePath = String "../../../../datafiles/dblpend/" figMotion :: LabelledContent figMotion :: LabelledContent figMotion = Reference -> RawContent -> LabelledContent llcc (String -> Reference makeFigRef String "dblpend") (RawContent -> LabelledContent) -> RawContent -> LabelledContent forall a b. (a -> b) -> a -> b $ Lbl -> String -> MaxWidthPercent -> RawContent figWithWidth (NP -> Lbl forall n. NounPhrase n => n -> Lbl atStartNP (IdeaDict -> NP forall t. NamedIdea t => t -> NP the IdeaDict physicalSystem)) (String resourcePath String -> String -> String forall a. [a] -> [a] -> [a] ++ String "dblpend.png") MaxWidthPercent 60 sysCtxFig1 :: LabelledContent sysCtxFig1 :: LabelledContent sysCtxFig1 = Reference -> RawContent -> LabelledContent llcc (String -> Reference makeFigRef String "sysCtxDiag") (RawContent -> LabelledContent) -> RawContent -> LabelledContent forall a b. (a -> b) -> a -> b $ Lbl -> String -> RawContent fig (IdeaDict -> Lbl forall n. NamedIdea n => n -> Lbl titleize IdeaDict sysCont) (String resourcePath String -> String -> String forall a. [a] -> [a] -> [a] ++ String "SystemContextFigure.png")