github.com/vchain-us/vcn@v0.9.11-0.20210921212052-a2484d23c0b3/pkg/bom/java/mvn_out.go (about) 1 /* 2 * Copyright (c) 2018-2020 vChain, Inc. All Rights Reserved. 3 * This software is released under GPL3. 4 * The full license information can be found under: 5 * https://www.gnu.org/licenses/gpl-3.0.en.html 6 * 7 */ 8 9 package java 10 11 import "encoding/xml" 12 13 type GraphML struct { 14 Graph Graph `xml:"graph"` 15 } 16 17 type Graph struct { 18 XMLName xml.Name `xml:"graph"` 19 Nodes []Node `xml:"node"` 20 } 21 22 type Node struct { 23 XMLName xml.Name `xml:"node"` 24 Data Data `xml:"data"` 25 } 26 27 type Data struct { 28 XMLName xml.Name `xml:"data"` 29 ShapeNode ShapeNode `xml:"ShapeNode"` 30 } 31 32 type ShapeNode struct { 33 XMLName xml.Name `xml:"ShapeNode"` 34 NodeLabel string `xml:"NodeLabel"` 35 }