Обсуждение:Graphviz: различия между версиями

Материал из Поле цифровой дидактики
 
(не показано 35 промежуточных версий 3 участников)
Строка 1: Строка 1:
  subgraph cluster_1 {
    node [style=filled];
    b0 -> b1 -> b2 -> b3;
    label = "process #2";
    color=blue
  }
  start -> директор;
  start -> главный инженер;
  руководитель цеха 3 -> руководитель цеха 1;
  b2 -> a3;
  a3 -> a0;
  a3 -> end;
  b3 -> end;
  start [shape=Mdiamond];
  end [shape=Msquare];
}
== Представление задания ЕГЭ №13 по информатике с помощью Graphviz ==
<graphviz>
<graphviz>
digraph G1 {
digraph G1 {
node [fontsize="14", fontname="times", nodesep=2, shape="none", style=""] ;
А -> Б
rankdir=LR ;
А -> Г
size="10,10";
А -> Д
Б -> Г
Б -> В
Д -> Г
Д -> Ж
В -> З
В -> Е
Г -> В
Г -> Е
Г -> Ж
Е -> З
Е -> К
Е -> И
Е -> Ж
Е -> М
Ж -> И
З -> К
З -> Л
И -> М
К -> Л
К -> Н
К -> М
Л -> Н
М -> Н
}


Учитель -> Ученик  [label = "Руководит"] ;
</graphviz>
Ученик  -> Черепаха [label = "Руководит"] ;


== BiblioWork ==
<graphviz>
digraph B {
// layout = "sfdp" ;
rankdir=LR;
"Defining Quality  Assessment & Evaluation" -> "higher education"
"Definitions of quality in higher education:  A synthesis of the literature" -> "higher education"
"An Exploratory Use of the Stakeholder  Approach to Defining and Measuring Quality" -> "higher education"
"Developing quality criteria for application" -> "higher education"
"Multi-models of quality in education" -> education
"Competing on the Eight Dimensions of Quality" -> "higher education"
"Examination of the dimensions of quality in higher education" -> "higher education"
"Student perceptions of service quality in a UK university" -> "higher education"
"Internationalizing Quality Assurance in Higher Education" -> "higher education"
"Developing a Holistic Model for Quality in Higher Education" -> "higher education"
"Defining Quality  Assessment & Evaluation" -> "internal quality assurance"
"Definitions of quality in higher education: A synthesis of the literature" -> "internal quality assurance"
"Examination of the dimensions of quality in higher education" -> "service quality assurance"
"Student perceptions of service quality in a UK university" -> "service quality assurance"
"Defining Quality  Assessment & Evaluation" -> "quality history"
"Definitions of quality in higher education: A synthesis of the literature" -> "quality history"
"Developing a Holistic Model for Quality in Higher Education" -> "model development"
"Defining Quality  Assessment & Evaluation" -> "quality definition"
"Definitions of quality in higher education: A synthesis of the literature" -> "quality definition"
"An Exploratory Use of the Stakeholder  Approach to Defining and Measuring Quality" -> "quality definition"
"Developing quality criteria for application" -> "quality criteria"
"Multi-models of quality in education" -> "quality models"
"Competing on the Eight Dimensions of Quality" -> "quality dimensions"
"Examination of the dimensions of quality in higher education" -> "quality management"
"Student perceptions of service quality in a UK university"  -> "quality perception"
"Internationalizing Quality Assurance in Higher Education" -> "quality assurance"
"Developing a Holistic Model for Quality in Higher Education" -> "quality models"
"Definitions of quality in higher education: A synthesis of the literature" -> "modern quality interpretation"
"An Exploratory Use of the Stakeholder  Approach to Defining and Measuring Quality" -> "stakeholders"
"Internationalizing Quality Assurance in Higher Education" -> "internationalization"
"Developing a Holistic Model for Quality in Higher Education" -> "holistic model"
}
}
</graphviz>
</graphviz>
== Only themes ==


<graphviz>
<graphviz>
digraph group_learning {
digraph B {
rankdir=LR ;
rankdir=LR;  
node [fontsize="11", fontname="times", nodesep=2, shape="none", style=""] ;
 
size="10,10";
node[color="#2471A3",fontsize=14, fontcolor="white",style=filled, shape="box"] ;
  node [shape=box];
"Defining Quality  Assessment & Evaluation"
  start -> {planning implementation evaluation};
"Definitions of quality in higher education:  A synthesis of the literature"
  planning -> {set_goals identify_resources create_activities};
"An Exploratory Use of the Stakeholder  Approach to Defining and Measuring Quality"
  implementation -> {facilitate_activities monitor_progress assess_learning};
"Developing quality criteria for application"
  evaluation -> {reflect_on_process make_adjustments};
"Multi-models of quality in education"
"Competing on the Eight Dimensions of Quality"
"Examination of the dimensions of quality in higher education"
"Student perceptions of service quality in a UK university"
"Internationalizing Quality Assurance in Higher Education"
"Developing a Holistic Model for Quality in Higher Education"
 
 
}
}
</graphviz>
</graphviz>


