commit | 0c577f67923ab1bade635400e599844218a589a3 | [log] [tgz] |
---|---|---|
author | Sean Condon <sean.condon@microsemi.com> | Sun Nov 18 22:40:05 2018 +0000 |
committer | Thomas Vachuska <tom@opennetworking.org> | Tue Nov 27 17:36:16 2018 +0000 |
tree | ba439ca399b1ab60541fdfa4a143f690db191a54 | |
parent | fb64d8866524c1f95b87bb7c57fe187ff81fac40 [diff] |
Added d3 force graph to GUI2 topology Change-Id: I6860472efaf51ea27fad74e630e687f0c6abad3d
diff --git a/web/gui2/src/main/webapp/app/view/topology/layer/backgroundsvg/backgroundsvg.component.html b/web/gui2/src/main/webapp/app/view/topology/layer/backgroundsvg/backgroundsvg.component.html index 389ec9c..d745ce8 100644 --- a/web/gui2/src/main/webapp/app/view/topology/layer/backgroundsvg/backgroundsvg.component.html +++ b/web/gui2/src/main/webapp/app/view/topology/layer/backgroundsvg/backgroundsvg.component.html
@@ -13,8 +13,8 @@ ~ See the License for the specific language governing permissions and ~ limitations under the License. --> -<svg:g onos-mapsvg /> -<svg:g> +<svg:g xmlns:svg="http://www.w3.org/2000/svg" onos-mapsvg /> +<svg:g xmlns:svg="http://www.w3.org/2000/svg"> <svg:text>Layout: {{ layoutData.id }} {{ layoutData.bgDesc }}</svg:text> <svg:text>Region: {{ layoutData.region }} {{ layoutData.regionName }}</svg:text> <svg:text>Parent {{ layoutData.parent }}</svg:text>
diff --git a/web/gui2/src/main/webapp/app/view/topology/layer/backgroundsvg/backgroundsvg.component.ts b/web/gui2/src/main/webapp/app/view/topology/layer/backgroundsvg/backgroundsvg.component.ts index ff6f99a..e07f304 100644 --- a/web/gui2/src/main/webapp/app/view/topology/layer/backgroundsvg/backgroundsvg.component.ts +++ b/web/gui2/src/main/webapp/app/view/topology/layer/backgroundsvg/backgroundsvg.component.ts
@@ -44,6 +44,7 @@ * Enum of the topo2CurrentRegion location type from Location below */ export enum LocationType { + NONE = 'none', GEO = 'geo', GRID = 'grid' }