aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/docs/src/pages/index.tsx
blob: 7caf5727c93c3239ee7319a60e53e02e2b3091be (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
/*
 * SPDX-FileCopyrightText: 2024 The Refinery Authors
 *
 * SPDX-License-Identifier: EPL-2.0
 */

import Link from '@docusaurus/Link';
import Layout from '@theme/Layout';
import clsx from 'clsx';
import { useState } from 'react';

import styles from './index.module.css';
import videoCover from './video-cover.webp?url';

import Features from '@site/src/components/Features';

function Hero() {
  return (
    <header className={clsx('hero', 'hero--dark', styles['hero'])}>
      <div className="container">
        <h1 className="hero__title">Refinery</h1>
        <p className="hero__subtitle">
          An efficient graph solver for generating well-formed models
        </p>
        <div className={styles['buttons']}>
          <Link
            href="https://refinery.services/"
            className={clsx(
              'button',
              'button--lg',
              'button--primary',
              styles['button'],
            )}
          >
            Try online
          </Link>
          <Link
            to="/learn/docker"
            className={clsx(
              'button',
              'button--lg',
              'button--secondary',
              styles['button'],
            )}
          >
            Try in Docker
          </Link>
          <Link
            to="/learn/tutorials/file-system"
            className={clsx(
              'button',
              'button--lg',
              'button--secondary',
              styles['button'],
            )}
          >
            Tutorial
          </Link>
        </div>
      </div>
    </header>
  );
}

function Video() {
  const [started, setStarted] = useState(false);
  return (
    <section className={clsx(styles['section'], styles['section--video'])}>
      <h2 className="sr-only">Check out the intro video</h2>
      <div className="container">
        <div className={styles['video__container']}>
          {started ? (
            <iframe
              width="560"
              height="315"
              src="https://www.youtube-nocookie.com/embed/Qy_3udNsWsM?autoplay=1"
              title="YouTube video player"
              frameBorder="0"
              allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
              referrerPolicy="strict-origin-when-cross-origin"
              allowFullScreen
              className={styles['video']}
            />
          ) : (
            <button
              type="button"
              title="Play video (requires acceping cookies from YouTube)"
              onClick={() => setStarted(true)}
              className={styles['video__button']}
            >
              <h2>Modeling with Graphs</h2>
              <p>
                Graph based models are widely used in software engineering for
                systems models, the analysis of data structures, databases, and
                AI test environments.
              </p>
              <p>
                Testing, benchmarking or design-space exploration scnearios rely
                on the automated generation of consistent models!
              </p>
              <img src={videoCover} alt="" className={styles['video__cover']} />
              <div className={styles['video__play']} />
            </button>
          )}
        </div>
      </div>
    </section>
  );
}

function Publication({
  doi,
  pdf,
  video,
  children,
}: {
  doi?: string;
  pdf?: string;
  video?: string;
  children?: React.ReactNode;
}) {
  return (
    <li>
      {children}
      {doi && (
        <>
          {' '}
          [<Link href={`https://doi.org/${doi}`}>doi</Link>]
        </>
      )}
      {pdf && (
        <>
          {' '}
          [<Link href={pdf}>pdf</Link>]
        </>
      )}
      {video && (
        <>
          {' '}
          [<Link href={video}>video</Link>]
        </>
      )}
    </li>
  );
}

Publication.defaultProps = {
  doi: undefined,
  pdf: undefined,
  video: undefined,
  children: undefined,
};

function Publications() {
  return (
    <div className={styles['section']}>
      <div className="container">
        <h2 className={styles['section__title']}>Related publications</h2>
        <div className="row">
          <div className="col col--6">
            <h3>Tool demonstration</h3>
            <ul>
              <Publication
                doi="10.1145/3639478.3640045"
                pdf="pathname:///papers/icse24-demo.pdf"
                video="https://youtu.be/Qy_3udNsWsM"
              >
                K. Marussy, A. Ficsor, O. Semeráth, D. Varró: &ldquo;Refinery:
                Graph Solver as a Service&rdquo;{' '}
                <em>ICSE 2024 Demonstrations</em>
              </Publication>
            </ul>
            <h3>Partial model specification language</h3>
            <ul>
              <Publication
                doi="10.5381/jot.2020.19.3.a12"
                pdf="https://www.jot.fm/issues/issue_2020_03/article12.pdf"
                video="https://www.youtube.com/watch?v=ggTbv_s5t2A"
              >
                K. Marussy, O. Semeráth, A. Babikian, D. Varró:{' '}
                <em>
                  A Specification Language for Consistent Model Generation based
                  on Partial Models.
                </em>{' '}
                J. Object Technol. <b>19</b>(3): 3:1-22 (2020)
              </Publication>
            </ul>
            <h3>Diverse and realistic graph generation</h3>
            <ul>
              <Publication
                doi="10.1007/s10009-019-00530-6"
                pdf="https://link.springer.com/content/pdf/10.1007/s10009-019-00530-6.pdf?pdf=button"
              >
                O. Semeráth, R. Farkas, G. Bergmann, D. Varró:{' '}
                <em>
                  Diversity of graph models and graph generators in mutation
                  testing.
                </em>{' '}
                Int. J. Softw. Tools Technol. Transf. <b>22</b>(1): 57-78 (2020)
              </Publication>
              <Publication
                doi="10.1007/s10270-021-00884-z"
                pdf="https://link.springer.com/content/pdf/10.1007/s10270-021-00884-z.pdf?pdf=button"
              >
                O. Semeráth, A. Babikian, B. Chen, C. Li, K. Marussy, G.
                Szárnyas, D. Varró:{' '}
                <em>
                  Automated generation of consistent, diverse and structurally
                  realistic graph models.
                </em>{' '}
                Softw. Syst. Model. <b>20</b>(5): 1713-1734 (2021)
              </Publication>
            </ul>
          </div>
          <div className="col col--6">
            <h3>Consistent graph generation techniques</h3>
            <ul>
              <Publication
                doi="10.1145/3180155.3180186"
                pdf="https://dl.acm.org/doi/pdf/10.1145/3180155.3180186"
              >
                O. Semeráth, A. Nagy, D. Varró: &ldquo;A graph solver for the
                automated generation of consistent domain-specific
                models.&rdquo; <em>ICSE 2018:</em> 969-980
              </Publication>
              <Publication
                doi="10.1109/TSE.2020.3025732"
                pdf="https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=9201551"
              >
                K. Marussy, O. Semeráth, D. Varró:{' '}
                <em>
                  Automated Generation of Consistent Graph Models With
                  Multiplicity Reasoning.
                </em>{' '}
                IEEE Trans. Softw. Eng. <b>48</b>(5): 1610-1629 (2022)
              </Publication>
              <Publication
                doi="10.1007/s10270-021-00918-6"
                pdf="https://link.springer.com/content/pdf/10.1007/s10270-021-00918-6.pdf?pdf=button"
              >
                A. Babikian, O. Semeráth, A. Li, K. Marussy, D. Varró:{' '}
                <em>
                  Automated generation of consistent models using qualitative
                  abstractions and exploration strategies.
                </em>{' '}
                Softw. Syst. Model. <b>21</b>(5): 1763-1787 (2022)
              </Publication>
            </ul>
            <h3>Correctness proofs</h3>
            <ul>
              <Publication
                doi="10.1007/978-3-319-75396-6_16"
                pdf="https://inf.mit.bme.hu/sites/default/files/publications/fmhe-model-generation.pdf"
              >
                D. Varró, O. Semeráth, G. Szárnyas, Á. Horváth: &ldquo;Towards
                the Automated Generation of Consistent, Diverse, Scalable and
                Realistic Graph Models.&rdquo;{' '}
                <em>Graph Transformation, Specifications, and Nets</em> 2018:
                285-312
              </Publication>
            </ul>
          </div>
        </div>
      </div>
    </div>
  );
}

export default function Home() {
  return (
    <Layout>
      <Hero />
      <div className={styles['section']}>
        <Features />
      </div>
      <Video />
      <Publications />
    </Layout>
  );
}