Важная часть, с которой вы, кажется, испытываете трудности, это числа внутри viewBox="0 0 1200 800"
верно?
Давайте разберем это немного: в нашем примере давайте рассмотрим нечто знакомое, к которому мы можем прикоснутьсяи видите, стена.Думайте о viewBox как о стене.Эта стена - это смотровое окно (коробка) с гвоздем на стене.SVG - это квадратная коробка - как стена, у коробки есть ширина и высота.Гвоздь где-то попадает в нашу стену, гвоздь также имеет место на нашей стене с координатами x и y (вверху / слева).
Используя это в качестве основы, эти числа (в атрибуте viewBox) говорят вам о точках x (слева) и y (сверху) на стене, где находится ваш гвоздь;например, viewBox = "xy 1200 800" или viewBox="100 50 1200 800"
говорит, что ваш "гвоздь" находится в положении 100 (x) слева и 50 (y) сверху стены.Гвоздь просто используется для измерения от для рисования.
viewBox="left top 1200 800"
Теперь у нас также есть два других числа (1200, 800).Это ширина и высота нашей стены viewBox="left top width height"
(«область рисования» для нашего SVG по ширине (1200) и высоте (800). Таким образом, мы можем «рисовать» на нашей стене, используя систему координат x / yи наш "гвоздь" говорит нам, где начинается рисование и где верх (0) слева (0) находится в наших координатах на нашей стене. Мы можем покрасить всю стену, но где 0,0 определяется "гвоздем" (в левом верхнем углу). В вашем случае ваш гвоздь находится в левом верхнем углу (0,0 точки) на стене, так что ваша «краска числами» начинается оттуда и может пройти 1200 вправо и 800 вниз.
В соответствии с нашей концепцией здания у нас есть противоположная стена с окном, через которое мы смотрим, чтобы увидеть нашу стену SVG.
СЕЙЧАС, представьте себе нормальный CSS top: 10px; left: 100px;
как то, где наш«окно» падает на нашу «стену» - верхний левый угол нашего окна настроен так, что мы видим нашу «стену svg» на 10px
сверху и 100px
слева и имеет наш 1200,800
размер - таксквозь ветер мы не можем видеть верхние 10 пикселей или левые 100 пикселей нашей "стены"ow.
Для моего примера кода, основанного на вашем, я установил этот CSS так, чтобы, когда вы поднимаете стену SVG на здание и просматриваете окно на противоположной стороне комнаты наших зданий, именно тамокно:
.popper>.svgoutter {
/* z-index: 1000;
width: 100%;
height: 100%;*/
position: fixed;
top: 10px;
left: 100px;
background-color: #fff;
}
Теперь, когда у нас есть стена (SVG), прикрепленная к нашему зданию (странице), мы можем установить ее так, чтобы мы могли смотреть на нашу стену там через окно, в котором мы «держим»данное место.Я дал моему окну светло-зеленую рамку и установил размер окна так, чтобы он смотрел на нашу стену немного масштабированным, поэтому мое «окно» не видит ВСЕ стены svg, но масштабируется, в моем случае, до 70 процентов ширины и высоты.
.svgoutter {
border: 1px dotted lime;
width: 70%;
height: 70%;
}
Нажмите кнопку и увидите всплывающее окно, снова нажмите его и увидите всплывающее окно.
Обратите внимание, что я поставил свой "гвоздь" на 100,50, таккогда вы «рисуете» на стене, вы начинаете измерение с положительных чисел, заставляя вас немного «вычеркнуть» с учетом ваших координат.Если бы вы взяли все свои числа в SVG и изменили их на те 100,50 изменений, которые я внес (таким образом, 133 было бы 33 для x), вы бы увидели то же самое, что и у вас с 0,0 местоположением.
Примечание: я изменил второй пример, чтобы показать это, но чтобы получить эти значения с помощью кода, вы можете сделать что-то вроде этого:
var svg = document.querySelector('svg.svgoutter');
var box = svg.getAttribute('viewBox');
var nums = box.split(/\s+|,/);
console.log(nums);
var bvbox = svg.viewBox.baseVal;
console.log( bvbox.x, bvbox.y, bvbox.width, bvbox.height );
Обратите внимание на объяснение того, как масштабировать представление по сравнению с изменением этих значений, которыепотребуется также изменить внутренние номера.
//document.addEventListener("DOMContentLoaded", function() {
(function() {
let container = document.querySelector('.chart');
container.addEventListener('click', popOut, false);
})();
//});
function popOut() {
let popcontainer = document.querySelector('.chart');
let popperclass = 'popper';
popcontainer.classList.toggle(popperclass);
// same thing as prior line:
/* if (!popcontainer.classList.contains(popperclass)) {
popcontainer.classList.add(popperclass);
} else {
popcontainer.classList.remove(popperclass);
}
*/
// var svg = document.querySelector('svg');
var svg = document.querySelector('svg.svgoutter');
var box = svg.getAttribute('viewBox');
var nums = box.split(/\s+|,/);
console.log(nums);
var bvbox = svg.viewBox.baseVal;
console.log( bvbox.x, bvbox.y, bvbox.width, bvbox.height );
}
html {
min-height: 100%;
height: 100%;
margin: 0;
}
div {
border: 1px solid grey;
}
body {
height: 100%;
font-size: 20px;
}
path {
stroke: #000;
}
.container {
display: flex;
flex-direction: column;
flex: 1;
height: 100%;
}
.container>div {
flex: 1;
}
.row {
display: flex;
}
.item {
flex: 1;
padding: 8px;
}
.chart {
display: inline-block;
position: relative;
width: 100%;
height: 100%;
/* vertical-align: top;
overflow: hidden;*/
}
.popper>.svgoutter {
/* z-index: 1000;
width: 100%;
height: 100%;*/
position: fixed;
top: 10px;
left: 100px;
background-color: #fff;
}
.svgoutter {
border: 1px dotted lime;
width: 70%;
height: 70%;
}
<body>
<div class="container">
<div class="item">Div One</div>
<div class="row">
<div class="item chart">
<button type="button">
Pop Out
</button>
<svg class="svgoutter" preserveAspectRatio="xMinYMin meet" viewBox="100 50 1200 800"><g class="vx-group vx-tree" transform="translate(30, 37)"><g transform="matrix(1,0,0,1,0,0)"><g class="vx-group" transform="translate(0, 0)"><path class="vx-link-vertical link__node" d="M189.27272727272728,353.5C189.27272727272728,176.75,567.8181818181819,176.75,567.8181818181819,0" percent="20.5" stroke-width="1" stroke-opacity="0.2" fill="none"></path><path class="vx-link-vertical link__node" d="M567.8181818181819,353.5C567.8181818181819,176.75,567.8181818181819,176.75,567.8181818181819,0" percent="20.5" stroke-width="1" stroke-opacity="0.2" fill="none"></path><path class="vx-link-vertical link__node" d="M946.3636363636364,353.5C946.3636363636364,176.75,567.8181818181819,176.75,567.8181818181819,0" percent="20.5" stroke-width="1" stroke-opacity="0.2" fill="none"></path><path class="vx-link-vertical link__node" d="M189.27272727272728,353.5C189.27272727272728,530.25,94.63636363636364,530.25,94.63636363636364,707" percent="20.5" stroke-width="1" stroke-opacity="0.2" fill="none"></path><path class="vx-link-vertical link__node" d="M189.27272727272728,353.5C189.27272727272728,530.25,283.90909090909093,530.25,283.90909090909093,707" percent="20.5" stroke-width="1" stroke-opacity="0.2" fill="none"></path></g><g class="vx-group" transform="translate(0, 0)"><g class="vx-group node__0" transform="translate(567.8181818181819, 0)" opacity="1"><g transform="matrix(1,0,0,1,0,0)" class="node__container"><svg class="node__inactive" x="0" y="0" style="overflow: visible;"><polygon points="25.98076211353316,-14.999999999999998 25.98076211353316,14.999999999999998 1.83697019872103e-15,30 -25.98076211353316,14.999999999999998 -25.980762113533157,-15.000000000000004 -5.510910596163089e-15,-30" class="node__hexagon undefined"></polygon></svg>
<g class="node__plan undefined node__inactive">
<use xlink:href="#icon-Plan"></use>
</g>
<g><svg x="0" y="0" style="overflow: visible;"><text class="label-down__item__name" width="150" y="48.63100051879883" x="0" text-anchor="middle" style="pointer-events: none;"><tspan x="0" dy="0em">Finance BCP</tspan></text></svg><svg x="0" y="0"
style="overflow: visible;"><text class="label-down__item__type" width="150" y="68.63100051879883" x="0" text-anchor="middle" style="pointer-events: none;"><tspan x="0" dy="0.71em">Plan</tspan></text></svg></g>
</g>
</g>
<g class="vx-group node__1" transform="translate(189.27272727272728, 353.5)" opacity="1">
<g transform="matrix(1,0,0,1,0,0)" class="node__container"><svg class="" x="0" y="0" style="overflow: visible;"><polygon points="25.98076211353316,-14.999999999999998 25.98076211353316,14.999999999999998 1.83697019872103e-15,30 -25.98076211353316,14.999999999999998 -25.980762113533157,-15.000000000000004 -5.510910596163089e-15,-30" class="node__hexagon node__active"></polygon></svg>
<g class="node__service node__active">
<use xlink:href="#icon-Service"></use>
</g>
<g><svg x="0" y="0" style="overflow: visible;"><text class="label-down__item__name" width="150" y="48.92399978637695" x="0" text-anchor="middle" style="pointer-events: none;"><tspan x="0" dy="0em">Accounts Receivable</tspan></text></svg>
<svg x="0" y="0" style="overflow: visible;"><text class="label-down__item__type" width="150" y="68.92399978637695" x="0" text-anchor="middle" style="pointer-events: none;"><tspan x="0" dy="0.71em">Service</tspan></text></svg>
</g><svg class="zoomout__container" height="20" width="20" viewBox="15 55 30 20"><g><circle class="node__shape-fill" cx="15" cy="10" r="10" stroke-width="2"></circle><line class="node__shape-fill" x1="8.5" y1="10" x2="21" y2="10" stroke-width="2"></line></g></svg></g>
</g>
<g class="vx-group node__2" transform="translate(567.8181818181819, 353.5)" opacity="1">
<g transform="matrix(1,0,0,1,0,0)" class="node__container"><svg class="node__inactive" x="0" y="0" style="overflow: visible;"><polygon points="25.98076211353316,-14.999999999999998 25.98076211353316,14.999999999999998 1.83697019872103e-15,30 -25.98076211353316,14.999999999999998 -25.980762113533157,-15.000000000000004 -5.510910596163089e-15,-30" class="node__hexagon"></polygon></svg>
<g class="node__service node__inactive">
<use xlink:href="#icon-Service"></use>
</g>
<g><svg x="0" y="0" style="overflow: visible;"><text class="label-down__item__name" width="150" y="48.92399978637695" x="0" text-anchor="middle" style="pointer-events: none;"><tspan x="0" dy="0em">General Accounting</tspan></text></svg>
<svg x="0" y="0" style="overflow: visible;"><text class="label-down__item__type" width="150" y="68.92399978637695" x="0" text-anchor="middle" style="pointer-events: none;"><tspan x="0" dy="0.71em">Service</tspan></text></svg>
</g><svg class="zoomout__container" height="20" width="20" viewBox="15 55 30 20"><g><circle class="node__shape-fill" cx="15" cy="10" r="10" stroke-width="2"></circle><line class="node__shape-fill" x1="8.5" y1="10" x2="21" y2="10" stroke-width="2"></line><line x1="16" y1="5" x2="16" y2="15" stroke-width="2"></line></g></svg></g>
</g>
<g class="vx-group node__3" transform="translate(946.3636363636364, 353.5)" opacity="1">
<g transform="matrix(1,0,0,1,0,0)" class="node__container"><svg class="node__inactive" x="0" y="0" style="overflow: visible;"><polygon points="25.98076211353316,-14.999999999999998 25.98076211353316,14.999999999999998 1.83697019872103e-15,30 -25.98076211353316,14.999999999999998 -25.980762113533157,-15.000000000000004 -5.510910596163089e-15,-30" class="node__hexagon"></polygon></svg>
<g class="node__service node__inactive">
<use xlink:href="#icon-Service"></use>
</g>
<g><svg x="0" y="0" style="overflow: visible;"><text class="label-down__item__name" width="150" y="48.92399978637695" x="0" text-anchor="middle" style="pointer-events: none;"><tspan x="0" dy="0em">Accounts Payable</tspan></text></svg>
<svg x="0" y="0" style="overflow: visible;"><text class="label-down__item__type" width="150" y="68.92399978637695" x="0" text-anchor="middle" style="pointer-events: none;"><tspan x="0" dy="0.71em">Service</tspan></text></svg>
</g><svg class="zoomout__container" height="20" width="20" viewBox="15 55 30 20"><g><circle class="node__shape-fill" cx="15" cy="10" r="10" stroke-width="2"></circle><line class="node__shape-fill" x1="8.5" y1="10" x2="21" y2="10" stroke-width="2"></line><line x1="16" y1="5" x2="16" y2="15" stroke-width="2"></line></g></svg></g>
</g>
<g class="vx-group node__4" transform="translate(94.63636363636364, 707)" opacity="1">
<g transform="matrix(1,0,0,1,0,0)" class="node__container"><svg class="node__inactive" x="0" y="0" style="overflow: visible;"><polygon points="25.98076211353316,-14.999999999999998 25.98076211353316,14.999999999999998 1.83697019872103e-15,30 -25.98076211353316,14.999999999999998 -25.980762113533157,-15.000000000000004 -5.510910596163089e-15,-30" class="node__hexagon"></polygon></svg>
<g class="node__activity node__inactive">
<use xlink:href="#icon-Activity"></use>
</g>
<g><svg x="0" y="0" style="overflow: visible;"><text class="label-down__item__name" width="150" y="52.00199890136719" x="0" text-anchor="middle" style="pointer-events: none;"><tspan x="0" dy="-1em">General Ledger Group</tspan><tspan x="0" dy="1em">Accounting</tspan></text></svg>
<svg x="0" y="0" style="overflow: visible;"><text class="label-down__item__type" width="150" y="72.00199890136719" x="0" text-anchor="middle" style="pointer-events: none;"><tspan x="0" dy="0.71em">Activity</tspan></text></svg>
</g>0</g>
</g>
<g class="vx-group node__5" transform="translate(283.90909090909093, 707)" opacity="1">
<g transform="matrix(1,0,0,1,0,0)" class="node__container"><svg class="node__inactive" x="0" y="0" style="overflow: visible;"><polygon points="25.98076211353316,-14.999999999999998 25.98076211353316,14.999999999999998 1.83697019872103e-15,30 -25.98076211353316,14.999999999999998 -25.980762113533157,-15.000000000000004 -5.510910596163089e-15,-30" class="node__hexagon"></polygon></svg>
<g class="node__activity node__inactive">
<use xlink:href="#icon-Activity"></use>
</g>
<g><svg x="0" y="0" style="overflow: visible;"><text class="label-down__item__name" width="150" y="52.00199890136719" x="0" text-anchor="middle" style="pointer-events: none;"><tspan x="0" dy="0em">Accounts Receivable</tspan></text></svg>
<svg x="0" y="0" style="overflow: visible;"><text class="label-down__item__type" width="150" y="72.00199890136719" x="0" text-anchor="middle" style="pointer-events: none;"><tspan x="0" dy="0.71em">Activity</tspan></text></svg>
</g>0</g>
</g>
</g>
</g>
</g>
</svg>
</div>
<div class="item">Column two</div>
<div class="item">Column Tree</div>
</div>
</div>
</body>
Альтернативный пример: здесь я изменяю 1200 800 на 400, 266.666666667 (одну треть), затем делю числа в первых двух строках на3, таким образом, эти две линии выглядят так же, как в большем масштабе.
//document.addEventListener("DOMContentLoaded", function() {
(function() {
let container = document.querySelector('.chart');
container.addEventListener('click', popOut, false);
})();
//});
function popOut() {
let popcontainer = document.querySelector('.chart');
let popperclass = 'popper';
popcontainer.classList.toggle(popperclass);
// same thing as prior line:
/* if (!popcontainer.classList.contains(popperclass)) {
popcontainer.classList.add(popperclass);
} else {
popcontainer.classList.remove(popperclass);
}
*/
// var svg = document.querySelector('svg');
}
html {
min-height: 100%;
height: 100%;
margin: 0;
}
div {
border: 1px solid grey;
}
body {
height: 100%;
font-size: 20px;
}
path {
stroke: #000;
}
.container {
display: flex;
flex-direction: column;
flex: 1;
height: 100%;
}
.container>div {
flex: 1;
}
.row {
display: flex;
}
.item {
flex: 1;
padding: 8px;
}
.chart {
display: inline-block;
position: relative;
width: 100%;
height: 100%;
/* vertical-align: top;
overflow: hidden;*/
}
.popper>.svgoutter {
/* z-index: 1000;
width: 100%;
height: 100%;*/
position: fixed;
top: 0px;
left: 0px;
background-color: #fff;
}
.svgoutter {
border: 1px dotted lime;
width: 70%;
height: 70%;
}
<body>
<div class="container">
<div class="item">Div One</div>
<div class="row">
<div class="item chart">
<button type="button">
Pop Out
</button>
<svg class="svgoutter" preserveAspectRatio="xMinYMin meet" viewBox="100 50 400 266.666666667><g class="vx-group vx-tree" transform="translate(30, 37)"><g transform="matrix(1,0,0,1,0,0)"><g class="vx-group" transform="translate(0, 0)"><path class="vx-link-vertical link__node" d="M63.0909090909,117.833333333C63.0909090909,58.9166666667,189.272727273,58.9166666667,189.272727273,0" percent="20.5" stroke-width="1" stroke-opacity="0.2" fill="none"></path><path class="vx-link-vertical link__node" d="M189.272727273,117.833333333C189.272727273,176.75,189.272727273,176.75,189.272727273,0" percent="20.5" stroke-width="1" stroke-opacity="0.2" fill="none"></path><path class="vx-link-vertical link__node" d="M946.3636363636364,353.5C946.3636363636364,176.75,567.8181818181819,176.75,567.8181818181819,0" percent="20.5" stroke-width="1" stroke-opacity="0.2" fill="none"></path><path class="vx-link-vertical link__node" d="M189.27272727272728,353.5C189.27272727272728,530.25,94.63636363636364,530.25,94.63636363636364,707" percent="20.5" stroke-width="1" stroke-opacity="0.2" fill="none"></path><path class="vx-link-vertical link__node" d="M189.27272727272728,353.5C189.27272727272728,530.25,283.90909090909093,530.25,283.90909090909093,707" percent="20.5" stroke-width="1" stroke-opacity="0.2" fill="none"></path></g><g class="vx-group" transform="translate(0, 0)"><g class="vx-group node__0" transform="translate(567.8181818181819, 0)" opacity="1"><g transform="matrix(1,0,0,1,0,0)" class="node__container"><svg class="node__inactive" x="0" y="0" style="overflow: visible;"><polygon points="25.98076211353316,-14.999999999999998 25.98076211353316,14.999999999999998 1.83697019872103e-15,30 -25.98076211353316,14.999999999999998 -25.980762113533157,-15.000000000000004 -5.510910596163089e-15,-30" class="node__hexagon undefined"></polygon></svg>
<g class="node__plan undefined node__inactive">
<use xlink:href="#icon-Plan"></use>
</g>
<g><svg x="0" y="0" style="overflow: visible;"><text class="label-down__item__name" width="150" y="48.63100051879883" x="0" text-anchor="middle" style="pointer-events: none;"><tspan x="0" dy="0em">Finance BCP</tspan></text></svg><svg x="0" y="0"
style="overflow: visible;"><text class="label-down__item__type" width="150" y="68.63100051879883" x="0" text-anchor="middle" style="pointer-events: none;"><tspan x="0" dy="0.71em">Plan</tspan></text></svg></g>
</g>
</g>
<g class="vx-group node__1" transform="translate(189.27272727272728, 353.5)" opacity="1">
<g transform="matrix(1,0,0,1,0,0)" class="node__container"><svg class="" x="0" y="0" style="overflow: visible;"><polygon points="25.98076211353316,-14.999999999999998 25.98076211353316,14.999999999999998 1.83697019872103e-15,30 -25.98076211353316,14.999999999999998 -25.980762113533157,-15.000000000000004 -5.510910596163089e-15,-30" class="node__hexagon node__active"></polygon></svg>
<g class="node__service node__active">
<use xlink:href="#icon-Service"></use>
</g>
<g><svg x="0" y="0" style="overflow: visible;"><text class="label-down__item__name" width="150" y="48.92399978637695" x="0" text-anchor="middle" style="pointer-events: none;"><tspan x="0" dy="0em">Accounts Receivable</tspan></text></svg>
<svg x="0" y="0" style="overflow: visible;"><text class="label-down__item__type" width="150" y="68.92399978637695" x="0" text-anchor="middle" style="pointer-events: none;"><tspan x="0" dy="0.71em">Service</tspan></text></svg>
</g><svg class="zoomout__container" height="20" width="20" viewBox="15 55 30 20"><g><circle class="node__shape-fill" cx="15" cy="10" r="10" stroke-width="2"></circle><line class="node__shape-fill" x1="8.5" y1="10" x2="21" y2="10" stroke-width="2"></line></g></svg></g>
</g>
<g class="vx-group node__2" transform="translate(567.8181818181819, 353.5)" opacity="1">
<g transform="matrix(1,0,0,1,0,0)" class="node__container"><svg class="node__inactive" x="0" y="0" style="overflow: visible;"><polygon points="25.98076211353316,-14.999999999999998 25.98076211353316,14.999999999999998 1.83697019872103e-15,30 -25.98076211353316,14.999999999999998 -25.980762113533157,-15.000000000000004 -5.510910596163089e-15,-30" class="node__hexagon"></polygon></svg>
<g class="node__service node__inactive">
<use xlink:href="#icon-Service"></use>
</g>
<g><svg x="0" y="0" style="overflow: visible;"><text class="label-down__item__name" width="150" y="48.92399978637695" x="0" text-anchor="middle" style="pointer-events: none;"><tspan x="0" dy="0em">General Accounting</tspan></text></svg>
<svg x="0" y="0" style="overflow: visible;"><text class="label-down__item__type" width="150" y="68.92399978637695" x="0" text-anchor="middle" style="pointer-events: none;"><tspan x="0" dy="0.71em">Service</tspan></text></svg>
</g><svg class="zoomout__container" height="20" width="20" viewBox="15 55 30 20"><g><circle class="node__shape-fill" cx="15" cy="10" r="10" stroke-width="2"></circle><line class="node__shape-fill" x1="8.5" y1="10" x2="21" y2="10" stroke-width="2"></line><line x1="16" y1="5" x2="16" y2="15" stroke-width="2"></line></g></svg></g>
</g>
<g class="vx-group node__3" transform="translate(946.3636363636364, 353.5)" opacity="1">
<g transform="matrix(1,0,0,1,0,0)" class="node__container"><svg class="node__inactive" x="0" y="0" style="overflow: visible;"><polygon points="25.98076211353316,-14.999999999999998 25.98076211353316,14.999999999999998 1.83697019872103e-15,30 -25.98076211353316,14.999999999999998 -25.980762113533157,-15.000000000000004 -5.510910596163089e-15,-30" class="node__hexagon"></polygon></svg>
<g class="node__service node__inactive">
<use xlink:href="#icon-Service"></use>
</g>
<g><svg x="0" y="0" style="overflow: visible;"><text class="label-down__item__name" width="150" y="48.92399978637695" x="0" text-anchor="middle" style="pointer-events: none;"><tspan x="0" dy="0em">Accounts Payable</tspan></text></svg>
<svg x="0" y="0" style="overflow: visible;"><text class="label-down__item__type" width="150" y="68.92399978637695" x="0" text-anchor="middle" style="pointer-events: none;"><tspan x="0" dy="0.71em">Service</tspan></text></svg>
</g><svg class="zoomout__container" height="20" width="20" viewBox="15 55 30 20"><g><circle class="node__shape-fill" cx="15" cy="10" r="10" stroke-width="2"></circle><line class="node__shape-fill" x1="8.5" y1="10" x2="21" y2="10" stroke-width="2"></line><line x1="16" y1="5" x2="16" y2="15" stroke-width="2"></line></g></svg></g>
</g>
<g class="vx-group node__4" transform="translate(94.63636363636364, 707)" opacity="1">
<g transform="matrix(1,0,0,1,0,0)" class="node__container"><svg class="node__inactive" x="0" y="0" style="overflow: visible;"><polygon points="25.98076211353316,-14.999999999999998 25.98076211353316,14.999999999999998 1.83697019872103e-15,30 -25.98076211353316,14.999999999999998 -25.980762113533157,-15.000000000000004 -5.510910596163089e-15,-30" class="node__hexagon"></polygon></svg>
<g class="node__activity node__inactive">
<use xlink:href="#icon-Activity"></use>
</g>
<g><svg x="0" y="0" style="overflow: visible;"><text class="label-down__item__name" width="150" y="52.00199890136719" x="0" text-anchor="middle" style="pointer-events: none;"><tspan x="0" dy="-1em">General Ledger Group</tspan><tspan x="0" dy="1em">Accounting</tspan></text></svg>
<svg x="0" y="0" style="overflow: visible;"><text class="label-down__item__type" width="150" y="72.00199890136719" x="0" text-anchor="middle" style="pointer-events: none;"><tspan x="0" dy="0.71em">Activity</tspan></text></svg>
</g>0</g>
</g>
<g class="vx-group node__5" transform="translate(283.90909090909093, 707)" opacity="1">
<g transform="matrix(1,0,0,1,0,0)" class="node__container"><svg class="node__inactive" x="0" y="0" style="overflow: visible;"><polygon points="25.98076211353316,-14.999999999999998 25.98076211353316,14.999999999999998 1.83697019872103e-15,30 -25.98076211353316,14.999999999999998 -25.980762113533157,-15.000000000000004 -5.510910596163089e-15,-30" class="node__hexagon"></polygon></svg>
<g class="node__activity node__inactive">
<use xlink:href="#icon-Activity"></use>
</g>
<g><svg x="0" y="0" style="overflow: visible;"><text class="label-down__item__name" width="150" y="52.00199890136719" x="0" text-anchor="middle" style="pointer-events: none;"><tspan x="0" dy="0em">Accounts Receivable</tspan></text></svg>
<svg x="0" y="0" style="overflow: visible;"><text class="label-down__item__type" width="150" y="72.00199890136719" x="0" text-anchor="middle" style="pointer-events: none;"><tspan x="0" dy="0.71em">Activity</tspan></text></svg>
</g>0</g>
</g>
</g>
</g>
</g>
</svg>
</div>
<div class="item">Column two</div>
<div class="item">Column Tree</div>
</div>
</div>
</body>