diff --git a/src/org/rascalmpl/library/lang/rascal/vis/ImportGraph.rsc b/src/org/rascalmpl/library/lang/rascal/vis/ImportGraph.rsc index 0efc06a82a..b05d70f66e 100644 --- a/src/org/rascalmpl/library/lang/rascal/vis/ImportGraph.rsc +++ b/src/org/rascalmpl/library/lang/rascal/vis/ImportGraph.rsc @@ -46,8 +46,8 @@ void importGraph(PathConfig pcfg, bool hideExternals=true) { // let's start with a simple graph and elaborate on details in later versions g = { | <- m.imports, hideExternals ==> to notin m.external} + { | <- m.extends, hideExternals ==> to notin m.external} - + { <"_", "_", to> | to <- top(m.imports + m.extends) } // pull up the top modules - + { | from <- bottom(m.imports + m.extends), hideExternals ==> from notin m.external} // pull the bottom modules down. + // + { <"_", "_", to> | to <- top(m.imports + m.extends) } // pull up the top modules + // + { | from <- bottom(m.imports + m.extends), hideExternals ==> from notin m.external} // pull the bottom modules down. ; loc modLinker(str name) { @@ -59,7 +59,7 @@ void importGraph(PathConfig pcfg, bool hideExternals=true) { default loc modLinker(value _) = |nothing:///|; - showInteractiveContent(graph(g, \layout=defaultDagreLayout(), nodeLinker=modLinker), title="Rascal Import/Extend Graph"); + showInteractiveContent(graph(g, \layout=defaultDagreLayout(), nodeLinker=modLinker), title="Rascal Import/Extend Graph", edgeStyle=defaultEdgeStyle()[\curve-style=taxi()]); } @synopsis{Container for everything we need to know about the modules in a project to visualize it.} diff --git a/src/org/rascalmpl/library/vis/Graphs.rsc b/src/org/rascalmpl/library/vis/Graphs.rsc index b24a4d3ce8..86f2f1bb71 100644 --- a/src/org/rascalmpl/library/vis/Graphs.rsc +++ b/src/org/rascalmpl/library/vis/Graphs.rsc @@ -336,7 +336,7 @@ data CytoLayout(CytoLayoutName name = dagre(), bool animate=false) CytoLayoutName name = CytoLayoutName::breadthfirst(), num spacingFactor= 1, list[str] roots = [], - bool circle=false, + bool circle=faculse, bool grid=!circle, bool directed=false )