== Примеры по химии ==
== only labels ==
 
<graphviz>
digraph t {
rankdir=LR;
 
node[color="LemonChiffon",fontsize=14, fontcolor="black",style=filled, shape="none"] ;
education
"higher education"
 
node[color="Azure",fontsize=14, fontcolor="black",style=filled, shape="none"] ;
"internal quality assurance"
"service quality assurance"
 
node[color="CornflowerBlue",fontsize=14, fontcolor="black",style=filled, shape="none"] ;
"quality history"
"model development"
 
node[color="Bisque",fontsize=14, fontcolor="black",style=filled, shape="none"] ;
"quality definition"
"quality criteria"
"quality dimensions"
"quality management"
"quality perception"
"quality assurance"
"quality models"
 
node[color="MediumSlateBlue",fontsize=14, fontcolor="black",style=filled, shape="none"] ;
"modern quality interpretation"
"stakeholders"
"internationalization"
"holistic model"
 
}
</graphviz>
 
== Full graph ==
 


Визуализация молекул: с помощью Graphviz можно создавать диаграммы, которые показывают структуру молекул. Для этого можно использовать язык DOT, который позволяет задавать связи между атомами и их координаты в трехмерном пространстве. Например, можно создать диаграмму молекулы воды следующим образом:


<graphviz>
<graphviz>
digraph water {
digraph B {
  O [shape=circle, label="O"]
// layout = "sfdp" ;
  H1 [shape=circle, label="H"]
rankdir=LR;
  H2 [shape=circle, label="H"]
 
  O -> H1
node[color="#2471A3",fontsize=14, fontcolor="white",style=filled, shape="box"] ;
  O -> H2
"Defining Quality  Assessment & Evaluation"
"Definitions of quality in higher education:  A synthesis of the literature"
"An Exploratory Use of the Stakeholder  Approach to Defining and Measuring Quality"
"Developing quality criteria for application"
"Multi-models of quality in education"
"Competing on the Eight Dimensions of Quality"
"Examination of the dimensions of quality in higher education"
"Student perceptions of service quality in a UK university"
"Internationalizing Quality Assurance in Higher Education"
"Developing a Holistic Model for Quality in Higher Education"
 
 
node[color="LemonChiffon",fontsize=14, fontcolor="black",style=filled, shape="none"] ;
education
"higher education"
 
node[color="Azure",fontsize=14, fontcolor="black",style=filled, shape="none"] ;
"internal quality assurance"
"service quality assurance"
 
node[color="CornflowerBlue",fontsize=14, fontcolor="black",style=filled, shape="none"] ;
"quality history"
"model development"
 
node[color="Bisque",fontsize=14, fontcolor="black",style=filled, shape="none"] ;
"quality definition"
"quality criteria"
"quality dimensions"
"quality management"
"quality perception"
"quality assurance"
"quality models"
 
node[color="MediumSlateBlue",fontsize=14, fontcolor="black",style=filled, shape="none"] ;
"modern quality interpretation"
"stakeholders"
"internationalization"
"holistic model"
 
 
 
"Defining Quality  Assessment & Evaluation" -> "higher education"
"Definitions of quality in higher education:  A synthesis of the literature" -> "higher education"
"An Exploratory Use of the Stakeholder  Approach to Defining and Measuring Quality" -> "higher education"
"Developing quality criteria for application" -> "higher education"
"Multi-models of quality in education" -> education
"Competing on the Eight Dimensions of Quality" -> "higher education"
"Examination of the dimensions of quality in higher education" -> "higher education"
"Student perceptions of service quality in a UK university" -> "higher education"
"Internationalizing Quality Assurance in Higher Education" -> "higher education"
"Developing a Holistic Model for Quality in Higher Education" -> "higher education"
"Defining Quality  Assessment & Evaluation" -> "internal quality assurance"
"Definitions of quality in higher education:  A synthesis of the literature" -> "internal quality assurance"
"Examination of the dimensions of quality in higher education" -> "service quality assurance"
"Student perceptions of service quality in a UK university" -> "service quality assurance"
"Defining Quality  Assessment & Evaluation" -> "quality history"
"Definitions of quality in higher education:  A synthesis of the literature"-> "quality history"
"Developing a Holistic Model for Quality in Higher Education" -> "model development"
"Defining Quality  Assessment & Evaluation" -> "quality definition"
"Definitions of quality in higher education:  A synthesis of the literature" -> "quality definition"
"An Exploratory Use of the Stakeholder  Approach to Defining and Measuring Quality" -> "quality definition"
"Developing quality criteria for application" -> "quality criteria"
"Multi-models of quality in education" -> "quality models"
"Competing on the Eight Dimensions of Quality" -> "quality dimensions"
"Examination of the dimensions of quality in higher education" -> "quality management"
"Student perceptions of service quality in a UK university"  -> "quality perception"
"Internationalizing Quality Assurance in Higher Education" -> "quality assurance"
"Developing a Holistic Model for Quality in Higher Education" -> "quality models"
"Definitions of quality in higher education:  A synthesis of the literature" -> "modern quality interpretation"
"An Exploratory Use of the Stakeholder  Approach to Defining and Measuring Quality" -> "stakeholders"
"Internationalizing Quality Assurance in Higher Education" -> "internationalization"
"Developing a Holistic Model for Quality in Higher Education" -> "holistic model"
}
}
</graphviz>
</graphviz>


