Pustaka Taratsa

Baca teks (EPUB): Orange: Network .gml

1 bagian

Teks ini diambil langsung dari berkas EPUB; tata letak dan gambar tidak disertakan. Untuk tampilan lengkap, silakan merujuk pada dokumen asli.

Daftar isi
  1. Orange: Network .gml
  2. Basic examples
  3. Labels
  4. Referensi

Orange: Network .gml

Sumber: https://onnocenter.or.id/wiki/index.php/Orange:_Network_.gml

sumber: https://gephi.org/users/supported-graph-formats/gml-format/



GML Format

GML (Graph Modeling Language) is a text file format supporting network data with a very easy syntax. It is used by Graphlet, Pajek, yEd, LEDA and NetworkX. GML Specification Official GML Specification

Gephi currently doesn’t provide a complete support of the GML format. Data structures are not supported. Datasets

Mark Newman’s page provides a large range of networks in GML here. Examples

Basic examples

The sample below shows a graph of three nodes and two edges.

graph
[
  node
  [
   id A
  ]
  node
  [
   id B
  ]
  node
  [
   id C
  ]
   edge
  [
   source B
   target A
  ]
  edge
  [
   source C
   target A
  ]
]

Labels

The sample below shows the same example but with both node and edge labels.

graph
[
  node
  [
   id A
   label "Node A"
  ]
  node
  [
   id B
   label "Node B"
  ]
  node
  [
   id C
   label "Node C"
  ]
   edge
  [
   source B
   target A
   label "Edge B to A"
  ]
  edge
  [
   source C
   target A
   label "Edge C to A"
  ]
]

Referensi