mycelia-front-app
Version:
Visualisation de graph sociaux
72 lines (67 loc) • 2.88 kB
YAML
#persistanceAPI: https://api.dyndemo.mycelia.tools
defaultPicto: allData/img/empty.svg
layers:
- Genre:
- PersonnePhysique: /node/*[Genre = "PersonnePhysique"]
- PersonneMorale: /node/*[Genre = "PersonneMorale"]
- Projet: /node/*[Genre = "Projet"]
- Publication: /node/*[Genre = "Publication"]
- Evenement: /node/*[Genre = "Evenement"]
- Noeud:
- Elu: /node/*[Fonction = "Elu"]
- HautFonctionnaire: /node/*[Fonction = "HautFonctionnaire"]
- Juriste: /node/*[Fonction = "Juriste"]
- Gestionnaire: /node/*[Fonction = "Gestionnaire"]
- Expert: /node/*[Fonction = "Expert"]
- Mobilisateur: /node/*[Fonction = "Mobilisateur"]
- Autre: /node/*[Fonction = "Autre"]
- Regulateur: /node/*[Statut = "Regulateur"]
- EtablissementPublic: /node/*[Statut = "EtablissementPublic"]
- EntreprisePrivee: /node/*[Statut = "EntreprisePrivee"]
- GroupeInteret: /node/*[Statut = "GroupeInteret"]
- Media: /node/*[Statut = "Media"]
- Periodique: /node/*[typeDePublication = "Periodique"]
- Rapport: /node/*[typeDePublication = "Rapport"]
- Livre: /node/*[typeDePublication = "Livre"]
- Regulation: /node/*[typeDePublication = "Regulation"]
- Organisation: /node/*[TypeProjet = "Organisation"]
- Outils: /node/*[TypeProjet = "Outils"]
- Recherche: /node/*[TypeProjet = "Recherche"]
- Evenement: /node/*[Genre = "Evenement"]
- Centre: /node/*[TypeProjet = "Centre"]
- Centrale: /node/*[TypeProjet = "Centrale"]
- FermeUsine: /node/*[TypeProjet = "FermeUsine"]
- Links:
- Gouvernance: /link/*[typeLien = "Gouvernance"]
- Partenariat: /link/*[typeLien = "Partenariat"]
- Service: /link/*[typeLien = "Service"]
- Financement: /link/*[typeLien = "Financement"]
- Proche: /link/*[typeLien = "Proche"]
- Membre: /link/*[typeLien = "Membre"]
- Autre: /link/*[typeLien = "Autre"]
- AncienLien: /link/*[FinLien < "2017"]
nodeBaseRadius: 32
nodeMinRatio: 0.75
nodeMaxRatio: 2
linkStrengthRatio: 0.8
linkLengthMinRatio: 0.5
linkLengthMaxRatio: 2
confiner: false
zoom: {k: 1, x: 0, y: 0}
zoomMin: 0.2
zoomMax: 3
friction: 0.01
noCollisionForce: -1000
proximityWarningForce: -400
gazDispersionForce: -100
proximityWarningDistanceRatio: 2
gazDispersionMaxDistanceRatio: 5
# prévoir de pouvoir explorer aussi bien le graph filtré que le graph complet pour que les xpath qui viennent puissent se faire le graph complet ou affiché selon les besoins.
nodeSizingModes:
- nombreVoisins: count(/link/*[[target | source = '{id/text()}']])
- tailleId: string-length(id)
linkSizingModes:
- tailleNoeudsAssociés: count(/link/*[target | source = '{/node/*[id = '{source/text()}']/id/text()}']) + count(/link/*[target | source = '{/node/*[id = '{target/text()}']/id/text()}'])
- tailleId: string-length(id)
nodeSize: nombreVoisins
linkSize: tailleNoeudsAssociés