Визуализация кристаллических структур: с помощью Graphviz можно создавать диаграммы, которые показывают кристаллические структуры материалов. Для этого можно использовать язык DOT, который позволяет задавать координаты атомов в кристаллической решетке. Например, можно создать диаграмму кристаллической структуры алмаза следующим образом:
== Data - fotball ==


<graphviz>
<graphviz>
graph diamond {
 
  node [shape=circle, fixedsize=true, width=0.5]
digraph G1 {
  edge [dir=none, color=gray]
layout = "neato" ;
  { rank=same; C1 -- C2 -- C3 -- C4 }
1 -> 300
  { rank=same; C5 -- C6 -- C7 -- C8 }
2 -> 380
  { rank=same; C9 -- C10 -- C11 -- C12 }
3 -> 292
  { rank=same; C13 -- C14 -- C15 -- C16 }
4 -> 306
  C1 -- C5 -- C9 -- C13 -- C1
5 -> 359
  C2 -- C6 -- C10 -- C14 -- C2
6 -> 251
  C3 -- C7 -- C11 -- C15 -- C3
7 -> 290
  C4 -- C8 -- C12 -- C16 -- C4
8 -> 242
  C1 -- C2 -- C3 -- C4 -- C1
9 -> 250
  C5 -- C6 -- C7 -- C8 -- C5
10 -> 356
  C9 -- C10 -- C11 -- C12 -- C9
11 -> 324
  C13 -- C14 -- C15 -- C16 -- C13
12 -> 390
13 -> 337
14 -> 366
15 -> 287
16 -> 262
17 -> 251
18 -> 252
19 -> 401
20 -> 357
21 -> 378
22 -> 296
23 -> 393
24 -> 282
25 -> 351
26 -> 347
27 -> 243
28 -> 320
29 -> 357
30 -> 372
31 -> 300
32 -> 301
33 -> 351
34 -> 301
35 -> 280
36 -> 389
37 -> 295
38 -> 234
39 -> 261
40 -> 335
41 -> 391
42 -> 396
43 -> 301
44 -> 250
45 -> 385
46 -> 352
47 -> 292
48 -> 396
49 -> 386
}
}
</graphviz>
</graphviz>


== Icons ==


Визуализация реакций: с помощью Graphviz можно создавать диаграммы, которые показывают ход химических реакций. Для этого можно использовать язык DOT, который позволяет задавать реакционные схемы в виде графов. Например, можно создать диаграмму реакции между метаном и кислородом следующим образом:
<graphviz>
digraph W {
  layout = "neato";
  node[fontsize="10", fontcolor="blue", nodesep=2, shape="none", style=""] ;
  size="10,10" ;
  edge [arrowhead=normal, arrowsize=0.4,len=2.5];
 
"User:Кашкина Т.Г." [tooltip="Кашкина Т.Г."] ;
"User:Кашкина Т.Г." [label ="", shape="box" ];


<graphviz>
digraph reaction {
  CH4 [shape=circle, label="CH4"]
  O2 [shape=circle, label="O2"]
  CO2 [shape=circle, label="CO2"]
  H2O [shape=circle, label="H2O"]
  CH4 -> CO2
  CH4 -> H2O
  O2 -> CO2
  O2 -> H2O
}
}
</graphviz>
</graphviz>

Текущая версия на 20:57, 15 декабря 2023

 subgraph cluster_1 {
   node [style=filled];
   b0 -> b1 -> b2 -> b3;
   label = "process #2";
   color=blue
 }
 start -> директор;
 start -> главный инженер;
 руководитель цеха 3 -> руководитель цеха 1;
 b2 -> a3;
 a3 -> a0;
 a3 -> end;
 b3 -> end;
 start [shape=Mdiamond];
 end [shape=Msquare];

}

Представление задания ЕГЭ №13 по информатике с помощью Graphviz

BiblioWork

Only themes

only labels

Full graph

Data - fotball

Icons