hversu / ugh

ugh! universal graph harness
MIT License
1 stars 2 forks source link

GraphML transform issues #8

Open hversu opened 3 months ago

hversu commented 3 months ago
 "nodes": [
    {
      "id": "n0", <------------------------------------------------------------------------ should be just integer 
      "label": "38.180.146.165",
      "type": "ipv4-address",  <--------------------------------------------------------- simpify all ip forms to "ip"
      "properties": {
        "ipv4-address": "38.180.146.165",
        "whois": "#\n# ARIN WHOIS data and services are subject to the Terms of Use\n# available at: https://www.arin.net/resources/registry/whois/tou/\n#\n# If you see inaccuracies in the results, please report at\n# https://www.arin.net/resources/registry/whois/inaccuracy_reporting/\n#\n# Copyright 1997-2024, American Registry for Internet Numbers, Ltd.\n#\n\n\n#\n# Query terms are ambiguous.  The query is assumed to be:\n#     \"n 38.180.146.165\"\n#\n# Use \"?\" to get help.\n#\n\nPSINet, Inc. COGENT-A (NET-38-0-0-0-1) 38.0.0.0 - 38.255.255.255\n3NT SOLUTIONS LLP 3NT-CGNT-NET-1 (NET-38-180-0-0-1) 38.180.0.0 - 38.180.255.255\n3NT SOLUTIONS LLP CLOUD-NETWORK-US (NET-38-180-146-0-1) 38.180.146.0 - 38.180.146.255\n\n\n\n#\n# ARIN WHOIS data and services are subject to the Terms of Use\n# available at: https://www.arin.net/resources/registry/whois/tou/\n#\n# If you see inaccuracies in the results, please report at\n# https://www.arin.net/resources/registry/whois/inaccuracy_reporting/\n#\n# Copyright 1997-2024, American Registry for Internet Numbers, Ltd.\n#",
        "ipaddress.internal": "false",
        "id": "n0" <----------------------------------------------------------------------- redundant 
      }
hversu commented 3 months ago

ids fixed https://github.com/hversu/ugh/pull/11