Commit e1637133 authored by Alexandre Delanoë's avatar Alexandre Delanoë

[GRAPH] Title + Legend cosmetics.

parent 63f7002e
Pipeline #164 failed with stage
......@@ -254,12 +254,10 @@ graphAPI nId = do
nodeGraph <- getNode nId HyperdataGraph
let title = "IMT - Scientific publications - 1982-2017 - English"
let title = "Graph Title"
let metadata = GraphMetadata title [maybe 0 identity $ _node_parentId nodeGraph]
[ LegendField 6 "#FFF" "Data processing"
, LegendField 7 "#FFF" "Networks"
, LegendField 1 "#FFF" "Material science"
, LegendField 5 "#FFF" "Energy / Environment"
[ LegendField 1 "#FFF" "Cluster"
, LegendField 2 "#FFF" "Cluster"
]
-- (map (\n -> LegendField n "#FFFFFF" (pack $ show n)) [1..10])
let cId = maybe (panic "no parentId") identity $ _node_parentId nodeGraph
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment